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

Author Topic: Error compiling SFML 2  (Read 1128 times)

0 Members and 1 Guest are viewing this topic.

Kronus459

  • Newbie
  • *
  • Posts: 2
    • View Profile
Error compiling SFML 2
« on: May 06, 2013, 11:32:11 pm »
I have been trying to install SFML 2 from source but I get this error when I try to compile it


[ 43%] Built target sfml-system
[ 43%] Built target sfml-window
[ 43%] Built target sfml-network
make[2]: *** No rule to make target `/usr/local/lib/libjpeg.so', needed by `lib/libsfml-graphics.so.2.0'. Stop.
make[1]: *** [src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error 2
make: *** [all] Error 2


I have triple checked and the file '/usr/local/lib/libjpeg.so' does exist so I'm not sure whats going on. Google has failed me on this one and I couldn't find anything on the forum about it.

I'm on ubuntu 12.10 (64-bit) and I installed libjpeg using 'sudo apt-get install libjpeg-dev'.

Anyone know what I'm doing wrong?

Kronus459

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Error compiling SFML 2
« Reply #1 on: May 07, 2013, 12:35:20 am »
Ok I found the problem and it was nothing to do with SFML.

The file `/usr/local/lib/libjpeg.so' was apparently a broken symlink somehow and so that's why it wasn't being found.


 

anything