Skip to content

Commit 0e65970

Browse files
committed
FIX: udpated correct istructions README
1 parent 25af031 commit 0e65970

File tree

8 files changed

+16
-139
lines changed

8 files changed

+16
-139
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
[submodule "deps/open3d"]
99
path = deps/open3d
1010
url = https://github.com/diffCheckOrg/submodule-open3d.git
11+
[submodule "deps/boost"]
12+
path = deps/boost
13+
url = https://github.com/diffCheckOrg/submodule-boost.git

CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ if(WIN32)
8787
endif()
8888
endif()
8989

90-
# # Boost (from system) -----------------------------------------------------
91-
# # download and install from https://sourceforge.net/projects/boost/files/boost-binaries/1.84.0/boost_1_84_0-msvc-14.3-64.exe/download
92-
# find_package(Boost REQUIRED)
90+
# Boost (header only) -----------------------------------------------------
91+
download_submodule_project(boost)
92+
target_link_directories(${SHARED_LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/deps/boost/win/1_89/include/boost-1_85)
9393

94-
# # print boost include dir
95-
# message(STATUS "Boost include dir: ${Boost_INCLUDE_DIRS}")
94+
# print boost include dir
95+
message(STATUS "Boost include dir: ${Boost_INCLUDE_DIRS}")
9696

97-
# target_include_directories(${SHARED_LIB_NAME} PUBLIC ${Boost_INCLUDE_DIRS})
97+
target_include_directories(${SHARED_LIB_NAME} PUBLIC ${Boost_INCLUDE_DIRS})
9898

99-
# # CGAL (header-only) ------------------------------------------------------
100-
# target_include_directories(${SHARED_LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/deps/cgal/include)
99+
# CGAL (header-only) ------------------------------------------------------
100+
target_include_directories(${SHARED_LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/deps/cgal/include)
101101

102102
#--------------------------------------------------------------------------
103103
# executable for prototyping

Dockerfile

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,10 @@ gantt
4747
## 3rd party libraries
4848

4949
The project uses the following 3rd party libraries:
50-
- `Open3d 0.18.0` for 3D point cloud processing it needs to be installed from source [from here](https://github.com/isl-org/Open3D/archive/refs/tags/v0.18.0.zip), unzip the file and by following the instructions below:
51-
```terminal
52-
cd open3d
53-
mkdir build
54-
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="C:\Program Files\Open3D" -S . -B build
55-
cmake --build build --config Release --target ALL_BUILD
56-
cmake --build build --config Release --target INSTALL
57-
```
58-
- `Eigen` for linear algebra (needed by `Open3d`)
50+
- `Open3d 0.18.0` for 3D point cloud processing as pre-build binaries)
51+
- `Eigen` for linear algebra
5952
- `CGAL` for general geometric processing and IO
60-
- `Boost` for general utilities, it needs to be installed from source [from the repo](https://github.com/boostorg/boost) as such:
61-
```terminal
62-
git clone --recursive https://github.com/boostorg/boost.git
63-
cd boost
64-
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="C:\Program Files\Boost" -S . -B build
65-
cmake --build build --config Release --target ALL_BUILD
66-
cmake --build build --config Release --target INSTALL
67-
```
53+
- `Boost` for general utilities as pre-build binaries
6854

6955
## How to build c++ project
7056
To build and test the project, follow the following steps:

cmake/install_open3d.bat

Lines changed: 0 additions & 86 deletions
This file was deleted.

deps/boost

Submodule boost added at ac8c15b

deps/open3d

Submodule open3d updated 1 file

src/diffCheck.hh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#pragma once
22

33

4-
// include CGAL
5-
64
#include <open3d/Open3D.h>
75

86
// diffCheck includes

0 commit comments

Comments
 (0)