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

Author Topic: LNK2001 unresolved external symbol  (Read 1330 times)

0 Members and 1 Guest are viewing this topic.

hooiberg

  • Newbie
  • *
  • Posts: 1
    • View Profile
LNK2001 unresolved external symbol
« on: November 20, 2018, 09:22:19 pm »
I have te issue that I get the lnk2001 unresolved external symbol "pubnlick: static class sf::Color const sf::Color::White error in debug mode. When I go to release mode I have the problem that '/ZI'and '/GL'command-line options are incompatible.

What do I have to do it is my first time using SFML and i don't now how to fix this problem.
« Last Edit: November 20, 2018, 09:25:02 pm by hooiberg »

ZeroZ30o

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: LNK2001 unresolved external symbol
« Reply #1 on: November 24, 2018, 07:56:45 pm »
Linker errors (LNK) are generally caused by poor project settings (e.g. in your IDE) or because it could not find a file needed (because you did not specify its location properly).

I would suggest starting over the installation process with the tutorial, and doing it very slowly -making sure you read everything.

https://www.sfml-dev.org/tutorials/2.5/#getting-started