But when I tried it, it looked different, like an older version, and the directions didn't seem to apply. Is there a guide for setting up Irrlight with Visual C++ 2008 Express Edition?If you use a different IDE or want to set up your own project, these tutorials will help:
Microsoft Visual C++:
http://irrlicht.sourceforge.net/tut001.html
Setting up Visual C++ 2008 Express Edition correctly
-
- Posts: 9
- Joined: Tue Oct 07, 2008 1:43 am
Setting up Visual C++ 2008 Express Edition correctly
I went to the topic "The Frequently Asked Questions (FAQ) [Updated Jan 2008]" and saw that Visual C++ 2008 Express Edition could be used, downloaded and installed it. Then went to the guide for setting it up for Irrlicht mentioned later in the post (and below)
-
- Posts: 9
- Joined: Tue Oct 07, 2008 1:43 am
I tried just using one of the examples but worried that I had not yet linked the irrlicht.dll to the building program, but figured it would be configured to do so when I built one of the examples. I went and built example 1 and received this error message
I would really like to know how to setup the current version, the tutorial is for v7 and now it's v9 and doesn't seem to have the same configuration. (
I've searched the help files and looked all around the only options menu I could find for the directories or include spaces the writer talked about.)
Code: Select all
1>------ Build started: Project: 01.HelloWorld, Configuration: Debug Win32 ------
1>Compiling...
1>Project : error PRJ0003 : Error spawning 'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe'.
I've searched the help files and looked all around the only options menu I could find for the directories or include spaces the writer talked about.)
So long as you have configured the settings listed in the tutorial (menus are different in VS2008, but settings are the same), you only need to move the irrlicht dll into the folder your code is in. At least, this has worked for me. I'm sure you can set up a path to it however I haven't looked that far yet....
-
- Posts: 9
- Joined: Tue Oct 07, 2008 1:43 am
That's it, I can't find the places in the settings to set it up, because the menu's are different. when it says
How can I correctly setup Visual C++ 2008 express edition v9 the tutorial seems to old.
I can't find "Include" I assume this means that the necessary files are included in the compiled files, and that no coping of the files (except the irrlicht.dll is necessary)select the 'Include' Item in the combo box. Add the include directory of the irrlicht engine folder to the list of directories.
How can I correctly setup Visual C++ 2008 express edition v9 the tutorial seems to old.
That's referring to VS 6.0. Read the next paragraph on http://irrlicht.sourceforge.net/tut001.htmlIrrlichtproduction wrote:when it saysI can't find "Include" I assume this means that the necessary files are included in the compiled files, and that no coping of the files (except the irrlicht.dll is necessary)select the 'Include' Item in the combo box. Add the include directory of the irrlicht engine folder to the list of directories.
Also, you probably already read and downloaded this as well, but just in case ...If your IDE is Visual Studio .NET, select Tools -> Options. Select the projects entry and then select VC++ directories. Select 'show directories for include files' in the combo box, and add the include directory of the irrlicht engine folder to the list of directories. Now the compiler will find the Irrlicht.h header file. We also need the irrlicht.lib to be found, so stay in that dialog, select 'show directories for Library files' and add the lib/VisualStudio directory.
At that point, I believe you should be good to go!Note: If you are using Microsoft Visual C++ Express Edition, you must install Windows Platform SDK. (http://www.microsoft.com/downloads/deta ... laylang=en)
-
- Posts: 9
- Joined: Tue Oct 07, 2008 1:43 am
Ok, I did search for the words Windows Platform SDK in both http://irrlicht.sourceforge.net/tut001.html (tutorial), and http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25751 (the getting started post) and didn't see it in either place.
Why is the Windows® Server 2003 R2 Platform SDK, why is the server edition required?
Why is the Windows® Server 2003 R2 Platform SDK, why is the server edition required?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
It's only required if you own a Windows Server 2003 system and want to use Irrlicht on it - maybe not even then... Moreover, this is the forum for a 3d rendering engine, so ask google or MSDN on how to use the tools you got from other ressources (hmm, deja vu ).Irrlichtproduction wrote:Ok, I did search for the words Windows Platform SDK in both http://irrlicht.sourceforge.net/tut001.html (tutorial), and http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=25751 (the getting started post) and didn't see it in either place.
Why is the Windows® Server 2003 R2 Platform SDK, why is the server edition required?
If you want to start programming you should first get the foundations set up. This includes compiler preparation and language learning. When you're done with it, you can proceed with the applications you want to develop/compile.
reply
hey hybrid, i'm trying to compile irrlicht sdk 1.4.2 with vs2008 and i'm getting some strange errors in winnt.h
and in CIrrDeviceWin32.cpp
i just want to implement some features in irrlicht that i will use in my project...
Code: Select all
Error 1 error C2146: syntax error : missing ';' before identifier 'PVOID64' C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h 236
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h 236
Code: Select all
Error 21 fatal error C1903: unable to recover from previous error(s); stopping compilation d:\Project\irrlicht\source\Irrlicht\CIrrDeviceWin32.cpp 579
-
- Posts: 69
- Joined: Thu Dec 06, 2007 8:06 pm
- Location: SPAIN
hello there:
I am having the same problem as described here, and have already unistalled and reinstalled 5 times since yesterday, always with the same result...
After having added de include and lib folders for irrlicht, plattform SDK, and DXSDK, acording to what I understand from the tutorials, it keeps saying te same cl.exe error is happening...
I already shifted to VC from codeblocks for the same reason (setup problems), getting a clean setup at first attemp a few months ago. Don't know what might be happening, but order of includes or reinstalling is doing absolutely nothing.
by the way, there is no information on this matter that helps in the MS public sites, but I'll keep trying. The problem is although I'd like to record a tutorial on this process, after many attempts I don't really know what makes it work in the end.
Good luck is what we newbies need sometimes, at least, as reading through "perfect solutions" that don't work once and again is no the path to follow, as it seems.
Thanks all for trying, but remember that the fact that it works in one system is no guarantee that it will in another identical one. It's never taht easy.
I am having the same problem as described here, and have already unistalled and reinstalled 5 times since yesterday, always with the same result...
After having added de include and lib folders for irrlicht, plattform SDK, and DXSDK, acording to what I understand from the tutorials, it keeps saying te same cl.exe error is happening...
I already shifted to VC from codeblocks for the same reason (setup problems), getting a clean setup at first attemp a few months ago. Don't know what might be happening, but order of includes or reinstalling is doing absolutely nothing.
by the way, there is no information on this matter that helps in the MS public sites, but I'll keep trying. The problem is although I'd like to record a tutorial on this process, after many attempts I don't really know what makes it work in the end.
Good luck is what we newbies need sometimes, at least, as reading through "perfect solutions" that don't work once and again is no the path to follow, as it seems.
Thanks all for trying, but remember that the fact that it works in one system is no guarantee that it will in another identical one. It's never taht easy.