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

Author Topic: View tutorial error  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

eradiuslore

  • Newbie
  • *
  • Posts: 2
    • View Profile
View tutorial error
« on: March 28, 2011, 06:48:04 pm »
hey everyone, when i tried to run the graphics view tutorial .cpp download i got this error


Error   1   error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::White" (?White@Color@sf@@2V12@B)   main.obj

i was wondering if anyone can tell me why i might be getting this? and how can i fix it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
View tutorial error
« Reply #1 on: March 28, 2011, 06:58:30 pm »
You must define SFML_DYNAMIC when working with the SFML dynamic libraries.
Laurent Gomila - SFML developer

 

anything