You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work on MSVC compiler testing, and we regularly build popular open-source project including PrusaSlicer, with development builds of MSVC in order to find and fix regressions before they ship and cause problems for you.
Recently, as I build PrusaSlicer from source with MSVC, I encountered the following error:
C:\gitP\prusa3d\PrusaSlicer\deps\PrusaSlicer-deps\dep_OpenVDB-prefix\src\dep_OpenVDB\openvdb\openvdb\points\AttributeSet.cc(270,25): error C2039: 'unique': is not a member of 'std::shared_ptr<openvdb::v8_2::points::AttributeArray>'
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\memory(1560,7): note: see declaration of 'std::shared_ptr<openvdb::v8_2::points::AttributeArray>'
C:\gitP\prusa3d\PrusaSlicer\deps\PrusaSlicer-deps\dep_OpenVDB-prefix\src\dep_OpenVDB\openvdb\openvdb\points\AttributeSet.cc(279,22): error C2039: 'unique': is not a member of 'std::shared_ptr<openvdb::v8_2::points::AttributeArray>'
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\memory(1560,7): note: see declaration of 'std::shared_ptr<openvdb::v8_2::points::AttributeArray>'
I look it up in openVDB and found out that they have committed a fix #98176b for this issue last year. Any chance you guys can update your copy of openVDB?
Download AttributeSet.txt
Note: Modify the path to include folders and AtrributeSet.cc in AttributeSet.txt based on where you git clone the repo or this command will not work
The text was updated successfully, but these errors were encountered:
NEIL-smtg
changed the title
Compile error in openvdb\points\AttributeSet.cc with c++20 or later
[MSVC] Compile error in openvdb\points\AttributeSet.cc with c++20 or later
Sep 19, 2024
Description of the bug
I work on MSVC compiler testing, and we regularly build popular open-source project including PrusaSlicer, with development builds of MSVC in order to find and fix regressions before they ship and cause problems for you.
Recently, as I build PrusaSlicer from source with MSVC, I encountered the following error:
I look it up in openVDB and found out that they have committed a fix #98176b for this issue last year. Any chance you guys can update your copy of openVDB?
Project file & How to reproduce
Repro Step:
Simple repro after msbuild:
Note: Modify the path to include folders and AtrributeSet.cc in AttributeSet.txt based on where you git clone the repo or this command will not work
Build log: ps.txt
Checklist of files included above
Version of PrusaSlicer
latest commit
Operating system
windows 11
Printer model
The text was updated successfully, but these errors were encountered: