irrPhysx 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
Kirjuxa
Posts: 13
Joined: Thu Oct 15, 2009 8:55 am

irrPhysx with Visual Studio 2008

Post by Kirjuxa »

When I downloaded irrPhysx and tried to compile the examples from the example folder with Visual Studio 2008 i had some syntax errors and also linker errors.

I solved my problem by doing the following things:

1: download and install Service Pack1 for Visual Studio 2008(~2GB)
2: download the System Software for Physx(just google it)
3: download Physx and install it in the default directory the installer uses<---very important(otherwise u have to change the Physx code)
4: download irrPhysx(I tried irrPhysx for Irrlicht 1.5)
5: of course u need the Irrlicht 1.5 engine
(if u have irrlicht 1.4.2 then use irrPhysx for 1.4.2,
if u have Irrlicht 1.6 then download 1.5 and link your IDE to 1.5)
6: very important: if you want just open and compile the examples from:
irrPhysx/example than you need to change the example code a bit:
you must change the "location-string" of your images.
Just use the replace function of VS2008 and replace "../media/" to
the full path of the media folder(notice that every "\" must be "\\")
7: Dont forget the "Irrlicht.dll".You have to copy it to the example folder.

Well thats all.
I had big problems using irrPhysx because I did not knew why I got the linker and syntax errors but it was just because of the Service Pack1 for Visual Studio and because I did not install Physx to other directory as default.

I hope this post will help someone.
damn, it never works
Post Reply