Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: svn: undefined reference to sf::RenderWindow::RenderWindow()  (Read 2421 times)

0 Members and 2 Guests are viewing this topic.

chrz

  • Newbie
  • *
  • Posts: 8
    • View Profile
svn: undefined reference to sf::RenderWindow::RenderWindow()
« on: December 29, 2008, 10:09:03 pm »
hi there comes another problem, when i try to build the program with the svn libraries i get:

Quote
build/Release/MinGW-Windows/main.o:main.cpp:(.text+0xab): undefined reference to `sf::RenderWindow::RenderWindow()'

build/Release/MinGW-Windows/main.o:main.cpp:(.text+0x2d1): undefined reference to `sf::RenderWindow::~RenderWindow()'


the linkorder of the library is " -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lsfml-main " i also tried changing the order but i can't get it working...
I think the problems lies on the sfml-graphics-s lib, i also tried recompiling from the svn sources but it still wont help

EDIT: i built the libraries with code::blocks before

chrz

  • Newbie
  • *
  • Posts: 8
    • View Profile
svn: undefined reference to sf::RenderWindow::RenderWindow()
« Reply #1 on: December 30, 2008, 03:38:50 pm »
okay i solved the problem, if s.o. has the same problem, go install the stable 8.02 codeblocks, not the nightly build. Then just rebuild the SFML - libs  :D

 

anything