deep-point-map-compression icon indicating copy to clipboard operation
deep-point-map-compression copied to clipboard

setup octree-handler problem

Open Py-debug opened this issue 3 years ago • 3 comments

when I install the 3rdparty dependencies, I meet the problem:

deep-point-map-compression/submodules/octree_handler$ pip3 install -U .

the problem is:

/home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp: In member function ‘Eigen::MatrixXf Octree::computeEigenvaluesNormal(const float&)’: /home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp:181:12: error: ‘cout’ is not a member of ‘std’ 181 | std::cout << "sing: " << singularv | ^~~~ /home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp:9:1: note: ‘std::cout’ is defined in header ‘’; did you forget to ‘#include ’? 8 | #include <eigen3/Eigen/Dense> +++ |+#include 9 | #include make[2]: *** [src/CMakeFiles/octree_handler.dir/build.make:63:src/CMakeFiles/octree_handler.dir/OctreeHandler.cpp.o] error 1 make[1]: *** [CMakeFiles/Makefile2:94:src/CMakeFiles/octree_handler.dir/all] error 2 make: *** [Makefile:84:all] error 2

I solve this probelm by add #include <iostream> to deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.h

So if anyone meets the same problem, this method may work.

Py-debug avatar Sep 10 '22 12:09 Py-debug

I get same problem.Have you solved it?

Pomato1999 avatar Oct 24 '22 08:10 Pomato1999

I add the iostream in .h file, or .cpp;

U can try, and I make it

Best wishes

发件人: @.*** @.> 代表 Pomato1999 发送时间: 2022年10月24日 16:57 收件人: PRBonn/deep-point-map-compression @.> 抄送: solider @.>; Author @.> 主题: Re: [PRBonn/deep-point-map-compression] setup octree-handler problem (Issue #6)

I get same problem.Have you solved it?

— Reply to this email directly, view it on GitHub https://github.com/PRBonn/deep-point-map-compression/issues/6#issuecomment-1288679857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYRT7KU6O4X5WP3VTQKP3WEZFNXANCNFSM6AAAAAAQJKAI7I . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHKYRT7SGITLCKH7LK33WZDWEZFNXA5CNFSM6AAAAAAQJKAI7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMZ6Y3C.gif Message ID: @.*** @.***> >

Py-debug avatar Oct 24 '22 12:10 Py-debug

#include

发件人: @.*** @.> 代表 Pomato1999 发送时间: 2022年10月24日 16:57 收件人: PRBonn/deep-point-map-compression @.> 抄送: solider @.>; Author @.> 主题: Re: [PRBonn/deep-point-map-compression] setup octree-handler problem (Issue #6)

I get same problem.Have you solved it?

— Reply to this email directly, view it on GitHub https://github.com/PRBonn/deep-point-map-compression/issues/6#issuecomment-1288679857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYRT7KU6O4X5WP3VTQKP3WEZFNXANCNFSM6AAAAAAQJKAI7I . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHKYRT7SGITLCKH7LK33WZDWEZFNXA5CNFSM6AAAAAAQJKAI7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMZ6Y3C.gif Message ID: @.*** @.***> >

Py-debug avatar Oct 24 '22 12:10 Py-debug