- This topic has 4 replies, 2 voices, and was last updated 11 months, 3 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › errors when compiling CGALPLUGIN in VS2017
Tagged: 64_bits, Plugin_other, SOFA_other, VS2017, Windows_10
Hi
When I compiling CGALPLUGIN in VS2017,it showed some errors like these.I use the version of SOFA on the master branch and CGAL4.7.
C2988 unrecognizable template declaration/definition (compiling source file D:\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\DecimateMesh.cpp) CGALPlugin C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory 18
C2143 syntax error: missing ';' before '<' (compiling source file D:\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\DecimateMesh.cpp) CGALPlugin C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory 18
C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file D:\sofa\src\applications\plugins\CGALPlugin\src\CGALPlugin\MeshGenerationFromPolyhedron.cpp) CGALPlugin C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xmemory 18
I don’t know how to solve it.Please help me.Thanks.
John
Do you install CGAL package CGAL? if not, I think you should try to download and install it.
HI.Thanks for your reply.
I have installed CGAL4.7 and run the CGAL demo Triangulation_2 successfully.But there are some errors as was stated above when compiling CGALPLUGIN.
CGAL4.7 it is too old. I think you should try to upgrade toward the latest version 5.0
Thanks for your advice. it works and the problem is solved.
Best Regards
Get involved in this forum:
A problem to create a topic, to reply or any other forum-related issue, please let us help!