Hi, On Mon, Nov 5, 2012 at 5:47 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > On 11/5/2012 8:31 PM, Matthew Brett wrote: >> >> Is there something else I can do to find out where the problem is? > > make VERBOSE=1 with both and see what the difference is with the link lines.
Thanks for the hint. Output of 2.8.10 command causing error: Linking CXX executable shiboken cd /Users/mb312/tmp/shib-tmp2/generator && "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/shiboken.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -fvisibility=hidden -Wno-strict-aliasing -O3 -DNDEBUG -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/shiboken.dir/generator.cpp.o CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o CMakeFiles/shiboken.dir/main.cpp.o -o shiboken ../ApiExtractor/libapiextractor.a -framework QtCore -framework QtXml -framework QtXmlPatterns -framework QtXml ld: framework not found QtCore collect2: ld returned 1 exit status make[2]: *** [generator/shiboken] Error 1 make[1]: *** [generator/CMakeFiles/shiboken.dir/all] Error 2 make: *** [all] Error 2 Output of same command in 2.8.9: Linking CXX executable shiboken cd /Users/mb312/tmp/shib-tmp2/generator && "/Applications/CMake 2.8-9.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/shiboken.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -fvisibility=hidden -Wno-strict-aliasing -O3 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/shiboken.dir/generator.cpp.o CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o CMakeFiles/shiboken.dir/main.cpp.o -o shiboken ../ApiExtractor/libapiextractor.a -framework QtCore -framework QtXml -framework QtXmlPatterns -framework QtXml ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(abstractmetalang.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(typesystem.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::operator=(char const*)has different visibility (default) in ../ApiExtractor/libapiextractor.a(typesystem.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(abstractmetabuilder.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o Running the 2.8.10 line above with 2.8.9 gives no error. cd /Users/mb312/tmp/shib-tmp2/generator && "/Applications/CMake 2.8-9.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/shiboken.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -fvisibility=hidden -Wno-strict-aliasing -O3 -DNDEBUG -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/shiboken.dir/generator.cpp.o CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o CMakeFiles/shiboken.dir/main.cpp.o -o shiboken ../ApiExtractor/libapiextractor.a -framework QtCore -framework QtXml -framework QtXmlPatterns -framework QtXml ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(abstractmetalang.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(typesystem.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::operator=(char const*)has different visibility (default) in ../ApiExtractor/libapiextractor.a(typesystem.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o ld: warning: QString::~QString()has different visibility (default) in ../ApiExtractor/libapiextractor.a(abstractmetabuilder.cpp.o) and (hidden) in CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o Is there anything else I can try? Cheers, Matthew -- 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