title: compiling SFML with g++ compiler through the terminal
body: <p>here is what I typed in the terminal:</p>
  
  <pre><code>g++ -g -I/Users/cjm10000/Desktop/7701X/code/include/SFML-2.4.2-osx-clang/include -L/Users/cjm10000/Desktop/7701X/code/include/SFML-2.4.2-osx-clang/lib -l libsfml-graphics.2.4.2.dylib -lsfml-window-d -lsfml-system-d virtual_field.cpp -o virtual_field
  </code></pre>
  
  <p>I am having trouble with this because it is telling me that that it cant find the libraries which included.</p>
  
  <pre><code>ld: library not found for -llibsfml-graphics.2.4.2.dylib
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>here is the whole thing if you need more context:</p>
  
  <pre><code>Carloss-MacBook-Pro:src cjm10000$ g++ -g -I/Users/cjm10000/Desktop/7701X/code/include/SFML-2.4.2-osx-clang/include -L/Users/cjm10000/Desktop/7701X/code/include/SFML-2.4.2-osx-clang/lib -l libsfml-graphics.2.4.2.dylib -lsfml-window-d -lsfml-system-d virtual_field.cpp -o virtual_field
  ld: library not found for -llibsfml-graphics.2.4.2.dylib
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>