winmain@16 unresolved?

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
rogerdv
Gnome
Posts: 351
Joined: Fri May 09, 2003 10:43 pm
Location: Cuba
x 1
Contact:

winmain@16 unresolved?

Post by rogerdv »

Im getting an error about unresolved external symbol winmain@16. I created the project according to tutorials (using INT WINAPI WinMain)

#if OGRE_PLATFORM == PLATFORM_WIN32^M
#define WIN32_LEAN_AND_MEAN^M
#include "windows.h"^M
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )^M
#else^M
int main(int argc, char *argv[])^M
#endif

But anyway, I get this linking error. What Im missing?
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia
Contact:

Post by monster »

Should be "OGRE_PLATFORM_WIN32", the tutorial presumbaly hasn't been ported to Azathoth.
Post Reply