Hi,<br>
<br>
I have a problem when building the provided qtITK example. Namely, I receive the message<br>
<br>
CMake Error: can not find file /local/ghighi/code/workshop/itkqt/QtITK_SRCS<br>
<br>
when running ccmake .<br>
<br>
Here is my CMakeLists.txt file:<br>
<br>
--<br>
PROJECT(QtITKExample)<br>
<br>
IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )<br>
<br>
FIND_PACKAGE(ITK)<br>
IF(ITK_FOUND)<br>
INCLUDE(${ITK_USE_FILE})<br>
ELSE(ITK_FOUND)<br>
MESSAGE(FATAL_ERROR<br>
"Cannot build InsightApplications without ITK. Please set
ITK_DIR.")<br>
ENDIF(ITK_FOUND)<br>
<br>
ENDIF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )<br>
<br>
#<br>
# Find QT<br>
#<br>
INCLUDE (${CMAKE_ROOT}/Modules/FindQt.cmake)<br>
<br>
INCLUDE_DIRECTORIES(<br>
${QT_INCLUDE_DIR}<br>
${QT_INCLUDE_PATH}<br>
)<br>
<br>
LINK_LIBRARIES (<br>
ITKIO<br>
${QT_QT_LIBRARY}<br>
)<br>
<br>
SET(QtITK_SRCS<br>
itkQtProgressBar.cxx<br>
qtITK.cxx<br>
)<br>
<br>
SET(QtITK_MOC_SRCS <br>
itkQtAdaptor.h<br>
itkQtLightIndicator.h<br>
)<br>
<br>
#IF(QT_WRAP_CPP)<br>
QT_WRAP_CPP(QtITK QtITK_SRCS QtITK_MOC_SRCS)<br>
#ENDIF(QT_WRAP_CPP)<br>
<br>
<br>
ADD_EXECUTABLE(QtITK QtITK_SRCS)<br>
<br>
#INSTALL_TARGETS(/bin QtITK)<br>
<br>
<br>
--<br clear="all"><br>
I am using <br>
ccmake version 2.2-patch 2<br>
<br>
Thanks,<br>-- <br>Gheorghe <br>
<br>
<br>