Crash on Manjaro KDE
nilknow opened this issue · 1 comments
nilknow commented
device:
Manjaro(5.10.36-2-MANJARO),
KDE,
X11,
all software and dependencies are the newest in 5.10.36-2-MANJARO version
when run this to build executable file
g++ \
3d-game-shaders-for-beginners.o \
-o 3d-game-shaders-for-beginners \
-L/usr/lib/panda3d \
-lp3framework \
-lpanda \
-lpandafx \
-lpandaexpress \
-lpandaphysics \
-lp3dtoolconfig \
-lp3dtool \
-lp3pystub \
-lp3direct \
-lpthread
the build will error, and it tell me that p3pystub cannot be found. It seems that the panda3d don't have p3pystub any more in later version. So I remove -lp3pystub
in the command, it will generate executable file successfully. But when I run it, my KDE desktop will crash, and show blurred screen.
lettier commented
Hello,
I have updated the build instructions.
You can try building the latest Panda3d.
git clone https://github.com/panda3d/panda3d.git
cd panda3d
git checkout v1.10.9
python makepanda/makepanda.py --everything --installer --no-egl --no-gles --no-gles2 --no-opencv --no-openexr --no-bullet
Afterward, build 3D Game Shaders For Beginners using the custom build of Panda3D.
g++ \
-c src/main.cxx \
-o 3d-game-shaders-for-beginners.o \
-std=gnu++11 \
-O2 \
-I/path/to/python/include/ \
-I/path/to/panda3d/built/include/
g++ \
3d-game-shaders-for-beginners.o \
-o 3d-game-shaders-for-beginners \
-L/path/to/panda3d/built/lib \
-lp3framework \
-lpanda \
-lpandafx \
-lpandaexpress \
-lpandaphysics \
-lp3dtoolconfig \
-lp3dtool \
-lpthread
👍