Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update third-party: JLinkage and use FetchContent for it #102

Merged
merged 66 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
d74d513
init migration.
B1ueber2y Aug 25, 2024
75379f3
formatting.
B1ueber2y Aug 25, 2024
518ec41
update.
B1ueber2y Sep 4, 2024
cc0fc78
Merge branch 'main' into features/colmap_head
B1ueber2y Nov 20, 2024
beca63d
seems to be working
B1ueber2y Nov 20, 2024
3833cbe
skip copying to source
B1ueber2y Nov 21, 2024
b7b4d51
merge with main
B1ueber2y Nov 21, 2024
f1fdfbb
fix. remove poselib include
B1ueber2y Nov 23, 2024
6ec3768
fix non void
B1ueber2y Nov 23, 2024
adadd98
switch to official libigl
B1ueber2y Nov 23, 2024
733f474
use fetch content for poselib. update readme.
B1ueber2y Nov 23, 2024
e270af7
fetch content for colmap
B1ueber2y Nov 23, 2024
3451f5f
update readme. no need for colmap installation
B1ueber2y Nov 23, 2024
ee3ac85
update cmakelist
B1ueber2y Nov 23, 2024
940723b
fix install
B1ueber2y Nov 24, 2024
c59946f
update readme
B1ueber2y Nov 24, 2024
fcfc915
init build in ci
B1ueber2y Nov 24, 2024
94dab59
add script
B1ueber2y Nov 24, 2024
c2506d8
update
B1ueber2y Nov 24, 2024
10ef8b1
update
B1ueber2y Nov 24, 2024
81de36d
update
B1ueber2y Nov 24, 2024
dd59083
update
B1ueber2y Nov 24, 2024
41d0338
update
B1ueber2y Nov 24, 2024
ab68838
update
B1ueber2y Nov 24, 2024
baf82ba
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 24, 2024
a85c966
update
B1ueber2y Nov 24, 2024
20d0fc1
update ci.
B1ueber2y Nov 24, 2024
1ac6904
update
B1ueber2y Nov 24, 2024
de1e5fd
jkldfjs
B1ueber2y Nov 24, 2024
1a539da
reset
B1ueber2y Nov 24, 2024
ebb455d
update
B1ueber2y Nov 24, 2024
ed45995
fix submodule
B1ueber2y Nov 24, 2024
8a62586
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 24, 2024
c10839c
remove tp_lsd from third-party and update installation guide
B1ueber2y Nov 24, 2024
bbfc627
remove lbd and update installation guide
B1ueber2y Nov 24, 2024
5ee1c73
put hawp as separate installation
B1ueber2y Nov 24, 2024
ac60f01
minor update on docs
B1ueber2y Nov 24, 2024
10fa5b5
Merge branch 'fix/third_party' into features/ci_test
B1ueber2y Nov 24, 2024
d5ec878
update requirements.txt
B1ueber2y Nov 24, 2024
4e84b4a
merge fix/third_party
B1ueber2y Nov 24, 2024
61bcefe
add setuptools
B1ueber2y Nov 24, 2024
3e0b5e3
update
B1ueber2y Nov 24, 2024
6c03b11
update
B1ueber2y Nov 24, 2024
47cc740
update
B1ueber2y Nov 24, 2024
72126af
add v flag
B1ueber2y Nov 24, 2024
1ff3b33
try to disable cuda for colmap
B1ueber2y Nov 26, 2024
fa853ec
fix binding
B1ueber2y Nov 26, 2024
c129c87
move CUDA_ENABLED to top level
B1ueber2y Nov 26, 2024
6e14755
fix copy in pybind
B1ueber2y Nov 26, 2024
215aa50
switch to clang-format 19.1.0 and use pip
B1ueber2y Nov 26, 2024
f0513bc
upgrade deeplsd
B1ueber2y Nov 26, 2024
39b7c81
use logging from pycolmap
B1ueber2y Nov 26, 2024
2957ebf
disable parallelization in fitnmerge
B1ueber2y Nov 26, 2024
8d40cd8
fix formatting
B1ueber2y Nov 26, 2024
ceb400a
fix formatting
B1ueber2y Nov 26, 2024
c0014a0
E501
B1ueber2y Nov 26, 2024
bb3fcf8
fix scripts
B1ueber2y Nov 26, 2024
ae0872f
remove python json logger
B1ueber2y Nov 26, 2024
804595e
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 26, 2024
ad32a40
fix copy constructor for other classes
B1ueber2y Nov 26, 2024
aa615ae
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 26, 2024
023ce45
use system JLinkage
B1ueber2y Nov 26, 2024
ab0fb3e
use fetch content
B1ueber2y Nov 26, 2024
2bf0af8
merge with main
B1ueber2y Nov 28, 2024
4f83e8d
fix merge
B1ueber2y Nov 28, 2024
0f15352
upgrade pytlsd and gluestick
B1ueber2y Nov 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
[submodule "third-party/Hierarchical-Localization"]
path = third-party/Hierarchical-Localization
url = https://github.com/cvg/Hierarchical-Localization.git
[submodule "third-party/JLinkage"]
path = third-party/JLinkage
url = https://github.com/B1ueber2y/JLinkage
[submodule "third-party/RansacLib"]
path = third-party/RansacLib
url = https://github.com/B1ueber2y/RansacLib.git
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ option(INTERPOLATION_ENABLED "Whether to enable interpolation-based pixel-perfec
option(FETCH_POSELIB "Whether to use PoseLib with FetchContent or with self-installed software" ON)
option(FETCH_COLMAP "Whether to use COLMAP with FetchContent or with self-installed software" ON)
option(CUDA_ENABLED "Whether to use CUDA (only for the third-party COLMAP)" OFF)
option(FETCH_JLINKAGE "Whether to use JLinkage with FetchContent or with self-installed software" ON)

include(cmake/FindDependencies.cmake)
include(cmake/InitVariables.cmake)
Expand All @@ -41,7 +42,6 @@ link_directories(${LIMAP_LINK_DIRS})

# Add sources
add_subdirectory(third-party)
include_directories(${JLINKAGE_INCLUDE_DIRS})
include_directories(${RANSACLIB_INCLUDE_DIRS})
add_subdirectory(limap)

Expand Down
13 changes: 13 additions & 0 deletions cmake/FindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,16 @@ else()
endif()
message(STATUS "Configuring COLMAP... done")

# JLinkage
FetchContent_Declare(JLinkage
GIT_REPOSITORY https://github.com/B1ueber2y/JLinkage.git
GIT_TAG 452d67eda005db01a02071a5af8f0eced0a02079
EXCLUDE_FROM_ALL
)
message(STATUS "Configuring JLinkage...")
if (FETCH_JLINKAGE)
FetchContent_MakeAvailable(JLinkage)
else()
find_package(JLinkage REQUIRED)
endif()
message(STATUS "Configuring JLinkage... done")
7 changes: 6 additions & 1 deletion cmake/InitVariables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ else()
list(APPEND LIMAP_EXTERNAL_LIBRARIES PoseLib)
endif()

if(NOT FETCH_JLINKAGE)
list(APPEND LIMAP_EXTERNAL_LIBRARIES JLinkage::JLinkage)
else()
list(APPEND LIMAP_EXTERNAL_LIBRARIES JLinkage)
endif()

# Internal libraries
set(LIMAP_INTERNAL_LIBRARIES
HighFive
pybind11::module
JLinkage
igl::core
)

Expand Down
4 changes: 2 additions & 2 deletions limap/vplib/JLinkage/JLinkage.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "vplib/JLinkage/JLinkage.h"

#include <VPCluster.h>
#include <VPSample.h>
#include <JLinkage/include/VPCluster.h>
#include <JLinkage/include/VPSample.h>
#include <third-party/progressbar.hpp>

namespace limap {
Expand Down
1 change: 0 additions & 1 deletion third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
add_subdirectory(HighFive)
add_subdirectory(pybind11)
add_subdirectory(JLinkage)
add_subdirectory(libigl)
add_subdirectory(RansacLib)
2 changes: 1 addition & 1 deletion third-party/GlueStick
1 change: 0 additions & 1 deletion third-party/JLinkage
Submodule JLinkage deleted from 3787a8