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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - InculetAlexandru

Pages: [1]
1
General / Re: How to statically link sfml with codeblocks
« on: January 08, 2020, 11:39:57 pm »
Nvm, i managed to make the library from the source code using cmake ....

2
General / Re: How to statically link sfml with codeblocks
« on: January 07, 2020, 11:37:29 pm »
So, lets recap:
1. I downloaded the SJLJ version with Codeblocks
2. New Project -> Empty Project -> Project -> Build Options -> "Name of the project" -> Search directories -> Compiler -> Add -> Then I added the path to the include folder from the sfml file i have downloaded -> Said "No" to the "keep it as a relative path" question.
3."Name of the project" -> Search directories -> Linker -> Add -> Then I added the path to the lib folder from the sfml file i have downloaded-> Said "No" to the "keep it as a relative path" question.
4. Debug -> Linker settings-> Add -> Then I added "sfml-graphics-s-d","sfml-window-s-d","sfml-system-s-d", in this order.
5. Release -> Linker settings-> Add -> Then I added "sfml-graphics-s","sfml-window-s","sfml-system-s", in this order.
6."Name of the project" -> Compiler settings -> defines -> I added "SFML_STATIC"


still not working when i double click on the exe located in the project folder/bin/debug
i get the error: "sfml-graphics-2.dll not found" ... :( :( :( :(
 

3
General / Re: How to statically link sfml with codeblocks
« on: January 07, 2020, 11:20:27 pm »
Well, you did something wrong. :p

Did you recompile the project?
Did you define SFML_STATIC?


I defined SFML_STATIC and everything still not working... :(

4
General / How to statically link sfml with codeblocks
« on: January 07, 2020, 02:35:33 am »
I followed all the steps from the website, including those with "sfml-graphics-s-d...." on debug and "sfml-graphics-s..." on release, but still when i click on the executable file of the project i still get the error mesage that the "sfml-graphics-2.dll is missing from your computer", but isnt that the purpose of the static linking to get rid of the dlls? ??? ??? ??? ???
 :o :o :o :o

Pages: [1]
anything