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

Author Topic: Linking error when using static colors  (Read 1944 times)

0 Members and 1 Guest are viewing this topic.

DanielV

  • Newbie
  • *
  • Posts: 5
    • ICQ Messenger - 172569684
    • View Profile
    • http://www.danielvollrath.de
Linking error when using static colors
« on: August 20, 2008, 11:58:10 pm »
Hi,
I always get a linking error when I use one of the static colors like sf::Color::White (Tutorial "Using views").

This problem appears only when i use the dynamic libs.
With the -s version of sfml-graphics.lib there isn't any trouble.

I'm using SFML 1.3 with MSVC 2008 Professional.

However, thank you for your awesome work Laurent.

Daniel

DanielV

  • Newbie
  • *
  • Posts: 5
    • ICQ Messenger - 172569684
    • View Profile
    • http://www.danielvollrath.de
Linking error when using static colors
« Reply #1 on: August 21, 2008, 12:44:25 am »
Found it!
I forgot to set the the SFML_DYNAMIC macro in the Release config.

Thank you,
Daniel