Problem with IrrPhysx - anyone can help me?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
prchakal
Posts: 58
Joined: Thu Sep 24, 2009 12:31 am

Problem with IrrPhysx - anyone can help me?

Post by prchakal »

Hi,

Im developing a prototype game to learn irrlicht and test the library, and now im trying use the IrrPhysx, but i have an error when compiling my project.

1 - Informations:

Im using Irrlicht 1.5.1 and IrrPhysx for Irrlicht 1.5

2 - On my class i put:

#include <IrrPhysx.h>
using namespace IrrPhysx;

3 - The code that use to only test if it will compile:

IPhysxManager* physxManager;
SSceneDesc sceneDesc;
physxManager = createPhysxManager(device, sceneDesc);

4 - The error:

undefined reference to `IrrPhysx::createPhysxManager(irr::IrrlichtDevice*, IrrPhysx::SSceneDesc const&, bool)'
collect2: ld returned 1 exit status

5 - My includes directories:

"D:\Downloads\Cpp\LIB\irrlicht\include"
"D:\Downloads\Cpp\LIB\irrphysx\include"
"C:\Arquivos de programas\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\PhysXLoader\include"
"C:\Arquivos de programas\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Foundation\include"
"C:\Arquivos de programas\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\Physics\include"

6 - My library directories:

"D:\Downloads\Cpp\LIB\irrlicht\lib\Win32-gcc"
"D:\Downloads\Cpp\LIB\irrphysx\lib"
"C:\Arquivos de programas\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs\lib\Win32"

7 - My library linked (-l):

IrrPhysx
Irrlicht
PhysXLoader
NxCharacter
NxCooking
prchakal
Posts: 58
Joined: Thu Sep 24, 2009 12:31 am

Post by prchakal »

Problem solved :(

The IrrPhys dont can be used with mingw :(

I think have to have a tutorial about how to use, how to install, what can be done and what not can be done with it, all in one page
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Post by devsh »

I want irrPhysX on linux.... so I tried porting it... but instead im just gonna make my own wrapper
prchakal
Posts: 58
Joined: Thu Sep 24, 2009 12:31 am

Post by prchakal »

@devsh

Sucess on your project.

If have news, post to me too, Linux is the future :)

I love Ubuntu, to me is the best distribution.

We need more Linux games/libs.
Post Reply