SFML community forums

Help => General => Topic started by: siegeMachine on August 25, 2021, 04:47:30 pm

Title: Sample SFML code on Linux giving error messages: "cannot find -lsfml-graphics-d"
Post by: siegeMachine on August 25, 2021, 04:47:30 pm
I followed the SFML and Linux tutorial and wanted to use code blocks. There was a link to the code blocks for windows tutorial that said it should be similar. So I did everything and the IDE gave me these error messages:

cannot find -lsfml-graphics-d 
cannot find -lsfml-window-d
cannot find -lsfml-system-d

I'm using ubuntu 21.04  and SFML 2.5.1 

EDIT: Removing the -d worked.
Title: Re: Sample SFML code on Linux giving error messages: "cannot find -lsfml-graphics-d"
Post by: eXpl0it3r on August 25, 2021, 05:51:32 pm
You probably don't have the debug libraries on Linux. Remove the -d suffix and it should probably work.