Page 6 of 29

Posted: Tue Nov 25, 2008 7:50 pm
by JP
You'll have to update the include paths to point to your irrlicht SDK, currently they'll probably be pointing to mine on Q:/irrlicht-1.4.2/, which probably isn't where yours are!

Also you'll have to recompile IrrPhysx if you're using codeblocks as the provided IrrPhysx.lib will only work with MSVC compilers i believe so you'll have to get i suppose IrrPhysx.a by compiling it in codeblocks.

Posted: Wed Nov 26, 2008 1:20 am
by Seven
I am gone for a month on vacation but will return to your new and improved, vastly superior latest and greatest version of IrrPhysx. I will put your work to great use :)

cya in a month.....
Seven

what about...

Posted: Sun Nov 30, 2008 3:49 am
by 3DModelerMan
What about grass for a feature?.

Posted: Sun Nov 30, 2008 12:36 pm
by JP
Aye it's possible, it's done in one of the Physx examples... probably softbody so when i get round to doing softbody then i might show grass in the example.

Posted: Sun Nov 30, 2008 4:52 pm
by Lambda
when will be done the character controller?

Posted: Sun Nov 30, 2008 5:57 pm
by Deepfreeze32
Awesome project JP!

I registered because I need some help.

When I attempted to open the project it gave me an exception error or something.

I figured, no biggy, I'll create a new project and import the source files.

I did that, and now I get some weird errors whenever I compile it.

Code: Select all

1>Cooking.obj : error LNK2019: unresolved external symbol __imp__NxGetCookingLib referenced in function "bool __cdecl hasCookingLibrary(void)" (?hasCookingLibrary@@YA_NXZ)
1>CPhysxManager.obj : error LNK2019: unresolved external symbol __imp__NxCreatePhysicsSDK referenced in function "public: __thiscall IrrPhysx::CPhysxManager::CPhysxManager(class irr::IrrlichtDevice *,struct IrrPhysx::SSceneDesc const &,bool)" (??0CPhysxManager@IrrPhysx@@QAE@PAVIrrlichtDevice@irr@@ABUSSceneDesc@1@_N@Z)
1>CPhysxManager.obj : error LNK2019: unresolved external symbol __imp__NxReleasePhysicsSDK referenced in function "public: virtual __thiscall IrrPhysx::CPhysxManager::~CPhysxManager(void)" (??1CPhysxManager@IrrPhysx@@UAE@XZ)
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
I don't know if this means I missed transferring something or what, but I wonder if you could help me?

Posted: Sun Nov 30, 2008 7:02 pm
by fmx
looks like you forgot to include some header/source files.
maybe the PhysX SDK isn't correctly included in the project, or its installed in a different directory from the default install directory?

Posted: Sun Nov 30, 2008 7:27 pm
by JP
You seem to have neglected to link to all the Physx libs, namely the cooking lib and possibly even the main Physx lib...

lambda, no guarantee for when the character controller will be done i'm afraid... I'm focusing on IrrAI for the moment to get 0.5 out, when that's done i'll be able to get back to IrrPhysx a bit more maybe but I don't know how much time i'll to work on it as i'll be starting a new job soon!

Posted: Sun Nov 30, 2008 8:09 pm
by Lambda
JP wrote:You seem to have neglected to link to all the Physx libs, namely the cooking lib and possibly even the main Physx lib...

lambda, no guarantee for when the character controller will be done i'm afraid... I'm focusing on IrrAI for the moment to get 0.5 out, when that's done i'll be able to get back to IrrPhysx a bit more maybe but I don't know how much time i'll to work on it as i'll be starting a new job soon!
Ok, i have asked that because im thinking to integrate irrPhysx in my project.

Posted: Fri Dec 05, 2008 3:40 am
by Deepfreeze32
fmx wrote:looks like you forgot to include some header/source files.
maybe the PhysX SDK isn't correctly included in the project, or its installed in a different directory from the default install directory?
It's in the default directory, and I'm pretty sure I linked them properly, but I think some of the library's are missing from the install.

It was an NVIDIA install executable, so I'd think that they would include everything.

Any suggestions as to what to do next?

Posted: Fri Dec 05, 2008 2:26 pm
by JP
have you linked to the necessary Physx libs? (you have to link to both the IrrPhysx lib and the necessary Physx libs)

Posted: Fri Dec 05, 2008 6:16 pm
by Deepfreeze32
Yes, I've done that.

I can't figure this out.....

Would not having irrlicht 1.4.2 be a problem?

I only have 1.4.1

Posted: Fri Dec 05, 2008 6:35 pm
by MasterGod
I don't believe it's Irrlicht...

Posted: Fri Dec 05, 2008 7:15 pm
by roelor
It compiled partially when I had all the absolute paths made. But I hate c++ compilers. I never can find anything on my mind.

Posted: Fri Dec 05, 2008 11:50 pm
by fmx
Deepfreeze and roelor, what compilers are you guys using?

I believe irrPhysX was compiled with MSVC, and its probably the compiler you should be using if you're only deving for windoze and not planning to port elsewhere (regardless if you're using irrPhysX or not)