Skip to content

Commit

Permalink
Add Mvs-Texturing
Browse files Browse the repository at this point in the history
  • Loading branch information
dakotabenjamin committed Mar 24, 2016
1 parent 3be6db8 commit 31e3203
Show file tree
Hide file tree
Showing 20 changed files with 1,193 additions and 424 deletions.
4 changes: 3 additions & 1 deletion SuperBuild/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ set(custom_libs OpenGV
Catkin
Ecto
LAStools
PDAL)
PDAL
MvsTexturing
)

foreach(lib ${custom_libs})
SETUP_EXTERNAL_PROJECT_CUSTOM(${lib})
Expand Down
29 changes: 29 additions & 0 deletions SuperBuild/cmake/External-MvsTexturing.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
set(_proj_name mvstexuring)
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")

ExternalProject_Add(${_proj_name}
DEPENDS
PREFIX ${_SB_BINARY_DIR}
TMP_DIR ${_SB_BINARY_DIR}/tmp
STAMP_DIR ${_SB_BINARY_DIR}/stamp
#--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
URL https://github.com/nmoehrle/mvs-texturing/archive/dab68acaa693275c183c254a958130ee6d29c3e4.zip
URL_MD5 0b0466f5d1046699594ce7fc77bdad02
#--Update/Patch step----------
UPDATE_COMMAND ""
#--Configure step-------------
SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name}
CMAKE_ARGS
-DRESEARCH=OFF
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
#--Build step-----------------
BINARY_DIR ${_SB_BINARY_DIR}
#--Install step---------------
INSTALL_DIR ${SB_INSTALL_DIR}
#--Output logging-------------
LOG_DOWNLOAD OFF
LOG_CONFIGURE OFF
LOG_BUILD OFF
)
Empty file modified ccd_defs_check.py
100755 → 100644
Empty file.
8 changes: 8 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@ sudo apt-get install build-essential \
git \
python-pip \
libgdal-dev \
gdal-bin \
libgeotiff-dev \
pkg-config -y

# If we have ubuntu version 14.04, the cmake version in apt-get is too low for mvs-texturing.
if [[ `lsb_release -rs` == "14.04" ]];
then
bash upgradecmake.sh
fi

if [ $? -ne 0 ]
then
echo -e "\e[1;31mERROR: \e[39mWhen Installing Required Requisites\e[0m"
Expand Down
Empty file modified hooks/pre-commit
100755 → 100644
Empty file.
203 changes: 0 additions & 203 deletions modules/odm_georef/CMakeLists.txt.user

This file was deleted.

Loading

0 comments on commit 31e3203

Please sign in to comment.