Code::Blocks Forums

User forums => Help => Topic started by: MuyTR on March 01, 2022, 04:25:36 pm

Title: SFML library install error
Post by: MuyTR on March 01, 2022, 04:25:36 pm
Hello, I am new here, I have an error when installing the SFML library, I have followed some steps that previously worked for me, before formatting my PC.
http://www.edparrish.net/common/sfmlcb.html#troubleshoot (http://www.edparrish.net/common/sfmlcb.html#troubleshoot)
However now when compiling the application I get this error.

Code
||=== Build: Debug in HELLO2 (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lsfml-graphics-d|
ld.exe||cannot find -lsfml-window-d|
ld.exe||cannot find -lsfml-system-d|
ld.exe||cannot find -lsfml-graphics|
ld.exe||cannot find -lsfml-window|
ld.exe||cannot find -lsfml-system|
ld.exe||cannot find -lsfml-audio|
||error: ld returned 1 exit status|
||=== Build failed: 8 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

I'd appreciate your help.
Title: Re: SFML library install error
Post by: Miguel Gimenez on March 01, 2022, 06:11:00 pm
Post a full rebuild log (https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
Title: Re: SFML library install error
Post by: MuyTR on April 01, 2022, 05:41:16 am
Post a full rebuild log (https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)

Oh, Man :o, thanks :D :D, you gave me a idea and i solved, thanks, it was a compability error, it appeared in rebuild log, so i try to install the correct compiler with the correct SMFL version and worked :), Thanks really jeje