SFML community forums

Help => General => Topic started by: Arnadeep on April 10, 2021, 06:29:10 pm

Title: ld.exe cannot find -lsfml-graphics-d
Post by: Arnadeep on April 10, 2021, 06:29:10 pm
I am trying to add SFML libraries in CodeBlocks.
I followed all the tutorials properly added the search directories, Added the names in Linker settings (ommiting the lib prefix and .a suffix)
Everything done properly and checked many times.
But when I run a simple program thats given on their website it gives me these errors

ld.exe   cannot find -lsfml-graphics-d

Please help. All the search directories are added correctly still its giving this error.
I am 100 percent sure I followed the tutorials given on the Website correctly.
Please help.
Title: Re: ld.exe cannot find -lsfml-graphics-d
Post by: Nexus on April 11, 2021, 03:34:34 pm
Quote
All the search directories are added correctly still its giving this error.
Are you sure you added the library directory with sfml-graphics-d? Double-check, the error indicates that it is wrong.

How does the filesystem of that lib directory look?
Title: Re: ld.exe cannot find -lsfml-graphics-d
Post by: kevin0211722@gmail.com on April 16, 2021, 06:14:45 pm
I have same problem...
Title: Re: ld.exe cannot find -lsfml-graphics-d
Post by: eXpl0it3r on April 16, 2021, 10:45:34 pm
Same question applies, did you actually add the library path?