1
General / Unresolved External Symbol???
« on: June 24, 2016, 09:35:24 am »
Hello... I'm a relatively noob guy who wants to learn some C++, and I can't even get the tutorial working!
I was following the "Getting Started" Tutorial of "SFML and Visual Studio".
I don't know if you need this info but here comes:
So I figured I'd download SFML 2.3.2 for Visual C++ 14 (2015) - 64-bit. But when I tried to compile, the output I got said that module machine (x64) not compatible with x86... huh...
Then, I downloaded SFML 32-bit version, and it seemed like progress... but then I got the next error:
I think I'm doing something terribly wrong. Any help would be much appreciated.
EDIT: I think it's worth mentioning that the project doesn't even pass the building step.
I was following the "Getting Started" Tutorial of "SFML and Visual Studio".
I don't know if you need this info but here comes:
- Windows 8.1 (x64)
- I'm using Microsoft Visual Studio Community 2015, Version 14.0.25123.00 Update 2
- Visual C++ 2015
So I figured I'd download SFML 2.3.2 for Visual C++ 14 (2015) - 64-bit. But when I tried to compile, the output I got said that module machine (x64) not compatible with x86... huh...
Then, I downloaded SFML 32-bit version, and it seemed like progress... but then I got the next error:
Code | Description | Project | File | Line |
LNK2019 | unresolved external symbol _WinMain@16 referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) | SFML_Tutorial01 | MSVCRTD.lib (exe_winmain.obj) | 1 |
LNK1120 | 1 Unresolved externals | SFML_Tutorial01 | SFML_Tutorial01.exe | 1 |
I think I'm doing something terribly wrong. Any help would be much appreciated.
EDIT: I think it's worth mentioning that the project doesn't even pass the building step.