SFML community forums
Help => General => Topic started by: kryton9 on May 29, 2017, 06:46:30 am
-
Update: fixed here (https://en.sfml-dev.org/forums/index.php?topic=22035.msg155807#msg155807)
I tried to get SFML's test program to compile statically. I wanted to make a template using everything to see that I got everything in the right order. As you can see from the attached picture, I tried to put everything in the order listed in the help for https://www.sfml-dev.org/tutorials/2.4/start-cb.php
Thanks for any help.
-
I think you forgot to describe your problem...
-
I can't get SFML to compile statically. It is giving me linking errors. From reading the forums for the type of errors I was getting, it was referred to as being an ordering issue of the libraries.
My screenshot is how I everything organized to do a test full static compile. I tried to match what was in the help for the recommended order.
If one of the developers could do a similar screenshot of their setup I could try to match that.
Thanks
-
It is giving me linking errors
Which ones? We can't solve them if we don't know what they are... ;)
-
Here is a screenshot of the libs in the order they are needed to get the first tutorial working with static linking.
I started over and here are the libs in the linker settings in codeblocks. They are ordered correctly now to get a static link of the test project here:
https://www.sfml-dev.org/tutorials/2.4/start-cb.php
-
So it is working now?
-
Yes, thanks.