ai4ce / peac

[ICRA2014] Fast Plane Extraction Using Agglomerative Hierarchical Clustering (AHC)
133 stars 34 forks source link

Resolve compilation errors #5

Closed blurgyy closed 2 years ago

blurgyy commented 3 years ago

I have changed the code to compile with newer libraries. Specifically:

pcl: 1.11.1 opencv: 4.5.1 boost: 1.75.0 gcc/g++: 10.2.0 cmake: 3.19.6

Please consider merging this, thank you!

Signed-off-by: Gaoyang Zhang blurgy@zju.edu.cn

johntranz commented 3 years ago

Can you update more steps to Cmake, I don't really have much experience with Cmake, so need your help ! Thanks you so much !

blurgyy commented 3 years ago

Can you update more steps to Cmake, I don't really have much experience with Cmake, so need your help ! Thanks you so much !

@Jane-Tran cpp/CMakeLists.txt is not changed. For the original code (or the version in this pull request) you can go to peac/cpp and do:

$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make

If compilation succeeds, 4 executables should show up in peac/cpp/build.

johntranz commented 3 years ago

Thanks for the above tutorial, i am currently having problem with OPENCV link, i will try to fix it myself before asking for your help. Also, can you please give me some real-time images or videos when using the algorithm for plane detection? Wait for your reply !