Reply 200 of 525, by Kappa971
Falcosoft wrote on 2024-04-21, 22:51:Yes, and compiling with Visual Studio is not as straightforward as it should be. So more frequent builds would be better.
https://github.com/nukeykt/Nuked-SC55/pull/44 … ment-2070281797
There is a problem compiling Nuked-SC55 with Visual Studio 2022. Now I don't remember the error specifically but you need to manually add the linker flag "/ENTRY:WinMainCRTStartup" otherwise the compilation fails (I haven't found any other ways) . I'm no expert on this, but perhaps there is something wrong with the code that needs to be fixed?
I also think that Visual Studio displays many more warnings with the latest build than before.
EDIT
The error should be "Error LNK2019 unresolved external symbol main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)"
https://cplusplus.com/forum/windows/277119/
"you provided a WinMain() as if you were writing a GUI application."
Compilation seems to break at "utf8main_win32.cpp".