Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] cmake error
- Date: Mon, 18 Mar 2019 07:54:16 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:lKhjiBONXjanbyfHeI8l6mtUPXoX/o7sNwtQ0KIMzox0Ivv4rarrMEGX3/hxlliBBdydt6sczbKP+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhUiDanfb9+MQi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzpXOb42JLvdzZL/RcN0YSGdHQ81fVzZBAoS5b4YXE+cBO/tXr5PjqFQUthu1GAmiC/n0xT9Sh3/9wKo33P4nEQ7bxgwvAcgBsG/OoNX7LqgdSvq1zKjTwDXMcfxW3jL955bUchA7ofCMU6h/ftbNyUkoDQPEjk+cppDiPzOQz+kAtXWQ4eRnVeKqkWEnqgdxryCgxsctlonJhp8VxUve+Splx4Y1IMW0R1J0YdG+FJtcrSaaN5F5Qs86X25ooD46xqcGuZGlZigF1pIqzAPcZfyfa4WF7RPuWPyMLTtkhH9pYrKyiwqo/UWu1OHwTs253EpQoidGk9TArG4B2wDN5sSdV/dx4Eis1DCS3A7J8O5EO1o7la/DJp4h3LEwkp0TvFzBEyPsnUX2i66be0E+9uit8evnY7HmqoabN49plgHyKKMumtK/AegiNAgBQXSb9fy91L3l40L5XK1Hg/I3n6XDrZzWOcQWqrS5DgNJyIou5QizAy+j0NsCnHkHKFxFeAiAj4jsI1zBOvb4Auqlg1uyijhr3OrKPrP7DZrWNHjDkazsfblj5E5bzQo808xf54hUC7EPOv38RlPxtNvCDh45KQC73+HnCNBl2oMERW2PGrOZML/VsVKQ+u0vLPODZIsMtDngKvgl/OLhjWIimV8GZqSpxpsWaHWgHvt8OUmZYHzsgs0AEWgQpAY+Qvbq2xW+VmtYaH+2Gq49/TomE5mODIHZR4nrjqbS8j28G8h/YGxcB1mXWVnhfZ+FE6MFbi6IL8Z61DINX6KgY4As0hSjqBXrxbNsMu3O62sTspe1h4s93PHaiRxnrW88NM+ayWzYFzglzFNNfCc/2eVEmWI4z16C1aZihPkCTI5c6vRMXxsgJJDVxPB9EcG0UQXELI/QFASWB+6+CDR0deofhscUahwkSdqviRXOwzC7DbYei7uRFdo/9aeOhyGsdfY48G7P0ewat3djQsZLMjf71PE58g+NVsjMmkSd0qG3aeIbwi6L8mqfnzKD
Can you put a self-contained .ccp on https://gist.github.com/ Best, Andreas On 3/18/2019 5:13 AM, Megan Yociss
wrote:
Hello,
I am working on a python wrapper for the labeled image meshing capability. My code is practically identical to this example https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_3D_image_8cpp-example.html, although the method is not defined as a main method. The file is named mesh_utils.cpp. Here is the code within CMakeLists.txt: # Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications. project( geometry_core ) cmake_minimum_required(VERSION 2.8.11) # CGAL and its components find_package( CGAL QUIET COMPONENTS ) if ( NOT CGAL_FOUND ) message(STATUS "This project requires the CGAL library, and will not be compiled.") return() endif() # include helper file include( ${CGAL_USE_FILE} ) # Boost and its components find_package( Boost REQUIRED ) if ( NOT Boost_FOUND ) message(STATUS "This project requires the Boost library, and will not be compiled.") return() endif() add_library(mesh_utils mesh_utils.cpp) link_libraries(mesh_utils CGAL::CGAL)
Running make produces this error:
wrong number of template arguments (1, should be at least
2)
typedef CGAL::Labeled_mesh_domain_3<K> Mesh_domain;
Thank you so much for any advice you can offer me; I am a
new C++ programmer so it is hopefully something simple that
I have overlooked (although I have been working on fixing
this error for some time now).
-- Andreas Fabri, PhD Chief Officer, GeometryFactory Editor, The CGAL Project phone: +33.492.954.912 skype: andreas.fabri |
- [cgal-discuss] cmake error, Megan Yociss, 03/18/2019
- Re: [cgal-discuss] cmake error, Andreas Fabri, 03/18/2019
- Re: [cgal-discuss] cmake error, Laurent Rineau (CGAL/GeometryFactory), 03/18/2019
- Re: [cgal-discuss] cmake error, myociss, 03/19/2019
Archive powered by MHonArc 2.6.18.