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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nathaniell

Pages: [1]
1
General / Compilation problem (undefined reference to sf::)
« on: April 25, 2015, 04:19:50 pm »
Hi

I'm working on team project in school and we are using sfml. So far I just wrote code outside the GUI section, but now I want to compile the whole thing and I'm getting standard undefined reference to sf:: error

I have Liinux Mint and I installed sfml via sudo apt-get install libsfml-dev and it didin't work so I tryed to download it from website and link it when compiling.. and I still get exactly same result.

For compilation I'm using this
Quote
g++ -Wall -pedantic -g -O0 -std=c++11 -I/home/debian/SFML-2.2/include -L/home/debian/SFML-2.2/lib -lsfml-graphics -lsfml-window -lsfml-system main.cpp ...and bunch of other .cpp files

Errors:
(click to show/hide)

So, what am I doing wrong? Do I need to download/install something else?

Pages: [1]
anything