romxero/ceres_and_colmap:source
$ singularity pull shub://romxero/ceres_and_colmap:source
Singularity Recipe
Bootstrap: docker
From: ubuntu:16.04
%labels
Author "Randall Cab White - rcwhite@stanford.edu"
#########
#%setup
#########
##Just grabbing default packages from ubuntu repository
%post
apt-get -ym update
apt-get -ym install \
git \
cmake \
build-essential \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-graph-dev \
libboost-regex-dev \
libboost-system-dev \
libboost-test-dev \
libeigen3-dev \
libsuitesparse-dev \
libfreeimage-dev \
libgoogle-glog-dev \
libgflags-dev \
libglew-dev \
qtbase5-dev \
libqt5opengl5-dev \
libcgal-dev
apt-get -ym install libcgal-qt5-dev
apt-get -ym install libatlas-base-dev libsuitesparse-dev
git clone https://ceres-solver.googlesource.com/ceres-solver
git clone https://github.com/colmap/colmap.git
cd ceres-solver
git checkout $(git describe --tags) # Checkout the latest release
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
make
make install
cd ../..
cd colmap
git checkout dev
mkdir build
cd build
# cmake -DCMAKE_EXE_LINKER_FLAGS="-static -ldl -lc" \
# -DCMAKE_FIND_LIBRARY_SUFFIXES=".a" ..
cmake ../
make
make install
%environment
export IMAGE_NAME="CERES SOLVER AND COLMAP"
# export LANGUAGE = ""
# export LC_ALL = (unset)
# export LANG = "en_US.UTF-8"
Collection
- Name: romxero/ceres_and_colmap
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/romxero-ceres_and_colmap-source |
collection name | romxero/ceres_and_colmap |
branch | master |
tag | source |
commit | b891be6dd468e6f44a225846c6d59079a642d47a |
version (container hash) | 46b1457abbe1765575f2f36651ef6579 |
build date | 2018-11-01T03:16:08.897Z |
size (MB) | 1192 |
size (bytes) | 358236191 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
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.