Hi All,
I am having quite a tough time adding new features to dcmtk..
I am using the ti application. I want to add FLTK (GUI Toolkit) on top of it
for Q/R ..
Well i tried to add the following peice of code to CMake lists.tx in imagectn/apps
********************
INCLUDE(${CMAKE_ROOT}/Modules/FindFLTK.cmake)
IF(HAS_FLTK)
INCLUDE_DIRECTORIES(
${FLTK_INCLUDE_DIR}
)
LINK_LIBRARIES(
${FLTK_LIBRARIES}
)
IF(CYGWIN)
LINK_LIBRARIES( ole32 uuid comctl32 wsock32 supc++ -lm -lgdi32)
ENDIF(CYGWIN)
ENDIF(HAS_FLTK)
INCLUDE_DIRECTORIES(
${Dcmtk_SOURCE_DIR}
${Dcmtk_BINARY_DIR}
)
SET( Dcmtk_GUI_SRCS
dcmtkui.fl
prefsui.fl
)
IF(FLTK_WRAP_UI)
FLTK_WRAP_UI(dcmtk ${Dcmtk_GUI_SRCS})
ENDIF(FLTK_WRAP_UI)
SET(Dcmtk_SRCS
cnf cnfexnt cnfpriv ti tinet tiquery tiui
)
ADD_EXECUTABLE( dcmtk ${Dcmtk_SRCS} )
*************************************
After that , tupe cmake . on the command line.It will ask me to choose the fltk base libraray.
After i have done that , i compile and generate the cmake file.
Then when i type make..
It does not generate the executable but gives errors saying that header files are not found....
any suggestions.
Dhaval
Errors after making changes in CMakeLists.txt
Moderator: Moderator Team
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest