From 4978dd66554aafb749fed4b2fb7887b307795920 Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 25 Apr 2005 14:35:21 +0000 Subject: [PATCH] Prefixing filename by GDCM_DATA_ROOT should avoid serious troubles --- Testing/TestMakeIcon.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Testing/TestMakeIcon.cxx b/Testing/TestMakeIcon.cxx index 758016bd..1efc44e4 100644 --- a/Testing/TestMakeIcon.cxx +++ b/Testing/TestMakeIcon.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestMakeIcon.cxx,v $ Language: C++ - Date: $Date: 2005/03/02 16:39:28 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/04/25 14:35:21 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -30,8 +30,11 @@ int TestMakeIcon (int argc, char *argv[]) { // hard coded small image name - std::string input = "LIBIDO-8-ACR_NEMA-Lena_128_128.acr"; - std::string output = "test.dcm"; + std::string input = GDCM_DATA_ROOT; + input += "/"; + input += "LIBIDO-8-ACR_NEMA-Lena_128_128.acr"; + + std::string output = "testIcon.dcm"; gdcm::Debug::DebugOn(); -- 2.48.1