Last active
August 10, 2023 14:33
-
-
Save neuged/5cfa7e016f381bb587fcd9634f524896 to your computer and use it in GitHub Desktop.
A build of the Nexus software used to create compressed, streamable 3d model files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Built according to: https://github.com/cnr-isti-vclab/nexus/blob/master/INSTALL.md | |
FROM ubuntu:20.04 | |
ARG VERSION_NEXUS=93ee0c0 | |
ARG VERSION_VCG=2020.09 | |
ARG VERSION_CORTO=0540d33 | |
ARG VERSION_GLEW=glew-2.2.0 | |
WORKDIR /nxbuilds | |
RUN apt-get update \ | |
&& DEBIAN_FRONTEND="noninteractive" apt-get -y install \ | |
git \ | |
build-essential \ | |
cmake \ | |
qt5-default \ | |
# the following are needed for glew | |
python libxmu-dev libxi-dev libgl-dev \ | |
# Clone nexus, dependencies | |
&& git clone https://github.com/cnr-isti-vclab/nexus.git && cd nexus && git checkout $VERSION_NEXUS && cd ..\ | |
&& git clone https://github.com/cnr-isti-vclab/vcglib.git && cd vcglib && git checkout $VERSION_VCG && cd ..\ | |
&& git clone https://github.com/cnr-isti-vclab/corto.git && cd corto && git checkout $VERSION_CORTO && cd ..\ | |
&& git clone https://github.com/nigels-com/glew.git && cd glew && git checkout $VERSION_GLEW && cd ..\ | |
# Build and install dependencies: corto, glew | |
&& cd corto && cmake ./ && make && make install && ldconfig && cd .. \ | |
&& cd glew/auto && make && cd ../.. \ | |
&& cd glew && make && make install && make clean && cd .. \ | |
# Build | |
&& cd nexus/src \ | |
&& cd nxsbuild && qmake nxsbuild.pro && make && cd .. \ | |
&& cd nxsedit && qmake nxsedit.pro && make && cd .. \ | |
&& cd nxsedit && qmake nxscompress.pro && make && cd .. \ | |
&& cd nxsview && qmake nxsview.pro && make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment