SFML community forums

Help => General => Topic started by: santi10 on October 21, 2012, 10:29:54 pm

Title: Code Blocks unable to find lsfml graphics, window, and system on Ubuntu 12.04
Post by: santi10 on October 21, 2012, 10:29:54 pm
I'm running Ubuntu 12.04 lts and using Code Blocks as the IDE. The problem i have is that Code blocks can't find the graphic, window, and system. This is the error i get in Code Blocks. I just need help fixing this small problem. I'm knew to sfml and linux. Sorry for the inconvenience. I'm using sfml 1.6.


ld||cannot find -l-lsfml-graphics|
ld||cannot find -l-lsfml-window|
ld||cannot find -l-lsfml-system|
||=== Build finished: 3 errors, 0 warnings ===|

here are the linker settings
linker: /media/01CDAA564F8AFAB0/SFML-1.6/lib
compiler: /media/01CDAA564F8AFAB0/SFML-1.6/include

here are the build options
Linker Settings: -lsfml-graphics
                             -lsfml-window
                             -lsfml-system
Title: Re: Code Blocks unable to find lsfml graphics, window, and system on Ubuntu 12.04
Post by: eXpl0it3r on October 21, 2012, 10:38:49 pm
Just read the official tutorials, it's all explained there... ::)

-l-lsfml-graphics
-lsfml-graphics

What could be the mistake here... :O

Also I strongly advise you against the use of SFML 1.6, it's over 2y old, contains quite a few nasty bugs and lacks a lot of new features.
Title: Re: Code Blocks unable to find lsfml graphics, window, and system on Ubuntu 12.04
Post by: santi10 on October 26, 2012, 01:45:16 am
Thank you i will follow your advice!