Skip to content

Commit f12de10

Browse files
Merge pull request #1980 from alicevision/dev/removeOpengv
Remove opengv from dependencies
2 parents 2624055 + 9ad0983 commit f12de10

File tree

12 files changed

+0
-85
lines changed

12 files changed

+0
-85
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
-DALICEVISION_USE_POPSIFT=ON \
5858
-DALICEVISION_USE_ALEMBIC=ON \
5959
-DOpenCV_DIR="${DEPS_INSTALL_DIR}/share/OpenCV" \
60-
-DALICEVISION_USE_OPENGV=ON \
6160
-DCeres_DIR="${DEPS_INSTALL_DIR}/share/Ceres" \
6261
-DAlembic_DIR="${DEPS_INSTALL_DIR}/lib/cmake/Alembic" \
6362
-DSWIG_DIR="${DEPS_INSTALL_DIR}/share/swig/4.3.0" \
@@ -252,7 +251,6 @@ jobs:
252251
-DALICEVISION_USE_CCTAG=OFF
253252
-DALICEVISION_USE_POPSIFT=OFF
254253
-DALICEVISION_USE_ALEMBIC=ON
255-
-DALICEVISION_USE_OPENGV=OFF
256254
-DALICEVISION_BUILD_PHOTOMETRICSTEREO=OFF
257255
-DALICEVISION_BUILD_SEGMENTATION=OFF
258256
-DALICEVISION_BUILD_SWIG_BINDING=ON

COPYING.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ This program is based on works distributed under the terms of another license(s)
125125
Copyright (c) 2002, Industrial Light & Magic, a division of Lucas Digital Ltd. LLC
126126
Distributed under the [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
127127

128-
* __OpenGV__ (optional)
129-
[https://laurentkneip.github.io/opengv](https://laurentkneip.github.io/opengv)
130-
Copyright (c) 2013 Laurent Kneip, The Australian National University ANU. All rights reserved
131-
Distributed under the [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
132-
133128
* __OpenImageIO__
134129
[https://openimageio.org](https://openimageio.org)
135130
Copyright 2008-2016 Larry Gritz et al.

INSTALL.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Other optional libraries can enable specific features (check "CMake Options" for
4343
* Magma (required for UncertaintyTE)
4444
* Mosek >= 6 (linear programming)
4545
* OpenCV >= 3.4.11 (feature extraction, calibration module, video IO), >= 4.5 for colorchecker (mcc)
46-
* OpenGV (rig calibration and localization)
4746
* OpenMP (enable multi-threading)
4847
* PCL (Point Cloud Library) >= 1.12.1 for the registration module
4948
* PopSift (feature extraction on GPU)
@@ -208,11 +207,6 @@ At the end of the cmake process, a report shows for each library which version (
208207
Build with AprilTag markers support.
209208
`-Dapriltag_DIR:PATH=/path/to/apriltag/install/share/apriltag/cmake` (where apriltagConfig.cmake can be found)
210209
211-
* `ALICEVISION_USE_OPENGV` (default `AUTO`)
212-
Enable use of OpenGV algorithms. Build with openGV for multi-cameras localization.
213-
`-DOPENGV_DIR:PATH=/path/to/opengv/install/` (where the `include` and `lib` folders can be found)
214-
We recommend: `git clone https://github.com/alicevision/opengv.git --branch=cmake_fix_install`
215-
216210
* `ALICEVISION_USE_ALEMBIC` (default `AUTO`)
217211
Build with Alembic file format support (required version >= 1.7).
218212
`-DAlembic_DIR:PATH=/path/to/alembic/install/lib/cmake/Alembic/` (where AlembicConfig.cmake can be found)

docker/Dockerfile_rocky

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ RUN cmake -DCMAKE_BUILD_TYPE=Release \
5454
-DMINIGLOG:BOOL=ON \
5555
-DALICEVISION_USE_CCTAG:BOOL=OFF \
5656
-DALICEVISION_USE_OPENCV:BOOL=ON \
57-
-DALICEVISION_USE_OPENGV:BOOL=ON \
5857
-DALICEVISION_USE_POPSIFT:BOOL=ON \
5958
-DALICEVISION_USE_CUDA:BOOL=ON \
6059
-DALICEVISION_USE_ONNX_GPU:BOOL=OFF \

docker/Dockerfile_rocky_deps

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ RUN test -e /usr/local/cuda/lib64/libcublas.so || ln -s /usr/lib/x86_64-linux-gn
101101
# RUN make -j ${CPU_CORES} turbojpeg
102102
# RUN make -j ${CPU_CORES} assimp
103103
# RUN make -j ${CPU_CORES} geogram
104-
# RUN make -j ${CPU_CORES} opengv
105104
# RUN make -j ${CPU_CORES} lapack
106105
# RUN make -j ${CPU_CORES} suitesparse
107106
# RUN make -j ${CPU_CORES} ceres

docker/Dockerfile_ubuntu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ RUN export CPU_CORES=`${AV_DEV}/docker/check-cpu.sh`; \
5353
-DMINIGLOG:BOOL=ON \
5454
-DALICEVISION_USE_CCTAG:BOOL=ON \
5555
-DALICEVISION_USE_OPENCV:BOOL=ON \
56-
-DALICEVISION_USE_OPENGV:BOOL=ON \
5756
-DALICEVISION_USE_POPSIFT:BOOL=ON \
5857
-DALICEVISION_USE_CUDA:BOOL=ON \
5958
-DALICEVISION_USE_ONNX_GPU:BOOL=OFF \

docker/Dockerfile_ubuntu_deps

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ RUN test -e /usr/local/cuda/lib64/libcublas.so || ln -s /usr/lib/x86_64-linux-gn
109109
# RUN make -j ${CPU_CORES} assimp
110110
# RUN make -j ${CPU_CORES} geogram
111111
# RUN make -j ${CPU_CORES} eigen
112-
# RUN make -j ${CPU_CORES} opengv
113112
# RUN make -j ${CPU_CORES} suitesparse
114113
# RUN make -j ${CPU_CORES} ceres
115114
# RUN make -j ${CPU_CORES} tiff
@@ -123,7 +122,6 @@ RUN test -e /usr/local/cuda/lib64/libcublas.so || ln -s /usr/lib/x86_64-linux-gn
123122
# RUN make -j ${CPU_CORES} SWIG
124123
# RUN make -j ${CPU_CORES} E57Format
125124
# RUN make -j ${CPU_CORES} LEMON
126-
# RUN make -j ${CPU_CORES} opengv
127125
# RUN make -j ${CPU_CORES} OpenMesh
128126
# RUN make -j ${CPU_CORES} flann
129127
# RUN make -j ${CPU_CORES} clp

docker/fetch.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ cmake -P "external/src/gmp-stamp/download-gmp.cmake"
5757
cmake -P "external/src/lapack-stamp/download-lapack.cmake"
5858
cmake -P "external/src/mpfr-stamp/download-mpfr.cmake"
5959
cmake -P "external/src/openexr-stamp/download-openexr.cmake"
60-
# cmake -P "external/src/opengv-stamp/download-opengv.cmake"
6160
cmake -P "external/src/openimageio-stamp/download-openimageio.cmake"
6261
# cmake -P "external/src/pcl-stamp/download-pcl.cmake"
6362
cmake -P "external/src/png-stamp/download-png.cmake"

src/CMakeLists.txt

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ trilean_option(ALICEVISION_USE_OPENMP "Enable OpenMP parallelization" ON)
6363
trilean_option(ALICEVISION_USE_CCTAG "Enable CCTAG markers" AUTO)
6464
trilean_option(ALICEVISION_USE_APRILTAG "Enable AprilTag markers" AUTO)
6565
trilean_option(ALICEVISION_USE_POPSIFT "Enable GPU SIFT implementation" AUTO)
66-
trilean_option(ALICEVISION_USE_OPENGV "Enable use of OpenGV algorithms" AUTO)
6766
trilean_option(ALICEVISION_USE_ALEMBIC "Enable Alembic I/O" AUTO)
6867
trilean_option(ALICEVISION_USE_UNCERTAINTYTE "Enable Uncertainty computation" AUTO)
6968
trilean_option(ALICEVISION_USE_ONNX "Enable ONNX Runtime" AUTO)
@@ -592,26 +591,6 @@ if (NOT ALICEVISION_USE_USD STREQUAL "OFF")
592591
endif()
593592
endif()
594593

595-
# ==============================================================================
596-
# OpenGV
597-
# ==============================================================================
598-
# - optional, it allows to use the generic camera PnP algorithms for rig localization
599-
# ==============================================================================
600-
set(ALICEVISION_HAVE_OPENGV 0)
601-
602-
if (ALICEVISION_BUILD_SFM)
603-
if (NOT ALICEVISION_USE_OPENGV STREQUAL "OFF")
604-
find_package(opengv 1.0 CONFIG)
605-
if (opengv_FOUND)
606-
set(ALICEVISION_HAVE_OPENGV 1)
607-
message(STATUS "OpenGV ${opengv_VERSION} found.")
608-
elseif (ALICEVISION_USE_OPENGV STREQUAL "ON")
609-
message(SEND_ERROR "Failed to find OpenGV.")
610-
endif()
611-
endif()
612-
613-
endif()
614-
615594
# ==============================================================================
616595
# UncertaintyTE
617596
# ==============================================================================
@@ -982,7 +961,6 @@ message("** Use OpenCV SIFT features: " ${ALICEVISION_HAVE_OCVSIFT})
982961
message("** Use PopSift feature extractor: " ${ALICEVISION_HAVE_POPSIFT})
983962
message("** Use CCTAG markers: " ${ALICEVISION_HAVE_CCTAG})
984963
message("** Use AprilTag markers: " ${ALICEVISION_HAVE_APRILTAG})
985-
message("** Use OpenGV for rig localization: " ${ALICEVISION_HAVE_OPENGV})
986964
message("** Use ONNX: " ${ALICEVISION_HAVE_ONNX})
987965
message("** Use ONNX with CUDA: " ${ALICEVISION_HAVE_ONNX_GPU})
988966
message("\n")

src/cmake/AliceVisionConfig.cmake.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
# ALICEVISION_HAVE_POPSIFT - TRUE if the library is built with PopSift support
3636
# ALICEVISION_HAVE_OPENCV - TRUE if the library is built with OpenCV support
3737
# ALICEVISION_HAVE_OPENMP - TRUE if the library is built with openMP support
38-
# ALICEVISION_HAVE_OPENGV - TRUE if the library is built with openGV support
3938
# ALICEVISION_HAVE_ALEMBIC - TRUE if the library is built with Alembic support
4039
#
4140
################################################################################
@@ -73,13 +72,6 @@ if(ALICEVISION_HAVE_POPSIFT)
7372
find_dependency(PopSift 1.0.0)
7473
endif()
7574

76-
# whether it is built with OpenGV
77-
set(ALICEVISION_HAVE_OPENGV @ALICEVISION_HAVE_OPENGV@)
78-
79-
if(ALICEVISION_HAVE_OPENGV)
80-
find_dependency(opengv 1.0)
81-
endif()
82-
8375
# whether it is built with OpenCV
8476
set(ALICEVISION_HAVE_OPENCV @ALICEVISION_HAVE_OPENCV@)
8577

@@ -112,7 +104,6 @@ if(ALICEVISION_BUILD_MVS)
112104
endif()
113105

114106
# propagate other building options
115-
set(ALICEVISION_HAVE_OPENGV @ALICEVISION_HAVE_OPENGV@)
116107
set(ALICEVISION_HAVE_ALEMBIC @ALICEVISION_HAVE_ALEMBIC@)
117108

118109
if(ALICEVISION_HAVE_ALEMBIC)

0 commit comments

Comments
 (0)