[CMake] ld: library not found for -lcrt1.10.5.o
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Aug 13 03:46:38 EDT 2008
Hi there,
One of my user is getting the following while compiling the wxVTK
project (using cmake):
mccdo:build mccdo$ make
[ 10%] Building CXX object
CMakeFiles/wxImagePlaneWidget.dir/Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/wxVTK/src/wxVTKRenderWindowInteractor.cxx.o
Linking CXX executable
/Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/build/wxImagePlaneWidget.app/Contents/MacOS/wxImagePlaneWidget
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
make[2]: *** [/Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/build/wxImagePlaneWidget.app/Contents/MacOS/wxImagePlaneWidget]
Error 1
make[1]: *** [CMakeFiles/wxImagePlaneWidget.dir/all] Error 2
make: *** [all] Error 2
mccdo:build mccdo$
I found a couple of posts on the net, but I am not sure which one is
the most appropriate:
1. The softlink solution:
http://lists.berlios.de/pipermail/canorus-devel/2008-January/000483.html
2. path issue
http://steel-wheels-project.blogspot.com/2008/02/build-doxygen-on-mac-os-x-1051-leopard.html
3. the -mmacosx-version-min solution...
http://lists.apple.com/archives/Xcode-users/2007/Oct/msg00696.html
Thanks !
--
Mathieu
More information about the CMake
mailing list