Page 1 of 1

Camera system tutorial by Kencho

Posted: Wed Oct 05, 2005 4:21 pm
by Buckcherry
Hello,

I get a problem trying to compile the source code of the "camera system tutorial by Kencho".

I get this:

MSVCRT.lib(wcrtexew.obj) : error LNK2001: unresolved external symbol _wWinMain@16
../bin/Release/Borrame.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Anyone knows how to solve it?.

Thanks.

Posted: Wed Oct 05, 2005 7:05 pm
by Kencho
I'm afraid the problem is with your main() function. If you want, try substituting that main function with one of the Ogre Samples (I did already, but maybe skipped something important). If you can compile the samples, you should be able to compile it as well. No-one has reported that error before in the tutorial...

Posted: Thu Oct 06, 2005 7:37 am
by celic
I guess you should change something in your project properties:
Configuration Properties->Linker->System->SubSystem:
try to switch from WINDOWS to CONSOLE.

Solved

Posted: Thu Nov 24, 2005 4:57 pm
by Buckcherry
Ok, I solved the problem.

Thanks.
:D