pcl
pcl copied to clipboard
[compile error] some hpp files can't open when i compilating pcl by myself
some *.hpp files like boost/mpl/assert.hpp can't open while i compilating pcl form source.
- OS: Windows11
- Compiler: Visual Studio 2019
- PCL Version 1.12
- PCL Type: Compiled from source
- GPU, CUDA enabled
- boost 1.78(all are form all in one installer)
- debug x64
How can i solve this?
here is the cmake setting of boost
@Bzz2745 I am not very familiar with the all-in-one installer, but I believe that you have to install Boost in some other way if you want to compile PCL yourself, because the all-in-one installer doesn't contain all necessary header files.
@Bzz2745 I am not very familiar with the all-in-one installer, but I believe that you have to install Boost in some other way if you want to compile PCL yourself, because the all-in-one installer doesn't contain all necessary header files.
it just over here.......TAT
@Bzz2745 I am not very familiar with the all-in-one installer, but I believe that you have to install Boost in some other way if you want to compile PCL yourself, because the all-in-one installer doesn't contain all necessary header files.
and another .hpp files also could found.......
@Bzz2745 Can you try adding /boost-1_78
at the end of CMake's Boost_INCLUDE_DIR
@Bzz2745 Can you try adding
/boost-1_78
at the end of CMake'sBoost_INCLUDE_DIR
i have alreay try it,but it doesn't work....
@larshg Can you take a look
As a @mvieth mentioned @Bzz2745 you should compile boost from the source: Check this gist for compiling Boost on windows using MinGW https://gist.github.com/sim642/29caef3cc8afaa273ce6
I have successfully compiled pcl (except kinfu), the reason for the error that I cannot find the .hpp file before is that nvcc does not correctly recognize my relative path, I don't know if it is my setting is wrong or it is just like this (so I Use notepad++ to change all the paths of the included boost header files in the generated files of the boost library compiled by myself to absolute paths, and do the same for the projects generated by CMAKE.). Hopefully this problem can be solved in the future, because it's really tortured. Finally, thanks to everyone who answered my question.
Hi @Bzz2745, you should close this issue if is already resolved.