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.


Topics - PaulTheGeek

Pages: [1]
1
I installed 2.0 using the OSX installer from the download page. I am trying to run the simple window tutorial, but I receive this error:

ld: library not found for -lsfml-system
clang: error: linker command failed with exit code 1 (use -v to see invocation)

However I can compile and run the program when I reference the libraries in the terminal with this command:

g++ -I SFML/include window.cpp -o window.out -lsfml-system -lsfml-window

To be clear when I compile from terminal it is the same code but in a folder sitting on the desktop with the SFML folder sitting in the same folder with the file. I am not sure that helps explain what is going on.

Anyone have an idea of what is going on?

Pages: [1]
anything