Skip to content
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

Can't set SubSystem to WindowedApp #86

Open
Patrick-W-McMahon opened this issue Oct 24, 2024 · 0 comments
Open

Can't set SubSystem to WindowedApp #86

Patrick-W-McMahon opened this issue Oct 24, 2024 · 0 comments

Comments

@Patrick-W-McMahon
Copy link

If you go /WalnutApp/premake5.lua and change the following:
kind "ConsoleApp" to kind "WindowedApp"
then run premake it will build the project but when running the project you will get the following error.

Severity Code Description Project File Line Suppression State Details
Error LNK2019 unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@yahxz) WalnutApp .....\Walnut\WalnutApp\MSVCRTD.lib(exe_winmain.obj) 1

the only way the project works is in Console but i would like to build it so it doesn't show the console at startup

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