[ITK Community] [Insight-users] export2RTSTRUCT
panos
korfiatisp at gmail.com
Mon Dec 16 11:01:02 EST 2013
Hi Matt,
Thank you for your suggestion.
It solved my problem.
However, now I am facing a gdcm related error.
I am getting the following output:
[ 33%] Building CXX object CMakeFiles/export2RTSTRUCT.dir/export2RTSTRUCT.o
In file included from
/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/export2RTSTRUCT.cxx:8:
/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/code_IO/itkRTSTRUCTIO.h:28:26:
error: gdcmSeqEntry.h: No such file or directory
In file included from
/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/export2RTSTRUCT.cxx:8:
/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/code_IO/itkRTSTRUCTIO.h:231:
error: ‘gdcm’ has not been declared
/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/code_IO/itkRTSTRUCTIO.h:231:
error: expected ‘,’ or ‘...’ before ‘*’ token
make[2]: *** [CMakeFiles/export2RTSTRUCT.dir/export2RTSTRUCT.o] Error 1
make[1]: *** [CMakeFiles/export2RTSTRUCT.dir/all] Error 2
make: *** [all] Error 2
My CMakeLists.txt file is the following
#=========================================================
# This project is designed to export the contours to RTSTRUCT.
#INCLUDE_DIRECTORIES("code_IO"
"/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/gdcm/build/bin"
"/research/SWExternal/ROItoDICOMRT/Code/RTSTRUCT/gdcm/build/include/gdcm")
INCLUDE_DIRECTORIES("code_IO")
PROJECT(Export2RTSTRUCT)
# Find ITK Library
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR
"Cannot build without ITK. Please set ITK_DIR.")
ENDIF(ITK_FOUND)
#ADD_EXECUTABLE(export2RTSTRUCT export2RTSTRUCT.cxx )
ADD_EXECUTABLE(export2RTSTRUCT export2RTSTRUCT.cxx code_IO/itkRTSTRUCTIO.cxx
code_IO/itkRTSTRUCTIOFactory.cxx )
TARGET_LINK_LIBRARIES(export2RTSTRUCT ${ITK_LIBRARIES})
#=========================================================
Thank you
Panagiotis
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/export2RTSTRUCT-tp7584559p7584617.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list