[Insight-users] InsightApplications / QtItk problem
Sickboy
sickboy at 9elements.com
Tue Sep 28 06:20:31 EDT 2004
Hi Luis,
the examples works fine if i delete following condition inside the
CMakeLists.txt:
IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
ENDIF(BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
Can you explain me where this setting will be normally set true?
thanks
Stefan
Luis Ibanez wrote:
>/
/>/
/>/ Hi Stefan,
/>/
/>/
/>/ 0) The current errors that you get indicate that you quited
/>/ ccmake without correctly completing the configuration.
/>/
/>/ 1) *NEVER* modifiy a Makefile that has been generated with
/>/ CMake, you will lose any modifications at the next ocasion
/>/ you run cmake. If you have something to change, the change
/>/ must be made in the CmakeLists.txt file from which that
/>/ Makefile was generated.
/>/
/>/ 2) The QtITK project is not build by default when you
/>/ configure InsightApplications. This particular project
/>/ is considered to be an advanced application and it
/>/ must be configured independently.
/>/
/>/ 3) You *shouldn't* add the "-I directory" as an INCLUDE_FLAG.
/>/ The CMakeLists.txt file of this application already
/>/ have the "QT_INCLUDE_DIR" variable inside the
/>/ INCLUDE_DIRECTORIES command.
/>/
/>/ What you should do is to run ccmake, go to the advanced
/>/ settings and make sure that you provide the correct
/>/ directories and full paths for
/>/
/>/ - QT_INCLUDE_DIR
/>/ - QT_MOC_EXECUTABLE
/>/ - QT_UIC_EXECUTABLE
/>/ - QT_QT_LIBRARY
/>/
/>/
/>/ Regards,
/>/
/>/
/>/ Luis
/>/
/>/
/>/ --------------------------
/>/ Stefan Langhammer wrote:
/>/
/>>/ Hi,
/>>/
/>>/ i got problems compiling itk-applications / QtItk example.
/>>/ These are the steps i´ve done:
/>>/ - "ccmake ." to configure itk-applications.
/>>/ - "make" which compiles *some *examples but not the QtItk one.
/>>/ compiled examples worked.
/>>/ - "ccmake ." inside the QtItk folder.
/>>/ - "make" inside the QtItk folder which result alot of include error
/>>/ messages.
/>>/
/>>/ Then i´ve checked the Makefile and recognized that the missing
/>>/ include files messages were caused
/>>/ by missing folders at following line:
/>>/
/>>/ INCLUDE_FLAGS = -I/usr/lib/qt3/include
/>>/
/>>/ So i added all missing folders till i get a new error message, called:
/>>/ /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
/>>/ cannot find -lITKIO
/>>/ collect2: ld returned 1 exit status
/>>/
/>>/ How can get it to work ?
/>>/
/>>/ thx
/>>/ daSickboy
/>>/
/>>/ System:
/>>/ Suse 8.2
/>>/ gcc, c++ 3.3
/>>/ Qt 3.1.1
/>>/
/>>/ ITK 1.8.1
/>>/ CMake 2.0.3
/>>/ ITK Applications 1.8.0
/>>/ _______________________________________________
/>>/ Insight-users mailing list
/>>/ Insight-users at itk.org <http://www.itk.org/mailman/listinfo/insight-users>
/>>/ http://www.itk.org/mailman/listinfo/insight-users
/>>/
/>>/
/>/
/>/
/>/
/>/
/>/
/>
More information about the Insight-users
mailing list