Home › Forum › SOFA › Getting Started › [SOLVED] Errors when installing the CGAL plugin
Tagged: 64_bits, CGAL plugin, Plugin_other, SOFA_1912, Windows_10
- This topic has 4 replies, 4 voices, and was last updated 3 years, 9 months ago by Guillaume.
-
AuthorPosts
-
26 May 2020 at 23:45 #16390QiBlocked
Hi,
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 CGalPluginIn 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:45 #16483HugoKeymasterHi @qzha862
Thank you for opening the issue #1389 on GitHub.
This was indeed an issue in the previous release. It was fixed in the master branch in the PR #1308.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.
Best
Hugo
21 September 2020 at 04:03 #17189SinghBlockedI see this issue happening in master:
commit c76874b78bd27457f3562aca0ec006ed87d76166 (HEAD -> master, origin/master, origin/HEAD) Merge: 1f180f0676 820dd1e051 Author: Guillaume Paran <guillaume.paran@sofa-framework.org> 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:19 #17281HugoKeymasterthanks @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)
Best,Hugo
5 February 2021 at 11:52 #18530GuillaumeKeymasterHi guys,
Since the issue linked by Hugo has been fixed, I mark this topic as Solved. Do not hesitate to answer if it’s not.
-
AuthorPosts
- You must be logged in to reply to this topic.