Requirements
CYBERDEViL edited this page 4 years ago

Requirements

name version license link
Python >= 3.6 PSFL https://docs.python.org/3/license.html
Panda3d >= v1.10.4 Custom (modified BSD) https://www.panda3d.org/license/
Bullet engine >= 2.87 zlib http://github.com/bulletphysics/bullet3
LUI - MIT https://github.com/tobspr/LUI

Install / build -dependencies

Panda3d build/install howto:

https://github.com/panda3d/panda3d/blob/master/README.md

LUI build/install howto:

https://github.com/tobspr/LUI#installation

Debian

Python and Bullet

We can get Python and Bullet from the default packet manager.

 # apt update
 # apt upgrade
 # apt install python3 libbullet-dev

Panda3d and LUI

We will get Panda3d and LUI through git.

Install git and create a directory for the git repo's.

 # apt install git
 $ mkdir ~/git

Panda3d

Clone the repo and checkout the v1.10.5 tag.

 $ cd ~/git
 $ git clone https://github.com/panda3d/panda3d
 $ cd panda3d
 $ git checkout v1.10.5

Install build dependencies.

 # apt install build-essential pkg-config fakeroot python-dev libpng-dev libjpeg-dev libtiff-dev zlib1g-dev libssl-dev libx11-dev libgl1-mesa-dev libxrandr-dev libxxf86dga-dev libxcursor-dev bison flex libfreetype6-dev libvorbis-dev libeigen3-dev libopenal-dev libode-dev libgtk2.0-dev libassimp-dev libopenexr-dev

Build

NOTE: Building can take a while..

 $ python3 makepanda/makepanda.py --everything --installer --no-egl --no-gles --no-gles2 --no-opencv

Install

 # dpkg -i panda3d*.deb

LUI

TODO: Would be nice to have a script that can build a .deb file.

 $ cd ~/git
 $ git clone https://github.com/tobspr/LUI
 $ cd LUI
 $ python3 update_module_builder.py
 $ python3 build.py
 # cp lui.so /usr/lib/python3/dist-packages/panda3d/

Arch

Python and Bullet

We can get Python and Bullet from the default packet manager.

 # pacman -Syu python bullet 

Panda3d and LUI

Panda3d and LUI we can get through the Arch user repo.

Create a directory for the packet sources.

 $ mkdir ~/pkg

Panda3d

Get the PKGBUILD

 $ cd ~/pkg
 $ git clone https://aur.archlinux.org/panda3d.git

Build and install

 $ cd panda3d
 $ makepkg -si

Now follow instructions.

LUI

Get the PKGBUILD

 $ cd ~/pkg
 $ git clone https://aur.archlinux.org/packages/lui-git/

Build and install

 $ cd lui-git
 $ makepkg -si

Now follow instructions.