Here is my compilation context :
- MSVC 2019 - Release x64
- Windows SDK 10.0.26100.0
- Language Standard ISO C++ 17
When uncommenting #define CSG_OCC in CSG_Adapter.cpp (ln 26), I got multiple errors that seems all related to namespaces :
'csg': is not a member of 'carve'
'CSG': is not a member of 'carve'
'csg': the symbol to the left of a '::' must be a type
'CSG': the symbol to the left of a '::' must be a type
'OP': is not a member of 'carve'
Steps to reproduce :
- Download the current source code
- Open the solution IfcPlusPlus.sln with Visual Studio 2019
- Check "Release" build
- Add the include path to OpenCascade library
- Uncomment #define CSG_OCC in CSG_Adapter.cpp (ln 26)
- Hit compile
However this work for the Debug configuration, yet I can't seem to detect what configuration of the project causes this behaviour, can someone point me to what may be wrong ?