cant compile tutorial "hello world" - unresolved e

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Newbie

cant compile tutorial "hello world" - unresolved e

Post by Newbie »

Hi there,

im trying to finish the first tutorial, but im getting linking errors all the way. I checked spelling and paths, cant find a mistake there. Perhaps someone can tell me what im doing wrong here:
Linking...
LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Release/Irrtest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Irrtest.exe - 2 error(s), 0 warning(s)
--------------------Configuration: Irrtest - Win32 Debug--------------------
Compiling...
irrtest.cpp
Linking...
MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/Irrtest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Irrtest.exe - 2 error(s), 0 warning(s)
Thx :)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

You created a windows application. Create a console application instead.
Guest

Post by Guest »

Thx :D

Already loving this forum^^

Perhaps you should add this to the tutorial, newbies like me wont know how to do it and go for the win32 application i suppose (especially OGRE-Users are easy victims) ;)

Also there is a missing hint about the directory structure... the path of the mesh is relative and so this "hello world" example must be in a specific directory.. ok, peanuts, but a tutorial should explain it imho. You dont know how much a newbie i am and i guess there are others out there *g*

I had to copy the irrlicht.dll in this directory, or i missed some settings? No problem though.


Thx, im already impressed, this engine is so easy to set up :)
Post Reply