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

Pages: [1]
1
General / Compiling in terminal- Mac
« on: July 21, 2017, 02:07:53 am »
I have been trying to compile my code using g++ main.cpp -L <path to library folder> -l <libraryname>

I have downloaded the SFML package onto my Desktop with a file path of /Users/Erica/Desktop/SFML

The file I a trying to compile is also on the Desktop, "Graphics.cpp"

I have tried putting "Graphics.hpp" and "sgml-graphics" for the library name

No matter what I do I keep getting this message when I compile:

Graphics.cpp:3:10: fatal error: 'SFML/Graphics.hpp' file not found
#include <SFML/Graphics.hpp>

I am completely out of ideas for compiling, I have tried every solution on 4 pages of google for this issue and I am continuing to get this same error. I have attached a screen shot.

PLEASE HELP ME COMPILE IM GOING CRAZYYYY

Pages: [1]