[compile error] #if #endif pairs did not match in boost\assert.hpp
- Lenguaje dominante
- C++
- Estrellas
- 35
- Forks
- 77
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza inspeccionando boost/assert.hpp y reproduciendo el error de preprocesamiento reportado con la configuración indicada de Windows 11, VS2022 o vc143, y nvcc de CUDA 11.6. Compara el comportamiento de las rutas de inclusión y del preprocesamiento de NVCC con el caso funcional de Visual Studio; el trabajo se considera terminado cuando se haya identificado si la discrepancia está en Boost.Assert o en el entorno de compilación y se haya documentado una causa reproducible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- compilers
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100