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 - Phlix

Pages: [1]
1
General / Code Blocks won't static link SFML
« on: February 16, 2011, 08:44:40 am »
Ah!

Well, all I did was add the -s suffix to the linker options. Perhaps I forgot something else. The macro for SFML-2 worked though so I'm happy!

2
General / Code Blocks won't static link SFML
« on: February 15, 2011, 07:00:17 am »
I have just upgraded to SFML-2.0, and changed all the sf::Rect code (and all the other compiler errors) and can FINALLY link statically.

As I thought, I am able to run my game again even with my ATI drivers. The thing that got me for so long was that I had no idea SFML-1.6 could not be built statically. Somehow all in all that forum combing I never figured it out  :?

Anyway I hope this helps anyone who had similar problems!

Thanks for replies!

3
General / Code Blocks won't static link SFML
« on: February 13, 2011, 10:04:54 am »
Well I don't really want to downgrade my drivers as I don't even know which version works, so I'll switch to SFML 2!

Is there a page that lists all the things in the code that must change for the upgrade? I already know i can define SFML_STATIC  :wink:

4
General / Code Blocks won't static link SFML
« on: February 13, 2011, 09:59:41 am »
Sorry for not specifying. I am using SFML 1.6. Would switching to SFML 2 enable me to static link and hence work around my driver problem? I'd rather stay in 1.6 since that's what I'm currently using but I'll switch if it means I can keep using SFML!

5
General / Code Blocks won't static link SFML
« on: February 13, 2011, 09:24:27 am »
Hello,

I have an ATI card and since I've updated my drivers everything's been messed up. I'm aware that the common workaround is static linking, but I cannot manage to get it right.

I've changed the linker options to include the '-s' suffix and I've declared SFML_STATIC in the #defines for my compiler. I've downloaded Laurent's prepackaged MinGW with gcc4.4 and configured Code Blocks to use it. I've also run the batch file the in the windows SDK in order to build SFML statically. And yet I still get the dreaded console window which can only be terminated abnormally.

I feel that some how I'm still not telling Code Blocks to link SFML statically. I've combed the forums forever on this and I hate making new threads, and I've even considered going back to SDL, but I love the clean and lean SFML too much to let go.

Please help!

6
General / Game won't start anymore
« on: January 06, 2011, 01:26:58 am »
Same problem occurred once I update my ATI drivers...

However I can't switch to static (as far as I know all that means is adding the '-s' suffix to the Linking Options and removing the SFML_DYNAMIC #define) because the same thing happens (am I linking it wrong?)

In addition, most sources on the internet seem to favor dynamic linking.

Is there a fix for this other than static linking? Am I doing the static linking right?

Thanks in advance!

Pages: [1]
anything