Skip to content

Error when compiling on Windows 10 (Visual Studio) #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ClaireStanfield opened this issue Dec 19, 2023 · 0 comments
Open

Error when compiling on Windows 10 (Visual Studio) #7

ClaireStanfield opened this issue Dec 19, 2023 · 0 comments

Comments

@ClaireStanfield
Copy link

To preface this is my first attempt at compiling anything from source and I have 0 knowledge of these languages.

I generated the solution using Visual Studio 17 2022 in Cmake. I then was attempting to build the solution in Studio (did not change any of the default settings) but got the following error:

14>McRecoverQApplication_win32.obj : error LNK2019: unresolved external symbol "void __cdecl qWinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int,int &,class QVector<char *> &)" (?qWinMain@@YAXPEAUHINSTANCE__@@0PEADHAEAHAEAV?$QVector@PEAD@@@Z) referenced in function WinMain
14>C:\Users\xxx\Downloads\mcrecover\build\bin\Debug\mcrecover.exe : fatal error LNK1120: 1 unresolved externals
14>Done building project "mcrecover.vcxproj" -- FAILED.

I saved the entire Studio output if that would be more helpful. Everything else that was set to be built by default was built successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant