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

00-Showcase sample shows an error window when running the compiled executable #76

Open
s1-en opened this issue Apr 27, 2021 · 2 comments

Comments

@s1-en
Copy link

s1-en commented Apr 27, 2021

image

Afterwards, it seems to run just fine as far as I could tell apart from the WebView not loading for some reason (Windows)

@ianharrigan
Copy link
Member

What version of wxWidgets are you using?

@s1-en
Copy link
Author

s1-en commented Apr 30, 2021

Hello, I am on wxWidgets 3.1.5. And building 00-blank with dynamically linked instead of static throws a build fail

 - Link: Main.exe: link.exe -out:Main.exe -nologo -machine:x86 -subsystem:console,5.01 -libpath:lib user32.lib @obj/msvc19xp/all_objs ws2_32.lib C:\wxWidgets-3.1.5\lib\vc_dll\*.lib
   Creating library Main.lib and object Main.exp
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)
Main.exe : fatal error LNK1120: 1 unresolved externals
Error: Error while running command
link.exe -out:Main.exe -nologo -machine:x86 -subsystem:console,5.01 -libpath:lib user32.lib @obj/msvc19xp/all_objs ws2_32.lib C:\wxWidgets-3.1.5\lib\vc_dll\*.lib
Error: Build failed

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

2 participants