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 - elhtmlnoexiste

Pages: [1]
1
General / Re: Linking sfml with g++
« on: October 29, 2013, 06:43:11 pm »
Just as a reference. I had the exact same problem but It was my fault as I've compiled sources myself. In my case the library directory used during cmake configuration was /usr/local/lib instead of the more common /usr/lib. For me just linking with the -L option to add the correct lib directory fixed the issue:

g++ main.o -o m -L /usr/local/lib/ -lsfml-graphics -lsfml-window -lsfml-system

Hope this helps somebody else.

Cheers!

Pages: [1]
anything