SFML community forums

Help => Graphics => Topic started by: DanielV on August 20, 2008, 11:58:10 pm

Title: Linking error when using static colors
Post by: DanielV 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
Title: Linking error when using static colors
Post by: DanielV 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