PB56 3D Demo errors

Just starting out? Need help? Post your questions and find answers here.
HPW
User
User
Posts: 26
Joined: Tue Apr 29, 2003 6:48 pm
Location: Germany

PB56 3D Demo errors

Post by HPW »

Hello,

When I revisited purebasic and whne I look for 3D demos I get some of the Demos not working.

carPhysics
Assertion failed
pRep_error

FPSFirstPerson
[08:05:57] Waiting for executable to start...
[08:05:57] Executable type: Windows - x86 (32bit, Unicode)
[08:05:57] Executable started.
[08:05:58] [ERROR] FPSFirstPerson.pb (Line: 190)
[08:05:58] [ERROR] Invalid memory access. (read error at address 0)

PinBall
Assertion failed
pRep_error

Tank
Assertion failed
pRep_error

ThirdPerson
Assertion failed
pRep_error

The pRep_error in Detail:
Assertion failed!
Program; c:\Purebasic32\Compilers\Engine3D.dll
file: c:\Purebasic\svn\v5.60\ogremain\...\OgreSharedPtr.h
Line: 160

Expression: pRep

For Information on how your program can cause an Assertion
failure, see the Visual C++ documentaation on asserts

(Press Retry to debug the application - JIT must be enabled)

End of pRep_error
Hint: I have no path c:\Purebasic\svn\...

Tested on a WIN7 64 System using purebasic x86

Regards

Hans-Peter
Hans-Peter
HPW
User
User
Posts: 26
Joined: Tue Apr 29, 2003 6:48 pm
Location: Germany

Re: PB56 3D Demo errors

Post by HPW »

Hello,

Tested also on a WIN XP system with even more crashes:

carPhysics crash
[08:39:44] Waiting for executable to start...
[08:39:44] Executable type: Windows - x86 (32bit, Unicode)
[08:39:44] Executable started.
[08:39:44] [ERROR] CarPhysic.pb (Line: 330)
[08:39:44] [ERROR] Invalid memory access. (read error at address 0)

Character crash
[08:40:27] Waiting for executable to start...
[08:40:28] Executable type: Windows - x86 (32bit, Unicode)
[08:40:28] Executable started.
[08:40:30] The Program execution has finished.

FacialAnimation crash
[08:41:00] Waiting for executable to start...
[08:41:00] Executable type: Windows - x86 (32bit, Unicode)
[08:41:00] Executable started.
[08:41:00] [ERROR] FacialAnimation.pb (Line: 97)
[08:41:00] [ERROR] Invalid memory access. (read error at address 0)

FPSFirstPerson Screen3DRequester shows and then crash
[08:41:38] Waiting for executable to start...
[08:41:38] Executable type: Windows - x86 (32bit, Unicode)
[08:41:38] Executable started.
[08:41:45] The Program execution has finished.

MeshManualFlag Screen3DRequester shows and then crash
[08:42:34] Waiting for executable to start...
[08:42:34] Executable type: Windows - x86 (32bit, Unicode)
[08:42:34] Executable started.
[08:42:36] The Program execution has finished.

MeshManualParametrics Screen3DRequester shows and then crash
[08:44:16] Waiting for executable to start...
[08:44:16] Executable type: Windows - x86 (32bit, Unicode)
[08:44:16] Executable started.
[08:44:17] The Program execution has finished.

PinBall Screen3DRequester shows and then crash
[08:44:36] Waiting for executable to start...
[08:44:36] Executable type: Windows - x86 (32bit, Unicode)
[08:44:36] Executable started.
[08:44:37] The Program execution has finished.

Tank Screen3DRequester shows and then crash
[08:45:08] Waiting for executable to start...
[08:45:08] Executable type: Windows - x86 (32bit, Unicode)
[08:45:08] Executable started.
[08:45:10] The Program execution has finished.

ThirdPerson
[08:46:29] Waiting for executable to start...
[08:46:29] Executable type: Windows - x86 (32bit, Unicode)
[08:46:29] Executable started.
[08:46:33] The Program execution has finished.

None of the 3D demos starts on my XP. On WIN7 a few works.
OpenGl demo works on both pc.


Regards
Hans-Peter
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: PB56 3D Demo errors

Post by Samuel »

Make sure you have the newest version of DirectX 9.0c on your computers. Here's the download link http://www.microsoft.com/en-us/download ... aspx?id=35

If it still doesn't work after that then would you mind telling us what graphic cards you have. It's possible they are too old to run that version of DirectX.
HPW
User
User
Posts: 26
Joined: Tue Apr 29, 2003 6:48 pm
Location: Germany

Re: PB56 3D Demo errors

Post by HPW »

Hello Samuel,

Thanks for the hint.
After updating the WIN7-PC all demos working as expected.
So solved for that system.

After updating my Home-XP box with the directX, this also works as expected.

But my first XP-system (SP3) still does not run.
After showing Screen3DRequester the is a short flashing window and crash.
I installed the directX update and the latest driver from nvidia.
The graphics card is a nvidia quadro FX 1700.

Even mouse.pb reports "Impossible to open a 800*600 32-bit screen"
Also sprito.pb reports "Can't open a 800*600 - 32 bit screen !"

So seem that "OpenScreen(800, 600, 32, "XXXX")" does not work.

Regards
Hans-Peter
Hans-Peter
Post Reply