I believe I followed the tutorial over here accurately (c::b, windows):
http://sfml-dev.org/tutorials/1.6/start-cb.phpGlobal compiler options set, project build settings set (with -s on the end of them), build mode set to release... but when I try to compile, it spews out a lot of stuff at me:
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x799)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x7f9)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x8e8)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x91c)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x9a0)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x9e4)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0xaaa)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0xb52)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0xbfa)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0xece)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.text+0x115e)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Window.o):Window.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(VideoMode.o):VideoMode.cpp:(.eh_frame+0x11)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.text+0x625)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.text+0x686)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.text+0x6c3)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.text+0x94f)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.text+0x97b)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImpl.o):WindowImpl.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(Context.o):Context.cpp:(.text+0x108)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(Context.o):Context.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(VideoModeSupport.o):VideoModeSupport.cpp:(.eh_frame+0x11)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x4e7)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0xd08)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x121e)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1346)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x146e)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1584)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x15cc)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1760)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x17a3)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x17d0)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x17d8)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x197c)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1c24)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1c5e)||undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1d02)||undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1dd0)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x1e0d)||undefined reference to `std::ctype<char>::_M_widen_init() const'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x225c)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x2624)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x273a)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x2852)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.text+0x2a92)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-window-s.a(WindowImplWin32.o):WindowImplWin32.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-window-s.a(Joystick.o):Joystick.cpp:(.eh_frame+0x11)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-system-s.a(Clock.o):Clock.cpp:(.eh_frame+0x11)||undefined reference to `__gxx_personality_v0'|
D:\SFML-1.6\lib\libsfml-system-s.a(Platform.o):Platform.cpp:(.text+0xca)||undefined reference to `_Unwind_Resume'|
D:\SFML-1.6\lib\libsfml-system-s.a(Platform.o):Platform.cpp:(.eh_frame+0x12)||undefined reference to `__gxx_personality_v0'|
||=== Build finished: 49 errors, 0 warnings ===|
My source is simply:
#include <SFML/Window.hpp>
int main()
{
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
bool running = true;
while(running) {
App.Display();
}
return EXIT_SUCCESS;
}
Starting as a CMD line project...
I found another topic, and it appears this is likely the cause of incompatible gcc versions. Yay!