New to Irrlicht - Trying to use with Visual Studio 2008

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
cjpaver
Posts: 8
Joined: Mon Feb 07, 2011 8:43 pm

New to Irrlicht - Trying to use with Visual Studio 2008

Post by cjpaver »

Hopefully a simple answer...

I have the libraries set up properly. I have my irrlicht.dll in the right place. I can compile and run the tutorials. How do I create my own project for this? Copying this and editing the internal still keeps a reference to somewhere related to the one I've copied.

Which project type do I select? Seems like all new projects add the other stdafx header, yet the tutorials don't come with, nor require these other files. They are only the main.cpp file. When I create a new project, and remove the auto-added folders and files (like stdafx), I get an error saying I've forgotten to add that file.

So...with Visual Studio set up properly, what type of project are we selecting to create the first step to make my own project? I've tried win32 console application, empty project, and a windows form. If I'm required to change something so that one of those types work, could you help with where edits need made?

Thanks
cjpaver
Posts: 8
Joined: Mon Feb 07, 2011 8:43 pm

Post by cjpaver »

I have to test this out later, but I found what I hope will be my answer when I can get home to test it...

http://irrlicht.sourceforge.net/phpBB2/ ... ed3b4e3009
Grumpy
Posts: 77
Joined: Wed Dec 30, 2009 7:17 pm
Location: Montana, Usa

Post by Grumpy »

There also a link on getting started/ creating your first aplication when you boot VS 2008.
code happens
Anthony
Posts: 121
Joined: Sun Jan 09, 2011 12:03 pm

Post by Anthony »

Cool a new programmer ;)

Hi

Just add an empty project and add a file main.cpp

Code: Select all

// main.cpp
int main()
{
  return 0;
}
in my believes - until now - the tiniest exe possible and work from there.

to skip the stdafx header you have to set that in the properties of the project i.e. no need to with empty project but Properties->Configuration Properties->C/C++->Precompiled Headers->Precompiled header: set to 'Not Using Precompiled Headers'
No :shock: I am no noob, just checking if your not one too :roll:

Thanks to Niko and all others that made Irrlicht possible.
cjpaver
Posts: 8
Joined: Mon Feb 07, 2011 8:43 pm

Post by cjpaver »

Looking back, I'm embarrassed to have even asked that question.

Console v. Window doesn't matter unless you want to (and you should) print debugging info in the console window.
andrei71
Posts: 9
Joined: Tue Apr 19, 2011 5:05 am

Post by andrei71 »

I failed to used VS 2008 so i am trying Dev C++ :(
Virror
Posts: 191
Joined: Mon May 02, 2011 3:15 pm

Post by Virror »

What did fail? Using VS 2010 without any problems.
Just include the Irrlicht lib path and include path. Also need to have Irrlicht.dll in the debug directory.

"Irrlicht\lib\Win32-visualstudio"
"Irrlicht\include"
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

andrei71 wrote:I failed to used VS 2008 so i am trying Dev C++ :(
You are crazy, right?

It's illogical to use Dev C++ these days, when there are far more superior up to date alternatives.
Working on game: Marrbles (Currently stopped).
Post Reply