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

Author Topic: CodeBlocks cannot use debug linker settings  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

TmCrafz

  • Newbie
  • *
  • Posts: 4
    • View Profile
CodeBlocks cannot use debug linker settings
« 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?



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: CodeBlocks cannot use debug linker settings
« Reply #1 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).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/