Irrlicht and Visual Studio Express

A forum to store posts deemed exceptionally wise and useful
Post Reply
raven67854
Posts: 2
Joined: Tue Nov 06, 2007 11:10 pm
Location: United States, Virginia
Contact:

Irrlicht and Visual Studio Express

Post by raven67854 »

Hello,

I made this tutorial on how to setup and configure Visual Studio Express using Irrlicht. http://askdevs.net/tutorials/tutorial1.html. The very first tutorial I have ever done. Please tell me any problems you have so I can fix it. I went through it a few times and it all worked for me. Sorry for it being somewhat plain. But I think it's the information that should be more useful.[/url]
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

You could mention that the platform sdk needs also to be installed. Beside that it should work as far as I see.

It might be worth to mention some alternatives at the end of the tutorial. For example I do the following steps different (mostly because I work with several Irrlicht versions):
- I don't set the include path in the VC++ Directories but I prefer setting them as relative paths in the project settings. That way it's easier to work with different versions of the engine and it's easier to copy complete projects (including the irrlicht lib) to other people.
- I do not copy the irrlicht.dll in the system folder. Instead I copy it as pre-build-step into the folder where I have the executable.
- I do not use pragmas for linking (mainly because it feels wrong to me having linker information in sourcecode). Instead add a linkerpath in the project settings and add the irrlicht.lib as input library.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
raven67854
Posts: 2
Joined: Tue Nov 06, 2007 11:10 pm
Location: United States, Virginia
Contact:

Post by raven67854 »

Well thanks for the advice. I will update and show people how to install the platform sdk. What files do they need exactly I have everything that you need for Torque. Is it about the same? Also I suppose you could copy it to the same folder but that is the way I prefer mine. I will adding both and let the user of the tutorial decide. Thanks for helping me make my tutorial better. Also about the pragma links. That is what Neko had on his tutorial I just copied and pasted his over later on today I will start to make my own. So it feels more like mine. But about the platform sdk now that I think about it. I do not believe it needs to be installed. Unless you mean the platform that comes with Visual Express. I asked a friend to do it and his machine works. He just recently did my tutorial as I was making it.
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

If you're using the 2005 EE you'll need the "Microsoft Platform SDK" - it's somewhere on their downloads site ... first hit in google: http://www.microsoft.com/downloads/deta ... laylang=en

It states "Windows Server ..." but it's the whole SDK for all versions. You don't have to install the whole SDK - just the core files (missing components can be installed later on too).

If you're already using the 2008 EE (atm released as Beta 2) you won't have to download the platform SDK as all the standard windows headers are (once again) included in the initial download/install.
MasterM
Posts: 128
Joined: Sat Oct 20, 2007 2:38 am
Location: netherlands antilles, Curacao

Are you going to create more

Post by MasterM »

Are you going to make more tutorials?
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Don't forget to mention this too:
open "corewin_express.vsprops" (XML-File)

replace

AdditionalDependencies="kernel32.lib"

with:

AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
taken from this thread:
http://irrlicht.sourceforge.net/phpBB2/ ... ress#57031
Frosty Topaz
Posts: 107
Joined: Sat Nov 04, 2006 9:42 pm

Post by Frosty Topaz »

One little thing. With the latest VS EE the platform SDK is again back where it belongs. So you only need to add the library and include directories. And of course link irrlicht.lib in the project settings.
Frosty Topaz
=========
It isn't easy being ice-encrusted aluminum silicate fluoride hydroxide...
compound
Posts: 18
Joined: Sun Feb 24, 2008 12:38 pm

Post by compound »

sites broken for this
Post Reply