Ubuntu
Dependencies
Install the following packages in your system if they not available yet:
1 2 3sudo apt install \ build-essential \ clang1 2 3 4curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list sudo apt update sudo apt install bazel1 2 3 4wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.211-focal.list https://packages.lunarg.com/vulkan/1.3.211/lunarg-vulkan-1.3.211-focal.list sudo apt update sudo apt install vulkan-sdkVerify that the SDK was successfully installed by running:
1vulkaninfoPython3 dependencies
1sudo apt install python3-pip
Build C++ Libraries
Clone and compile Lluvia’s C++ libraries:
| |
Run the tests to verify that your compilation runs properly:
| |
Python3 package
To build the Python3 package, execute the commands below from the repository’s top-level directory. You can create a virtual environment to isolate the installation:
| |
Open a Python3 interpreter and import lluvia:
| |
If the import completes successfully, lluvia is ready to use.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified November 28, 2022: #118 Support Raspberry Pi 4 (#140) (06a2b56)