Hi,<br><br>I am using InsightToolkit-3.2.0, InsightApplications-3.0.0 and fltk-1.1.7.<br>I've created a user interface using fltk and GLSliceView.h<br><br>When I compile it, I get the following error : <br>RadioactivImagesTool error LNK2019: unresolved external symbol "int __cdecl ifuShowText(char const *)" (?ifuShowText@@
YAHPBD@Z) referenced in function "public: virtual int __thiscall itk::SliceView<unsigned short>::handle(int)" (?handle@?$SliceView@G@itk@@UAEHH@Z)<br><br>Any ideas ?<br>Thanks<br>Delphine<br><br>This is the CMakelists :
<br>#############################################<br># PROJECT: RadioactivImagesTool #<br>#############################################<br>PROJECT(RadioactivImagesTool)<br><br>#####################################
<br># FIND PACKAGES IF BUILDING OUTSIDE #<br>#####################################<br><br>INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)<br>IF(USE_ITK_FILE)<br> INCLUDE(${USE_ITK_FILE})<br>ENDIF(USE_ITK_FILE)<br><br>INCLUDE (${CMAKE_ROOT}/Modules/FindOpenGL.cmake)
<br>INCLUDE (${CMAKE_ROOT}/Modules/FindGLU.cmake)<br><br>FIND_PACKAGE(FLTK)<br> IF(FLTK_FOUND)<br> INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<br>ENDIF(FLTK_FOUND)<br><br><br>INCLUDE (${RadioactivImagesTool_SOURCE_DIR}/FindInsightApplications.cmake)
<br><br>INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake)<br> IF(HAS_FLTK)<br><br><br>#############################################<br># SOURCE FILE SPECIFICATION #<br>#############################################
<br><br><br>SET(LOGIC_CXX<br> main.cxx<br> RadioactivImagesToolActionMainWindowGUI.cxx<br> RadioactivImagesToolActionRegistrationToolBoxGUI.cxx<br> RadioactivImagesToolActionMainMenuGUI.cxx<br> ActionBase.cxx
<br>)<br><br># The headers for the Logic code<br>SET(LOGIC_HEADERS <br> RadioactivImagesToolActionGUI.h<br> RadioactivimagesTool_GUI.h<br> ActionBase.h<br>)<br><br># The FL files for Tool<br>SET(MAIN_GUI_SRCS
<br> RadioactivImagesTool_GUI.fld<br>)<br><br>#############################################<br># LIBRARIES AND EXTERNAL CODE #<br>#############################################<br><br> # Include directories
<br> INCLUDE_DIRECTORIES (<br> ${InsightApplications_SOURCE_DIR}/Auxiliary/FltkImageViewer<br> ${FLTK_INCLUDE_PATH}<br> ${OPENGL_INCLUDE_PATH}<br> ${FLTK_INCLUDE_DIR}/src<br> )<br><br> LINK_DIRECTORIES(
<br> ${InsightApplications_BINARY_DIR}/Auxiliary/FltkImageViewer<br> ${FLTK_DIR}/bin<br> ${FLTK_DIR}/lib<br> )<br> <br><br> FLTK_WRAP_UI( RadioactivImagesTool ${MAIN_GUI_SRCS} )<br><br> ADD_EXECUTABLE( RadioactivImagesTool ${LOGIC_CXX} ${LOGIC_HEADERS} ${RadioactivImagesTool_FLTK_UI_SRCS})
<br> <br> TARGET_LINK_LIBRARIES( RadioactivImagesTool<br> ${ITK_LIBRARIES}<br> ${VTK_LIBRARIES}<br> ${OPENGL_LIBRARY}<br> ${FltkImageViewer}<br> ${FLTK_LIBRARY}<br> )<br><br><br> ENDIF(HAS_FLTK)
<br>ENDIF(USE_FLTK)<br><br><br>