Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
CodeBlocks set up error
Print
Pages: [
1
]
Author
Topic: CodeBlocks set up error (Read 943 times)
0 Members and 1 Guest are viewing this topic.
gandalf3
Newbie
Posts: 1
CodeBlocks set up error
«
on:
June 24, 2016, 04:58:08 am »
I attempted to set up sfml on codeblocks using the pre built binaries. When this did not work, I decided to build my own using CMake. After setting up the correct build options according to the tutorial on sfml-dev.org/, I still get the following errors:
||=== Build: Debug in SFML (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -ljpeg|
ld.exe||cannot find -lfreetype|
||error: ld returned 1 exit status|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
The following are my linker settings:
https://www.dropbox.com/s/pl16uuug3yi9f03/linker.png?dl=0
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: CodeBlocks set up error
«
Reply #1 on:
June 24, 2016, 10:19:44 am »
Since you link against jpeg and freetype yourself, you'll also have to copy them from the SFML extlibs directory or even better when building SFML specify a CMAKE_INSTALL_PREFIX and compile the install target.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
CodeBlocks set up error