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

Author Topic: Trying to use sf::Color but getting an unresolved external  (Read 1288 times)

0 Members and 1 Guest are viewing this topic.

kadajett

  • Newbie
  • *
  • Posts: 5
    • View Profile
Trying to use sf::Color but getting an unresolved external
« on: January 27, 2010, 01:59:20 am »
Code: [Select]

1>Main.obj : error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Magenta" (?Magenta@Color@sf@@2V12@B)
1>C:\Users\Kadajett\Documents\Visual Studio 2008\Projects\Cropper\Debug\Cropper.exe : fatal error LNK1120: 1 unresolved externals

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Trying to use sf::Color but getting an unresolved external
« Reply #1 on: January 27, 2010, 08:45:47 am »
Define SFML_DYNAMIC in your project's preprocessor options.
Laurent Gomila - SFML developer

 

anything