SFML community forums
General => General discussions => Topic started by: nitram_cero on December 07, 2008, 01:12:28 pm
-
unresolved external symbol "public: static class sf::Color const sf::Color::Black"
It seems to only happen on DLL builds. Static builds work ok.
Maybe those color statics should be declared as SFML_API (dllimport/export)?
Regards
-MartÃn
-
Strange. I'm using those pre-defined color in dll build without problem.
-
To use the dynamic build you have to define SFML_DYNAMIC in your compiler's options.
-
Oh, I'm really sorry then. Didn't knew.
It worked fine thou without doing it, except for those static colors.
Another thing, in the SVN 950 version the static projects have correctly selected option to build them as a static library but bind to the Multithreaded DLL of the CRT (debug and release acordingly).
Is this correct?
-
Yes it is.