EnTT-Pacman icon indicating copy to clipboard operation
EnTT-Pacman copied to clipboard

compilation error ?

Open MariwanJ opened this issue 1 year ago • 1 comments

HI, I get this error. 1>MSVCRTD.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) The linker->system->subsystem is defined as consol. even when i fix that .. I still get the same error. BR

MariwanJ avatar Feb 12 '24 19:02 MariwanJ

I think that setting should be windows rather than console but I'm not completely sure. You shouldn't need to change any settings though. I was unable to reproduce this problem on Windows. I didn't need to open Visual Studio to build it. I'm sorry I'm not being very helpful but I don't use Windows personally so I don't know much about these sorts of issues. I hope you're able to figure this out. Comment here if you manage to solve it to help others in the future!

indianakernick avatar Feb 13 '24 05:02 indianakernick