View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013991 | CMake | CMake | public | 2013-03-07 23:29 | 2013-10-07 10:03 | ||||
Reporter | Matthew Lund | ||||||||
Assigned To | |||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Mac | OS | Mountain Lion | OS Version | 10.8.2 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013991: QTXML Library Not Found | ||||||||
Description | When compiling Cadmesh using CMake, every time the library Qtxml cannot be found during make. Scanning dependencies of target cadmesh [100%] Building CXX object CMakeFiles/cadmesh.dir/src/CADMesh.cc.o Linking CXX shared library libcadmesh.dylib ld: library not found for -lQtXml clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libcadmesh.dylib] Error 1 make[1]: *** [CMakeFiles/cadmesh.dir/all] Error 2 make: *** [all] Error 2 Found a similar issue 0013765, trying adding the sample program, same issue, but I was able to resolve adding the -F /Library/Frameworks to the linker command, but it still won't work with Cadmesh. I can successfully compile Cadmesh on linux with Cmake 2.8.10 | ||||||||
Steps To Reproduce | Every time when running make for cadmesh. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032535) Brad King (manager) 2013-03-08 07:54 |
This is a bug in cadmesh. It hard-codes the "QtXml" library instead of using the find_package result. Patch: -target_link_libraries(cadmesh ${TETGEN_TARGET} ${VCGLIB_TARGET} QtXml) +target_link_libraries(cadmesh ${TETGEN_TARGET} ${VCGLIB_TARGET} ${QT_LIBRARIES}) OR: -target_link_libraries(cadmesh ${TETGEN_TARGET} ${VCGLIB_TARGET} QtXml) +target_link_libraries(cadmesh ${TETGEN_TARGET} ${VCGLIB_TARGET} ${QT_QTXML_LIBRARIES}) |
(0033982) Robert Maynard (manager) 2013-10-07 10:03 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-03-07 23:29 | Matthew Lund | New Issue | |
2013-03-08 07:54 | Brad King | Note Added: 0032535 | |
2013-03-08 07:54 | Brad King | Status | new => resolved |
2013-03-08 07:54 | Brad King | Resolution | open => no change required |
2013-10-07 10:03 | Robert Maynard | Note Added: 0033982 | |
2013-10-07 10:03 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |