Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / dbPhyBuildVehicle Unhandled Exception Error Please Help!!!!!!

Author
Message
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 13:14 Edited at: 3rd Jul 2009 13:20
Hi all,

This is a DarkGDK Problem

I just got darkphysic and I'm in love with the stuff I've managed to used. Everything works except this!!!! dbPhyBuildVehicle and it's bugging the crap outta me

I have the lastest nvidia drivers. I'm using two 8800gt's in sli, and a Q6600. It's an error I havn't seen on the forums but hopefully someone can help me out. Also im using Windows XP.

Btw could the problem be that my C++ is installed on my D: drive and my GDK is install on the C:. Still everything else seems to be working :S

Do I have to do something in the project settings. (That managed to fix problems with compiling).

On the GDK page on TGC website for the screensaver is requires DirectX SDK March 2008 (or later), does that mean I need to get this SDK for DarkPhyiscs to work properly?

Debug Mode Error:
Unhandled exception at 0x00408b42 in PhysicsGame.exe: 0xC0000005: Access violation reading location 0x00000088.

Release Mode Error:
Unhandled exception at 0x004044e2 in PhysicsGame.exe: 0xC0000005: Access violation reading location 0x00000088.

After I break that except this comes up...

No symbols are loaded for any call stack frame. The source code cannot be displayed.

I clicked to view the error code error and this came up...

004044E2 fld dword ptr [esi+88h]

Maybe this can help but here is the function



Any help at all would be the kindest
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 14:34 Edited at: 3rd Jul 2009 14:35
Quote: "On the GDK page on TGC website for the screensaver is requires DirectX SDK March 2008 (or later), does that mean I need to get this SDK for DarkPhyiscs to work properly? "

No as you seem to have got the other physX demos compiled and running in GDK.

Only thing I can see that diffrent to the demo is that it has another dbPhyAddVehicleBody() in the code, could this be what it asking for.

I would try out your numbers If I could my GDK to run the vehicle demo, get to many errors, due to the way I have install GDK, change to many things, now I don't know how to get a default setup.

Dark Physics makes any hot drink go cold.
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 14:51 Edited at: 3rd Jul 2009 14:52
Yea I can't get the vehicle demo to work...

So I thought I would write it myself...and that didn't work as well.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 14:54
How many GDK demos can you run? I can only get a few to go.

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 15:03
Got the demo to go a bit further, now its complining about loading a file.

Quote: "'Vehicle.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll', Exports loaded.
'Vehicle.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'Vehicle.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load
The program '[5012] Vehicle.exe: Native' has exited with code -1073741515 (0xc0000135).
"

what ever that means?

Dark Physics makes any hot drink go cold.
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 15:17
I've managed to get all the demo's working except water and vehicles. With the water all i see is grey and black, no water splashes or anything.

Btw HowDo

Are you using Project Properties>C/C++>Code Generation>Runtime Library>/MT

Because that fixed a lot of my problems.

Also in Linker>Input
make sure you have Additional Dependencies with DarkPhysics.lib

and in ignore specific Library put this in libcmtd, msvcrt, atls, libcpmtd

fixed the problems I had with the other examples except Vehicle and Water
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 15:23
In Additional Dependencies I have DarkPhysics.lib and dxFluidRenderLib.lib <-this you need for fluids.

and in the ignore library I have
LIBCMTD
msvcprtd
atls
libcpmtd
MSVCRT

Dark Physics makes any hot drink go cold.
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 15:33 Edited at: 3rd Jul 2009 15:33
oohhhhh
Quote: "dxFluidRenderLib.lib and msvcprtd"


Still no luck tho lol
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 15:42
one step nearer, if I could get this bit
Quote: "Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load
The program '[4004] Water.exe: Native' has exited with code -1073741515 (0xc0000135)."

to run away and hide it self then it would go on water and vehicles, do you get as far as the code is generated in the build?

Dark Physics makes any hot drink go cold.
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 15:51 Edited at: 3rd Jul 2009 15:56
hahaha I'm sooo lucky!!!

I looked at the media they were loading. The media is outside of the project files!!!

So I copied and pasted them in and now ALL of my examples work!!! Btw you have to change the folder name to media instead of Media. You might also have to check through the files loads for some errors with having 'Media' instead of media.

Hope this helps people that come across the same problem I had.

Quote: "do you get as far as the code is generated in the build?"


Yeah I did. I hope you can fix the debugger problems. If it get's too messed up, you could look at another project properties and copy those settings making it back to default. Unfortunately I have no clue what's that error you're having.

{Edit}
Btw Make sure you copy all the .dll's (NxCooking,NxCharacter,etc) to the project files.

I got my money's worth now WOOOOO
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 15:55
you mean if folder a 'm' or 'M' will make two types of folders in C++. great

Dark Physics makes any hot drink go cold.
AFishStudios
15
Years of Service
User Offline
Joined: 22nd May 2009
Location: Australia
Posted: 3rd Jul 2009 15:59
Quote: "you mean if folder a 'm' or 'M' will make two types of folders in C++."


Nah, what I mean is C++ is case sensitive. So if you have a folder called "media" and you see dbLoadObject("Media\\Frog.x",1) you will have to change it to dbLoadObject("media\\Frog.x",1).
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jul 2009 16:03
Oh fun.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 17:00:16
Your offset time is: 2024-11-24 17:00:16