I’ve built a very simple app (it’s actually the tutorial) and I want to package it up and display in a web page.
So I’ve used the packp3d command as below:
d:\panda3d>packp3d -o myapp.p3d -d d:\panda3d
:AppRunner: Total Panda3D disk space used: 112 MB
:AppRunner: Configured max usage is: 2048 MB
ackager(warning): No such file: /d/panda3d/p3d_info.xml
There are some missing modules: [‘panda3d.core’]
Generating myapp.p3d
I’m obviously doing something wrong, but I’m not sure what.
d:\panda3d is where I’ve put the py file for the app (and the only thing in there is the py file).
Do I need to run this command from a specific directory?
That depends on the application, of course. If the code contains an error, then it is normal for the application to quit, and you’ll need to find and fix the issue in the code. By running the p3d from the command-line, you can see exactly what the problem is.
when I run the app the normal way (console ppython xxx.py) it works just fine, when I run the .p3d a black window pops up and then goes away but its not showing any errors