Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Triangulated Surface Mesh Skeletonization compile errors

Subject: CGAL users discussion list

List archive

[cgal-discuss] Triangulated Surface Mesh Skeletonization compile errors


Chronological Thread 
  • From: mathde <>
  • To:
  • Subject: [cgal-discuss] Triangulated Surface Mesh Skeletonization compile errors
  • Date: Fri, 19 Jan 2018 10:49:34 -0700 (MST)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
  • Ironport-phdr: 9a23:115vMB/UQmAszP9uRHKM819IXTAuvvDOBiVQ1KB41+8cTK2v8tzYMVDF4r011RmVBdyds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+54Dfbx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRhHohikZNDA37W7YhdB/gq9AvBKspQBzz5LIbI2JKvZzeL7Wc9MARWpGW8ZcTylBDZmgb4sPEuUOI/tToo76p1sKsxS/CgqsBOT1yj9Oh3/33bM10+IiEQHBxwEgENcOv27VrNXxLqsdTee1zKzRwDjFcvhY1zD96I3SfRAgp/GBRbRwftDKxkY0EwPKkE+cppDiPzOQzugCr2eb4PBkVe61jG4nsQ5xrz6yzckvkonEnp8Zx1Ha+Slj3oo4JdO1RFRmbdOqHpZcrSOXO5VwT8g/WW9nojw6xacDuZOjfCgF1pAnxxnHZvyBfIWE+BTjW/yKLjhjgHJqZqiziAq18Uil0uH8V8+030hWriddj9XBt24B2wbN5sWHRPZx5Fqt1DiB2gzJ6OxIP1g4la/BJJ4gxr4wmIATsUPGHiLun0X2iLGZd0on+uiv8eTnZLTmp5+COI9yiQH+Nb8jmsO6AesiMwgOW3KX9vi71L3m5UH5WqlFjuUqkqnFt5DXPdgUpqGjDA9Ry4os9he/Dyy639QFhnkHN0lIeAmHjojsI1HBOur0Dfa5g1S2kTdk3erKPrP7AsaFEn+Wm7joefNx6lVX1REo5dFZ/ZNdTL8bc9zpXUqksdXEDhM0e1izx+v3C9Jn0IIPVGSMBYeWNarTtRmD4ed5cLrEX5McpDuoc6tt3PXpl3JswQZML5ns5oMebTWDJtojJkyYZXT2hdJYSDUFuwM/SKrhj1jQCmcPNUb3ZLo143QAMKzjFZ3KH9n/j7mI3SP9FZpTNDgfVwK8VEzwfoDBYM8iLSKfJsg4z24CCf6nQoUr0Rzovwj/meNq

Hi,

I'm new to C++ and CGAL, previously I worked mainly with C#.
I installed CGAL as described on https://www.cgal.org/download/windows.html
and all steps finished successfully.
Then I looked to a CGAL 'Hello world'
(https://doc.cgal.org/latest/Manual/Kernel_23_2points_and_segment_8cpp-example.html);
here I had no problem also; all the code was compiled and run propertly.
But when I tried with more complex things I got a strange issue. For example
I tried to compile Skeletonization
(https://doc.cgal.org/latest/Surface_mesh_skeletonization/Surface_mesh_skeletonization_2simple_mcfskel_example_8cpp-example.html);
here I got a number of errors like these:
C2039 'extract_mean_curvature_flow_skeleton': is not a member of 'CGAL'
C2039 'Matrix': is not a member of 'CGAL::Default'
C2039 'Vector': is not a member of 'CGAL::Default' Skelet
As far as I understand it the #include lines processed without errors, all
needed headers exist.

I tried to search the answer and found this:
http://cgal-discuss.949826.n4.nabble.com/Problem-on-Surface-mesh-deformation-td4661042.html
Unfortunately I don't be sure my case is similar and I don't know what
exactly do the line #define CGAL_EIGEN3_ENABLED as recommended there. In any
case I tried to add it and got the same errors as previous if this #define
inserted after #include <CGAL/extract_mean_curvature_flow_skeleton.h>; in
different case arise a lot of errors like this:
LNK2019 unresolved external symbol __imp___gmpq_add referenced in function
"class CGAL::Gmpq __cdecl CGAL::operator+(class CGAL::Gmpq const &,class
CGAL::Gmpq const &)" (??HCGAL@@YA?AVGmpq@0@AEBV10@0@Z)

I'm stumped and have no ideas how to fix above. Please help me to solve this
problem and start with CGAL.
Thanks, Oleksandr



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page