Compiling & Running Problems!

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
cm3rt
Posts: 9
Joined: Sat Apr 12, 2008 6:39 pm
Contact:

Compiling & Running Problems!

Post by cm3rt »

Okay when building / compiling Irrlicht with VC++, I get no errors, buth when it finally finishes, this screen pops up.

Image
(In case you can't see the picture, it says "Please specify the name of the executible file to be used for the debug session." in an inputbox.

I checked in my obj folders and there are no executable files. What do I have to do to run Irrlicht?
The future is coming on.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Irrlicht itself is a library. When you build the Irrlicht project (on Windows), you get Irrlicht.lib and Irrlicht.dll files, not an executable file. Irrlicht - like all libraries and 3d or game engines - needs to be linked into an executable in order to actually do anything with it.

So instead of opening source\Irrlicht\Irrlicht*.sln (which just build Irrlicht), have a look at examples\BuildAllExamples*.sln.

This contains a project for the Irrlicht library itself, and 17 example/demo projects. Each of them links against Irrlicht and creates an executable that you can run. Start with 01.HelloWorld and work your way up. ;)
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply