Open supertuxkart-sourceforge-migration opened 10 years ago
Author: aapoaapo
Ubuntu 11.04 amd64 Irrlicht svn 3843 with NDEBUG=1 STK svn 10036
cmake .. -DCMAKE_BUILD_TYPE=Debug make
Linking CXX executable bin/supertuxkart CMakeFiles/supertuxkart.dir/src/main.cpp.o: In function main': supertuxkart_svn/src/main.cpp:1239: undefined reference toMemoryLeaks::checkForLeaks()' CMakeFiles/supertuxkart.dir/src/main.cpp.o: In function AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:54: undefined reference toMemoryLeaks::MyObject::MyObject(MemoryLeaks::AbstractLeakCheck_)' supertuxkart_svn/src/utils/leakcheck.hpp:55: undefined reference to `MemoryLeaks::addObj(MemoryLeaks::MyObject)' CMakeFiles/supertuxkart.dir/src/main.cpp.o: In function ~AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:66: undefined reference toMemoryLeaks::removeObj(MemoryLeaks::MyObject_)' CMakeFiles/supertuxkart.dir/src/guiengine/engine.cpp.o: In function AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:60: undefined reference toMemoryLeaks::MyObject::MyObject(MemoryLeaks::AbstractLeakCheck_)' supertuxkart_svn/src/utils/leakcheck.hpp:61: undefined reference to `MemoryLeaks::addObj(MemoryLeaks::MyObject)' collect2: ld returned 1 exit status make[* bin/supertuxkart Error 1 make[* CMakeFiles/supertuxkart.dir/all Error 2 make: _\ [all] Error 2
main': supertuxkart_svn/src/main.cpp:1239: undefined reference to
AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:54: undefined reference to
~AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:66: undefined reference to
AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:60: undefined reference to
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/481
Author: auria Fixed in r10038, thanks for the report!
Author: aapoaapo
Ubuntu 11.04 amd64 Irrlicht svn 3843 with NDEBUG=1 STK svn 10036
cmake .. -DCMAKE_BUILD_TYPE=Debug make
Linking CXX executable bin/supertuxkart CMakeFiles/supertuxkart.dir/src/main.cpp.o: In function
main': supertuxkart_svn/src/main.cpp:1239: undefined reference to
MemoryLeaks::checkForLeaks()' CMakeFiles/supertuxkart.dir/src/main.cpp.o: In functionAbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:54: undefined reference to
MemoryLeaks::MyObject::MyObject(MemoryLeaks::AbstractLeakCheck_)' supertuxkart_svn/src/utils/leakcheck.hpp:55: undefined reference to `MemoryLeaks::addObj(MemoryLeaks::MyObject)' CMakeFiles/supertuxkart.dir/src/main.cpp.o: In function~AbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:66: undefined reference to
MemoryLeaks::removeObj(MemoryLeaks::MyObject_)' CMakeFiles/supertuxkart.dir/src/guiengine/engine.cpp.o: In functionAbstractLeakCheck': supertuxkart_svn/src/utils/leak_check.hpp:60: undefined reference to
MemoryLeaks::MyObject::MyObject(MemoryLeaks::AbstractLeakCheck_)' supertuxkart_svn/src/utils/leakcheck.hpp:61: undefined reference to `MemoryLeaks::addObj(MemoryLeaks::MyObject)' collect2: ld returned 1 exit status make[* bin/supertuxkart Error 1 make[* CMakeFiles/supertuxkart.dir/all Error 2 make: _\ [all] Error 2Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/481