Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
delete
Print
Pages: [
1
]
Author
Topic: delete (Read 965 times)
0 Members and 1 Guest are viewing this topic.
Justbod
Newbie
Posts: 9
delete
«
on:
October 08, 2023, 09:01:36 am »
I've setup my project in Visual Studio 2019 following this tutorial
https://www.sfml-dev.org/tutorials/2.6/start-vc.php
. When I ran the standard test code everything compiled, no link errors the window with the green circle rendered with no problems.
Since I've continued working on my project suddenly the link error returned and I do not understand why.
I've re-installed SFML multiple times, reconfigured the project following the guide step by step but have not managed to find my mistake.
Here is how I setup my project (I've attached images)
https://imgur.com/ilx633L
https://imgur.com/T5AIaXC
https://imgur.com/6BTUsrf
https://imgur.com/TPa7CWF
https://imgur.com/qJgvTrG
Additional dependencies : sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;sfml-network-d.lib;sfml-audio-d.lib;kernel32.lib
I have linked them via imgur.com since I have no idea how the img tag works
«
Last Edit: October 08, 2023, 01:39:19 pm by Justbod
»
Logged
🧃🦔
kojack
Sr. Member
Posts: 343
C++/C# game dev teacher.
Re: LNK2019 LNK1120 unresolved external symbol
«
Reply #1 on:
October 08, 2023, 01:36:47 pm »
The errors don't look SFML related. It's saying main.cpp can't find Game::HandleInput or Game::GetWindow.
As a linker error, that means it knows about those functions (so the header that describes them is ok), but the implementation is missing.
Logged
Justbod
Newbie
Posts: 9
Re: LNK2019 LNK1120 unresolved external symbol
«
Reply #2 on:
October 08, 2023, 01:38:51 pm »
Hi thanks! I discovered it yea, I had them commented out to test something and forgot to put them back in, then spent a long time trying to fix the wrong thing :'(
Logged
🧃🦔
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
delete
anything