On 9/11/09 4:24 PM, Boudewijn Rempt said: >I'm getting weird linking errors after I upgraded to Snow Leopard. I'm using >the CVS version of cmake. If I have the MACOSX_BUNDLE flag in ADD_EXECUTABLE, >there are lots of weird visiblity errors like: >nking CXX executable HyvesDesktop.app/Contents/MacOS/HyvesDesktop >/usr/local/bin/cmake -E cmake_link_script CMakeFiles/HyvesDesktop.dir/ >link.txt --verbose=1 >/usr/bin/c++ -mmacosx-version-min=10.6 -Wall -arch i386 -fPIC - >fvisibility=hidden -fvisibility-inlines-hidden -Wl,-search_paths_first - >headerpad_max_install_names -fPIC CMakeFiles/HyvesDesktop.dir/ >HyvesDesktop_automoc.cpp.o CMakeFiles/HyvesDesktop.dir/src/main.cpp.o >CMakeFiles/HyvesDesktop.dir/qrc_HyvesDesktop.cxx.o -o HyvesDesktop.app/ >Contents/MacOS/HyvesDesktop >Undefined symbols: > "CrashHandler::CrashHandler::~CrashHandler()", referenced from: > _main in main.cpp.o > _main in main.cpp.o > "QString::free(QString::Data*)", referenced from: > QString::~QString()in main.cpp.o > "Updater::Updater::instance()", referenced from: > _main in main.cpp.o
Are all those symbols from some library/framework you are linking against? Qt I assume? Was Qt built with the same compiler and deployment target as your app? -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
