You are not logged in.
Pages: 1
Hello,
Thank you for the update. When I first compiled revision 13 on Visual Studio .NET 2003, a linker error was produced:
opensonic error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
opensonic fatal error LNK1120: 1 unresolved externals
This error occurs for the "opensonic" project only, not the "opensonic_launcher" project. A short-term resolution which works for me was to open up linker options and set the subsystem to Windows.
I believe the bug was introduced when the "WIN32" flag was removed from line 130 of CMakeLists.txt during the last update. I do not have a way to confirm if this error is specific to my setup.
Hope this helps.
Offline
Thanks. I'll fix CMakeLists.txt when I get home. ![]()
I believe the bug was introduced when the "WIN32" flag was removed from line 130 of CMakeLists.txt during the last update. I do not have a way to confirm if this error is specific to my setup.
Probably that's the cause of the problem. At least when compiling with MinGW on Windows, the opensonic.exe --help command does not work in a command prompt (it should output some stuff via printf, but it outputs nothing). On Linux it works fine. I'll try something else (maybe replace printf by allegro_message on Windows)
Offline
Pages: 1