Hello there,
I have encountered a problem with allegro 5. It says in the build output that:
|
unresolved external symbol _main referenced in function ___tmainCRTStartup
|
I've looked on the web, and the only answers I find fall into two categories:
#1: They are using int main, but it can't find int main - the answers usually consist of "Put END_OF_MAIN() at the end of main"
#2: The person is using int main(), but allegro is looking for INT WINAPI WinMain.
However, my problem is the opposite of #2; I'm using WinMain and allegro is looking for main().
Points to note:
I use Windows 8.1 64 bit.
I use MSVC 2010
I use Allegro 5.10
I don't have the option to switch from WinMain to main
I am actually only using Allegro for the audio features; I'm doing all of the rendering myself.
My subsystem is set to Windows (Project Properties -> Linker -> System)
Thanks in advance!