SFML community forums

Help => General => Topic started by: TmCrafz on February 09, 2016, 04:31:51 pm

Title: CodeBlocks cannot use debug linker settings
Post by: TmCrafz on February 09, 2016, 04:31:51 pm
Hello
Im using CodeBlocks on Ubuntu 14.04LTS.
I have installed sfml from the official repository.
Now i want to set up sfml in codeblocks.
But when I add sfml-system-d, sfml-window-d and sfml-graphics-d to the Debug Linker settings CodeBlocks says by building the Project:
||=== Build: Debug in SFMLTemplate (compiler: GNU GCC Compiler) ===|
ld||cannot find -lsfml-system-d|
ld||cannot find -lsfml-window-d|
ld||cannot find -lsfml-graphics-d|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

When i removes -d everywhere there are no problems.
Is that a problem when I dont use the -d Settings?


Title: Re: CodeBlocks cannot use debug linker settings
Post by: eXpl0it3r on February 09, 2016, 04:57:06 pm
Sounds like you didn't build the debug libraries, however if I remember correctly you don't really need to do so on Linux, unless you want to debug the SFML library itself (this is not true for Windows).