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

Author Topic: error LNK2001  (Read 3046 times)

0 Members and 1 Guest are viewing this topic.

beginner88

  • Newbie
  • *
  • Posts: 7
    • View Profile
error LNK2001
« on: June 04, 2009, 01:54:54 am »
Hi everybody again,

I just got a little freaky problem. I know that the LNK2001 error should mean that I didn´t linked a library, but I linked all librarys I know so far^^

Code: [Select]
sfml-system-d.lib sfml-window-d.lib sfml-graphics-d.lib sfml-audio-d.lib sfml-network-d.lib

Although the network library isn´t necessary in my case, I linked it because I wasn´t sure... :oops:

The whole error: (I´m sorry that some parts in german)
Code: [Select]
1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)".
1>P:\Projekte SFML\Pong-Clon\Debug\Pong-Clon.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.


I hope someone could help me!
thx, Felix

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
error LNK2001
« Reply #1 on: June 04, 2009, 08:19:34 am »
Read again the "getting started" tutorial for your compiler, and focus on the part containing the "SFML_DYNAMIC" word ;)
Laurent Gomila - SFML developer

beginner88

  • Newbie
  • *
  • Posts: 7
    • View Profile
error LNK2001
« Reply #2 on: June 04, 2009, 12:48:16 pm »
Thanks a lot Laurent! :D