Skip to content

Commit e82eeb6

Browse files
committed
update doc
1 parent d09c1a6 commit e82eeb6

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

doc/ubuntu_cliantro_build.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
### Building SurfelWarp on Ubuntu 16.04/18.04 with `cliantro`
2+
3+
You need a nvidia GPU with `CUDA >= 9` installed (`CUDA 10` is OK). To choose the CUDA architecture [compatible](https://en.wikipedia.org/wiki/CUDA#GPUs_supported) with your `CUDA` version and graphics card, thereby also reducing compile time, pass `-DCUDA_ARCH=<arg>` to CMake, where `<arg>` is a two-digit compile compatibility version, e.g. "61", or choose this number from the corresponding drop-down in `cmake-gui`.
4+
5+
Then, you need to install `cliantro` by following [this document](https://github.com/weigao95/surfelwarp/blob/master/doc/cilantro_build.md). To switch to `cilantro` and effectively remove the `PCL` dependency, pass `-DVISUALIZATION_LIBRARY=cilantro` and `-Dcilantro_DIR=<path_to_cilantro_install_directory>` when you run `cmake` or fill in the corresponding `cmake-gui` options.
6+
7+
The code also depends on `OpenCV` and `GLFW`. On Ubuntu, you can run the following command to install these dependencies:
8+
9+
```shell
10+
sudo apt-get install libopencv-dev libglfw3 libglfw3-dev
11+
```
12+
13+
Now you are ready to build (remember to add cmake arguments as necessary):
14+
15+
```shell
16+
git clone https://github.com/weigao95/surfelwarp
17+
cd surfelwarp
18+
mkdir build && cd build
19+
cmake ..
20+
make
21+
```
22+
23+
If the build is successful, you might continue with the [run instruction](https://github.com/weigao95/surfelwarp).
24+

doc/ubuntu_pcl_build.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
### Building SurfelWarp on Ubuntu 16.04 with `PCL 1.8`
2+
3+
You need a nvidia GPU with `CUDA 9` installed. Note that `CUDA 10` is not compatible with `PCL 1.8` and doesn' work. If you want to build with `CUDA 10`, please follow this document.
4+
5+
To choose the CUDA architecture [compatible](https://en.wikipedia.org/wiki/CUDA#GPUs_supported) with your `CUDA` version and graphics card, thereby also reducing compile time, pass `-DCUDA_ARCH=<arg>` to CMake, where `<arg>` is a two-digit compile compatibility version, e.g. "61", or choose this number from the corresponding drop-down in `cmake-gui`.
6+
7+
In addition to `CUDA` , the code depends on `PCL`, `OpenCV` and `GLFW`. On Ubuntu, you can run the following command to install these dependencies:
8+
9+
```shell
10+
sudo apt-get install libpcl-dev libopencv-dev libglfw3 libglfw3-dev
11+
```
12+
13+
Now you are ready to build (remember to add cmake arguments as necessary):
14+
15+
```shell
16+
git clone https://github.com/weigao95/surfelwarp
17+
cd surfelwarp
18+
mkdir build && cd build
19+
cmake ..
20+
make
21+
```
22+
23+
If the build is successful, you might continue with the [run instruction](https://github.com/weigao95/surfelwarp).
24+

0 commit comments

Comments
 (0)