View Issue Details

IDProjectCategoryView StatusLast Update
0001330Slicer4Core: Building (CMake, Superbuild)public2012-08-21 11:31
Reporterdmwelch Assigned Tojcfr  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformMac OS XOSSnow LeopardOS Version10.6.7
Product VersionSlicer 4.0 beta 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.0 
Summary0001330: QT_QTUITOOLS_INCLUDE_DIR doesn't persist in CMakeCache files
Description

Building the Slicer Superbuild with ITKv4 I get the following errors after setting values in CMake terminal interface:


Only QT_QMAKE_EXECUTABLE=/usr/bin/qmake-4.7 ---->


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTUITOOLS_INCLUDE_DIR (ADVANCED)
used as include directory in directory /raid0/homes/dmwelch/myapps/Slicer


Setting both QT_QMAKE_EXECUTABLE & QT_QTUITOOLS_INCLUDE_DIR=/usr/include/QtUITools/ ---->


HEAD is now at 3171a94... COMP: Exclude com_trolltech_qt_network1. from the build
HEAD is now at 3171a94... COMP: Exclude com_trolltech_qt_network1.
from the build
/usr/bin/ranlib: file: bin/libLog4Qt.a(log4qt.cpp.o) has no symbols
/usr/bin/ranlib: file: bin/libLog4Qt.a(logobjectptr.cpp.o) has no symbols
/usr/bin/ranlib: file: bin/libLog4Qt.a(log4qt.cpp.o) has no symbols
/usr/bin/ranlib: file: bin/libLog4Qt.a(logobjectptr.cpp.o) has no symbols
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTUITOOLS_INCLUDE_DIR (ADVANCED)
used as include directory in directory /raid0/homes/dmwelch/myapps/buildSlicer/CTK-build/PythonQt

make[5]: [PythonQt-cmake/src/PythonQt-stamp/PythonQt-configure] Error 1
make[5]: Target `CMakeFiles/PythonQt.dir/build' not remade because of errors.
make[4]:
[CMakeFiles/PythonQt.dir/all] Error 2
Note: checking out 'origin/patched'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at d91b49e... Merge pull request 0000006 from ivmartel/patched
HEAD is now at d91b49e... Merge pull request 0000006 from ivmartel/patched
/usr/bin/ranlib: file: ../../bin/libdcmtls.a(tlsscu.cc.o) has no symbols
/usr/bin/ranlib: file: ../../bin/libdcmtls.a(tlsscu.cc.o) has no symbols
/usr/bin/ranlib: file: ../../bin/liboflog.a(syslogap.cc.o) has no symbols
/usr/bin/ranlib: file: ../../bin/liboflog.a(threads.cc.o) has no symbols
/usr/bin/ranlib: file: ../../bin/liboflog.a(syslogap.cc.o) has no symbols
/usr/bin/ranlib: file: ../../bin/liboflog.a(threads.cc.o) has no symbols
/usr/bin/ranlib: file: /raid0/homes/dmwelch/myapps/buildSlicer/CTK-build/CMakeExternals/Install/lib/liboflog.a(syslogap.cc.o) has no symbols
/usr/bin/ranlib: file: /raid0/homes/dmwelch/myapps/buildSlicer/CTK-build/CMakeExternals/Install/lib/liboflog.a(threads.cc.o) has no symbols
/usr/bin/ranlib: file: /raid0/homes/dmwelch/myapps/buildSlicer/CTK-build/CMakeExternals/Install/lib/libdcmtls.a(tlsscu.cc.o) has no symbols
make[4]: Target all' not remade because of errors. make[3]: *** [all] Error 2 make[3]: Targetdefault_target' not remade because of errors.
make[2]: [CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[2]: Target `CMakeFiles/CTK.dir/build' not remade because of errors.
make[1]:
[CMakeFiles/CTK.dir/all] Error 2
make[1]: Target all' not remade because of errors. make: *** [all] Error 2 make: Targetdefault_target' not remade because of errors.


I went into the CMakeCache.txt files for all the projects at that point and both VTK & CTK did NOT have the QtUiTools path set (though only CTK threw the error).
If I set these values from the terminal command line, the build completes without errors.


Steps To Reproduce

In terminal:

$ CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 ccmake ../Slicer -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DSlicer_BUILD_WITH_ITKv4:BOOL=ON
$ make -j2 -k; make -j2 -k; make

Additional Information

This works:

$ CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 ccmake ../Slicer -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DSlicer_BUILD_WITH_ITKv4:BOOL=ON
-DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin/qmake-4.7 -DQT_QTUITOOLS_INCLUDE_DIR:PATH=/usr/include/QtUiTools
$ make -j2 -k; make -j2 -k; make

TagsNo tags attached.

Relationships

related to 0001275 closedjcfr Problem building on Mac concerning Qt Ui Tools 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-08-11 11:31 dmwelch New Issue
2011-08-15 06:22 finetjul Status new => assigned
2011-08-15 06:22 finetjul Assigned To => jcfr
2011-08-25 09:30 finetjul Relationship added related to 0001275
2011-10-04 17:26 jcfr Status assigned => closed
2011-10-04 17:26 jcfr Resolution open => fixed
2012-08-21 11:31 jcfr Fixed in Version => Slicer 4.0.0
2012-08-21 11:31 jcfr Target Version => Slicer 4.0.0