1
General / Re: Problem with static linking libraries (Win/C::B)
« on: February 16, 2014, 01:13:18 pm »
Didn't get it at first, sorry.
I've compiled static libraries for MinGW following tutorial, but now it seems like window cannot find dependencies:
I've compiled static libraries for MinGW following tutorial, but now it seems like window cannot find dependencies:
||=== Firmy, Release ===|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::restart()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::Clock()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::Clock()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
// ...
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings (0 minutes, 2 seconds) ===|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::restart()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::Clock()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Clock::Clock()'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::Time::Zero'|
SFML-2.1\lib\libsfml-window-s.a(Window.cpp.obj):Window.cpp|| undefined reference to `sf::err()'|
// ...
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings (0 minutes, 2 seconds) ===|