-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[compile error] #if #endif pairs did not match in boost\assert.hpp #29
Comments
What's the actual error you are getting? |
One more thing,this error didn't appear when I build with VS2019(VC142) and nvcc from CUDA Toolkit11.4 |
Can you please copy and paste the error, or screenshot it? |
just #if and #endif not match no more thing |
OK please wait 5min |
I've no idea why this would happen, sorry. It's easy to see that all |
Yes,I've also tried to delete part of code,but the error still exist,maybe the reason is VS2022......and this is two questions actually,NVCC.exe always shows "can't open file 'assert.hpp',no aush file or directory" even I add boost to path.......Only by changing the include directory to a pure English absolute path can I solve this.....maybe they will be found and then fixed when PCL 1.13(if it use VC143 on windows) released. |
Now i have already built all parts of pcl,and ensure this error is caused by CUDA,if i build some parts don't use CUDA,it will not appear.but i have no way to solve it. The error "can't open boost/*.hpp"also caused by use CUDA(or some settings is wrong.),which is also not solved. |
You can find the issue contributed by me in pcl |
When I tried to compile PCL(PointCloudLibrary) with the Boost file compiled by myself, the error showed that #if #endif pairs did not match and the error was reported in the assert.hpp file from Boost, so I checked the file in VS2022 and didn't see any error prompt. I have compared the latest version of Boost compiled files, and every line is the same. (Because it is necessary to compile part of the code with NVCC, NVCC always prompts that the *.hpp file of Boost cannot be found. Even though I have completely set it in path and CMake, I changed the include directory to a pure English absolute path, but I think this should not be the reason. ) I hope to get an answer, thank you very much!
My platform: Windows11
Compiler: vs2022 (or vc143) & nvcc (from cuda 11.6)
The text was updated successfully, but these errors were encountered: