General questions regarding the usage of CodeLite
lavyadrian
CodeLite Curious
Posts: 6 Joined: Wed Jun 04, 2014 3:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by lavyadrian » Thu Jun 05, 2014 9:50 pm
Hi all.
Just updated to codelite 6.0 this week, and chose not to install the provided mingw package since I already have it stand alone. Codelite started and detected it and I set it to default. Now when I try to build, there are linker errors like these :
Code: Select all
undefined reference to `__gxx_personality_sj0'
undefined reference to `_Unwind_SjLj_Register'
undefined reference to `_Unwind_SjLj_Resume'
undefined reference to `_Unwind_SjLj_Unregister'
Anyone know how to fix these?? Thnx for any help.
EDIT : I could build perfectly well in the version before, and as far as I could tell project and build settings are still ok.
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Fri Jun 06, 2014 12:41 am
Can u post the full build log?
lavyadrian
CodeLite Curious
Posts: 6 Joined: Wed Jun 04, 2014 3:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by lavyadrian » Fri Jun 06, 2014 6:33 pm
Here ya go...
Code: Select all
C:\Windows\system32\cmd.exe /c "C:/MinGW/bin/mingw32-make.exe -j4 -e -f Makefile"
"----------Building project:[ CosmicEngine - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'D:/workspace/CosmicEngine'
Executing Pre Build commands ...
D:\workspace\Autoversion\Release\Autoversion.exe -r D:\workspace\CosmicEngine
Version is now : 0.1.697
windres D:\workspace\CosmicEngine\resource.rc D:\workspace\CosmicEngine\resource.o
Done
mingw32-make.exe[1]: Leaving directory 'D:/workspace/CosmicEngine'
mingw32-make.exe[1]: Entering directory 'D:/workspace/CosmicEngine'
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/GameEngine/MGame.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/GameEngine_MGame.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/main.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/main.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/AppCore.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/AppCore.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/Application.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/Application.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/OSConsoleForAppName.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/OSConsoleForAppName.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GameVisualEngine.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/GameVisualEngine_GameVisualEngine.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
codelite-cc C:\MinGW\bin\g++.exe -c "D:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/GameSequencerEngine.cpp" -ggdb3 -O0 -mwindows -static -pg -fpermissive -DM_DEBUG -DFREEIMAGE_LIB -o ./Debug/GameSequencerEngine_GameSequencerEngine.cpp.o -I. -ID:/workspace/CosmicEngine -ID:/NET/Last/boost_1_53_0 -ID:/workspace/CosmicEngine/timer -ID:/workspace/CosmicEngine/GameEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameVisualEngine/GraphicsData -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Systems -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/ClassicUI/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Components -ID:/workspace/CosmicEngine/GameEngine/GameSequencerEngine/Systems -IC:/MinGW-4.8.1/include/FreeType2 -IC:/MinGW-4.8.1/include/FreeImage -IC:/MinGW-4.8.1/include/glm -ID:/workspace/CosmicEngine/Image
C:\MinGW\bin\g++.exe -o ./Debug/CosmicEngine @"CosmicEngine.txt" -L. -lgdi32 -lfreetype250 -lFreeImage -lOpenEXR -lLibRawLite -lLibJPEG -lLibPNG -lLibTIFF4 -lLibOpenJPEG -lZLib -lwsock32 -Wl,--format=binary -Wl,cfont.ttf -Wl,--format=default -Wl,--format=binary -Wl,gfontr.ttf -Wl,--format=default -mwindows -Wl,--static -pg
./Debug/MGL.cpp.o: In function `ZN1M8MGL_initEv':
D:/workspace/CosmicEngine/MGL.cpp:473: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/MGL.cpp:473: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/MGL.cpp:579: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/MGL.cpp:579: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/MGL.cpp.o: In function `ZN1M12CheckGLErrorEPKcS1_i':
D:/workspace/CosmicEngine/MGL.cpp:1401: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/MGL.cpp:1401: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/MGL.cpp:1438: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/MGL.cpp:1438: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/MGL.cpp.o: In function `ZN1M10DynamicLibC1ESs':
D:/workspace/CosmicEngine/DynamicLib.h:27: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/DynamicLib.h:27: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/DynamicLib.h:32: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/DynamicLib.h:32: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZN1M11OSMessengerC2Ev':
D:/workspace/CosmicEngine/OSMessenger.cpp:22: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/OSMessenger.cpp:22: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/OSMessenger.cpp:22: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/OSMessenger.cpp:22: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZN1M11OSMessengerD2Ev':
D:/workspace/CosmicEngine/OSMessenger.cpp:32: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/OSMessenger.cpp:32: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/OSMessenger.cpp:32: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/OSMessenger.cpp:32: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZN1M11OSMessengerclEv':
D:/workspace/CosmicEngine/OSMessenger.cpp:78: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/OSMessenger.cpp:78: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/OSMessenger.cpp:100: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/OSMessenger.cpp:100: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZN1M11OSMessenger24hasRegisteredOSResponderEPNS_11OSResponderE':
D:/workspace/CosmicEngine/OSMessenger.cpp:109: undefined reference to `__gxx_personality_sj0'
D:/workspace/CosmicEngine/OSMessenger.cpp:109: undefined reference to `_Unwind_SjLj_Register'
D:/workspace/CosmicEngine/OSMessenger.cpp:114: undefined reference to `_Unwind_SjLj_Resume'
D:/workspace/CosmicEngine/OSMessenger.cpp:114: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt6vectorIN1M10sysevent_tESaIS1_EED1Ev':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:414: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:414: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:416: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:416: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EED1Ev':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:670: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:670: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:671: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:671: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt3mapIiPN1M11OSResponderESt4lessIiESaISt4pairIKiS2_EEEixERS6_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:456: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:456: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:463: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:463: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNKSt6vectorIN1M10sysevent_tESaIS1_EE5emptyEv':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:734: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:734: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:735: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:735: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt12_Vector_baseIN1M10sysevent_tESaIS1_EED2Ev':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:159: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:159: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:161: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_vector.h:161: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt6vectorIN1M10sysevent_tESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/vector.tcc:318: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/vector.tcc:318: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/vector.tcc:393: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/vector.tcc:374: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/vector.tcc:382: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt3mapIiPN1M11OSResponderESt4lessIiESaISt4pairIKiS2_EEE6insertESt17_Rb_tree_iteratorIS7_ERKS7_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:646: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:646: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:648: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_map.h:648: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE16_M_insert_uniqueERKS5_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1365: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1365: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1381: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1381: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE5eraseERS1_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1763: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1763: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1769: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1769: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE17_M_insert_unique_ESt23_Rb_tree_const_iteratorIS5_ERKS5_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1467: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1467: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1480: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1480: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE24_M_get_insert_unique_posERS1_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1311: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1311: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1334: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1334: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE10_M_insert_EPSt18_Rb_tree_node_baseSD_RKS5_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1009: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1009: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1018: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1018: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE11equal_rangeERS1_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1199: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1199: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1221: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1221: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE5eraseESt17_Rb_tree_iteratorIS5_ESD_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:844: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:844: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:845: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:845: undefined reference to `_Unwind_SjLj_Unregister'
./Debug/OSMessenger.cpp.o: In function `ZNSt8_Rb_treeIiSt4pairIKiPN1M11OSResponderEESt10_Select1stIS5_ESt4lessIiESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_':
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1408: undefined reference to `__gxx_personality_sj0'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1408: undefined reference to `_Unwind_SjLj_Register'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1458: undefined reference to `_Unwind_SjLj_Resume'
c:/mingw-4.8.1/lib/gcc/mingw32/4.8.1/include/c++/bits/stl_tree.h:1458: undefined reference to `_Unwind_SjLj_Unregister'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Debug/CosmicEngine] Error 1
CosmicEngine.mk:80: recipe for target 'Debug/CosmicEngine' failed
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory 'D:/workspace/CosmicEngine'
Makefile:4: recipe for target 'All' failed
90 errors, 0 warnings, total time: 00:00:40 seconds
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Fri Jun 06, 2014 6:45 pm
This seems like a problem with using wrong MinGW with your prebuilt libraries.
I can see these include paths in your code:
Code: Select all
-IC:/MinGW-4.8.1/include/FreeType2
But the compiler used is:
Make sure you use the exact same compiler
go to: settings -> build settings
and search for the compiler with the tools set to C:\MinGW-4.8.1\bin
and use that compiler in:
Project Settings -> General -> Common Settings -> Compiler
Eran
lavyadrian
CodeLite Curious
Posts: 6 Joined: Wed Jun 04, 2014 3:08 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by lavyadrian » Fri Jun 06, 2014 11:56 pm
OK, but out of curiosity, how does that work in the earlier version of codelite and not in this one since I used the same settings?
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Sat Jun 07, 2014 12:08 am
In the previous versions of codelite, codelite ran 'g++'
With codelite 6.0, it uses the full path the compiler (e.g. C:\MinGW-4.8.1\bin\g++.exe) and it does not rely on the PATH environment variable
Eran