Xrvitd / CWF

Code of CWF: Consolidating Weak Features in High-quality Mesh Simplification, ACM Transactions on Graphics, SIGGRAPH 2024
https://ruixu.me/html/CWF/index.html
GNU Affero General Public License v3.0
226 stars 14 forks source link

Compilation with C++17 #6

Closed afabri closed 1 month ago

afabri commented 3 months ago

Hello, The problem with C++17 is the fact that you are using namespace std; here

If you remove this line and prefix string, vector, etc. with std:: avoids the ambiguity concerning byte. This forum article gave the hint.

Note that the upcoming release of CGAL requires C++17. Switching will also require some changes in CMakeLists.txt files, but that is another story. Best, Andreas

afabri commented 1 month ago

Fixed by PR #7