I did my initial “wow, look at that!” play-around with Panda3D on a work PC running Windows 2000. I had no problems on that platform, but its a different story on my home PC where I’m running Windows 98SE.
I can run the 5th (final) tutorial in the first set of samples regarding scene-graphs, with no problems. So, my installation is not completely borked. However, if I run pview or x2egg it crashes with the following error message:
I have checked that the Panda3d bin directory is in my path, and moreover is at the very front of the path. I have searched my hard-drive for LIBNSPR4.DLL, and the only entry that comes up is the file in the Panda3d tree, ie., Pview is not picking up a corrupt version from elsewhere. Also, unlike my Win2000 experience, under Win98 when I run Pview the floppy-drive is activated, as if Pview is searching everywhere it can think of for some file.
I was originally running Panda3D 1.0.3, I uninstalled that and went to v1.0.5, but it had no impact on this problem.
I did a quick Google search on LIBNSPR4.DLL, and it was suggested that this file was a WinXP dll.
So, did I miss a great flashing neon-sign on the Panda3D front page saying “Windows 2000/XP only”? Or is something else amiss?
I copied this file to the Panda3D bin directory, deleted the original ‘libnspr4.dll’ file, and renamed ‘nspr4.dll’ to ‘libnspr4.dll’. Pview is now working.
I don’t suggest other people follow this procedure, downloading and running random dll’s can be a risky procedure, and I’m running a virus-check as we speak. But, if nothing else we have isolated the problem. Seems to me the question now is: was my Win98SE install foo-bar, or does the Panda3D install procedure need to be updated for Win98 users?
I’m sure you’re at least as Goole-literate as myself, but on the off chance it saves you a few minutes, here are a couple of links mentioning the libnspr4 / nspr4 (WinXP / Win98) distinction :
Although we no longer distribute NSPR with Toontown, we used to, and we distributed just the one version, which I guess was the Win95 version. It worked fine everywhere. One time we did accidentally distribute a different version which didn’t work on Win98; I guess that was the NT version. We went back to the original version and it worked everywhere again.
Not really… as far as I can say (a little bit bad mind) I switched to win2k because I have had trouble running Panda3D 1.0.5 using Win98SE. At least I have had serious trouble with several games that kept not-working using ‘98.
I THINK Panda3D was one of them that finally made me movin’ - however, nice that it should be back working…
That for the Windows-Part of the Panda-Installation