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

Author Topic: SFML / VS19 - LNK1318  (Read 1161 times)

0 Members and 1 Guest are viewing this topic.

Svobby

  • Newbie
  • *
  • Posts: 2
    • View Profile
SFML / VS19 - LNK1318
« on: January 05, 2020, 05:07:27 pm »
Im coding a project with SFML / VS19.
Everything went well until my computer crashed while starting the project.
After restarting my computer i couldnt compile anymore cause of the Error LNK1318.
As well my Debug-Folder is empty (except of the .pdb).
Does somebody know how to fix this error?
The same project compiles perfect on my Laptop.
« Last Edit: January 05, 2020, 05:08:59 pm by Svobby »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML / VS19 - LNK1318
« Reply #1 on: January 05, 2020, 11:16:47 pm »
With compiler and linker errors it's always best to understand what the error actually means. With Visual Studio you can just google the error code and you'll get to MSDN with explanations on how the errors usually occur and the most common steps to resolve the issue.

For LNK1318 check this: https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1318?view=vs-2019

You probably just need to clean the project, deleting everything including the PDB files.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Svobby

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: SFML / VS19 - LNK1318
« Reply #2 on: January 06, 2020, 12:31:45 am »
You probably just need to clean the project, deleting everything including the PDB files.

that worked! Thanks a lot!
I googled the error with Visual Studio but i didnt get the fact, i have to clean the project.
Thanks for helping me :)

 

anything