Camera system tutorial by Kencho

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Buckcherry
Goblin
Posts: 279
Joined: Tue Oct 04, 2005 4:28 pm

Camera system tutorial by Kencho

Post 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.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post 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...
Image
User avatar
celic
Gnome
Posts: 363
Joined: Wed Mar 23, 2005 11:05 am
Location: Chisinau/Moldova
Contact:

Post by celic »

I guess you should change something in your project properties:
Configuration Properties->Linker->System->SubSystem:
try to switch from WINDOWS to CONSOLE.
Buckcherry
Goblin
Posts: 279
Joined: Tue Oct 04, 2005 4:28 pm

Solved

Post by Buckcherry »

Ok, I solved the problem.

Thanks.
:D
Post Reply