Hi,
I downloaded the irrPhysX SDK and now i get some errors.
When I compile the Example: BoxesExample
then I get an error at line 159 that I cannont make an Instance of an abstract class.
paramChanger = new CGUIParamChanger(guienv, guienv->getRootGUIElement(), -1, core::rect<s32>(600,0,800,105));
I did not change anything at the source code that was with the irrPhysX
Can anybody help please, how I solve the problem?
Thanks
Problems with irrPhysX SDK
Problems with irrPhysX SDK
damn, it never works
You can't use IrrPhysx with a version of Irrlicht other than 1.5 and 1.4.2 currently, I've just not had a chance to upload a 1.6 compatible version.
So if you want to use IrrPhysx with Irrlicht 1.6 you'll have to recompile IrrPhysx linking it to Irrlicht 1.6.
There's also something in 1.6 that has changed for GUI elements which menghzu says can be fixed by commenting out the functions that the linker complains about:
1>CGUIParamChanger.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CGUIParamChanger::getDrawTitlebar(void)const " (?getDrawTitlebar@CGUIParamChanger@@UBE_NXZ)
So for that linker error you'd comment out the function CGUIParamChanger::getDrawTitlebar in both the header and cpp file.
Apparently that works, I've not done anything with it myself.
So if you want to use IrrPhysx with Irrlicht 1.6 you'll have to recompile IrrPhysx linking it to Irrlicht 1.6.
There's also something in 1.6 that has changed for GUI elements which menghzu says can be fixed by commenting out the functions that the linker complains about:
1>CGUIParamChanger.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CGUIParamChanger::getDrawTitlebar(void)const " (?getDrawTitlebar@CGUIParamChanger@@UBE_NXZ)
So for that linker error you'd comment out the function CGUIParamChanger::getDrawTitlebar in both the header and cpp file.
Apparently that works, I've not done anything with it myself.
Well thanks for rapid answer but I get problem when i compile the boxesExample, i tried irrlicht v1.5, 1.4.2 my visual studio says to me the same error.
Perhaps I need to recompile my irrlicht versions(I am using the libs i have downloadet) perhaps its because of visual studio i dont know.
And do you perhaps know a site where i can find usefull PhysX and irrPhysX tutorials??
Thanks
Perhaps I need to recompile my irrlicht versions(I am using the libs i have downloadet) perhaps its because of visual studio i dont know.
And do you perhaps know a site where i can find usefull PhysX and irrPhysX tutorials??
Thanks
damn, it never works
The Physx website has Physx tutorials and the IrrPhysx SDK has the only IrrPhysx tutorials that I'm aware of.
Looking at Physx tutorials won't help you use IrrPhysx though as IrrPhysx hides Physx away from the user to make it easier to use from an Irrlicht user point of view.
I don't know why you're having problems... You certainly shouldn't have the same problems if you're using Irrlicht 1.5/1.4.2 (with the correct version of IrrPhysx)... that makes me think you didn't correctly link to the older versions of Irrlicht and instead are still linking to 1.6.
Looking at Physx tutorials won't help you use IrrPhysx though as IrrPhysx hides Physx away from the user to make it easier to use from an Irrlicht user point of view.
I don't know why you're having problems... You certainly shouldn't have the same problems if you're using Irrlicht 1.5/1.4.2 (with the correct version of IrrPhysx)... that makes me think you didn't correctly link to the older versions of Irrlicht and instead are still linking to 1.6.
Well thank for rapid answer but I solved the problem:
For programming with irrPhysx i needed the ServicePack for Visual Studio 2008
After installing the SP1 all my Linking and Compiling problems were solved.
Probalby you should note that on your irrPhysx site.
And also: Big Thanks for irrPhysx it is very usefull and easy to use.
For programming with irrPhysx i needed the ServicePack for Visual Studio 2008
After installing the SP1 all my Linking and Compiling problems were solved.
Probalby you should note that on your irrPhysx site.
And also: Big Thanks for irrPhysx it is very usefull and easy to use.
damn, it never works