[compile error] #if #endif pairs did not match in boost\assert.hpp
- Lingua principale
- C++
- Stelle
- 35
- Fork
- 77
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia ispezionando boost/assert.hpp e riproducendo l’errore di pre-processing segnalato con la configurazione indicata composta da Windows 11, VS2022 o vc143 e nvcc di CUDA 11.6. Confronta il comportamento del percorso di inclusione e del pre-processing di NVCC con il caso funzionante di Visual Studio; il lavoro è completato quando viene identificato se la discrepanza si trova in Boost.Assert o nell’ambiente di compilazione e viene documentata una causa riproducibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- compilers
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100