26 May 2020 at 23 h 45 min #16390QiParticipant
- The university of Auckland
I installed the CGAL plugin (Window 10) in the following steps:
Step 1: Installing the software CGAL5.0.2
Step 2: Compiling CGAL Libraries
Step 3: Compiling CGalPlugin
In step3, I successfully compiled the CGalPlugin in Cmake.
When I compiling CGALPLUGIN in VS2017,it showed some errors like these:
Error C2660: CGAL::Constrained_triangulation_plus_2<CDT1>::vertices_in_constraint_begin': function does not take 2 arguments； Project: CGALPlugin； File: D:\SOFA\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\Refine2DMesh.inl； CODE: Line 300, Error C2660: 'CGAL::Constrained_triangulation_plus_2<CDT1>::vertices_in_constraint_end': function does not take 2 arguments； Project: CGALPlugin； File: D:\SOFA\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\Refine2DMesh.inl CODE: Line 301.
I don’t know how to solve it.Please help me.Thanks.
I used Sofa v19.12.31 May 2020 at 23 h 45 min #16483HugoKeymaster
- SOFA Consortium
NB: it has recently been decided that a new stable branch would now derive from the last stable release (v20.06) and include all fixes and patches, in order for you to work in best conditions. Stay tuned.
Hugo21 September 2020 at 4 h 03 min #17189SinghParticipant
I see this issue happening in master:
commit c76874b78bd27457f3562aca0ec006ed87d76166 (HEAD -> master, origin/master, origin/HEAD) Merge: 1f180f0676 820dd1e051 Author: Guillaume Paran <email@example.com> Date: Fri Sep 18 11:02:47 2020 +0200 Merge pull request #1487 from coolteemf/Improve_MeshBarycentricMapperEngine [SofaGeneralEngine] Improve mesh barycentric mapper engine
This is the error log I am getting:
38>C:\open_prj\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin/Refine2DMesh.inl(300): error C2660: 'CGAL::Constrained_triangulation_plus_2<CDT1>::vertices_in_constraint_begin': function does not take 2 arguments (compiling source file C:\open_prj\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\Refine2DMesh.cpp) 38>C:\dev\CGAL-5.0.2\include\CGAL/Constrained_triangulation_plus_2.h(793): note: see declaration of 'CGAL::Constrained_triangulation_plus_2<CDT1>::vertices_in_constraint_begin' (compiling source file C:\open_prj\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\Refine2DMesh.cpp) 38>5 October 2020 at 22 h 19 min #17281HugoKeymaster
- SOFA Consortium
thanks @sukhraj for the feedback
This is an error in Refine2DMesh which I reported in a previous SOFA dev meeting. It occurrs with the latest (>=5.0) version of CGAL. I created an issue on this topic here.
Do not hesitate to poke the dev in charge of this topic. (I just did it few minutes ago)
- You must be logged in to reply to this topic.