Subject: CGAL users discussion list
List archive
- From: Kurt Klaus Horvath <>
- To:
- Subject: Re: [cgal-discuss] problem
- Date: Tue, 3 Apr 2018 13:55:50 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:lMSexR0pd+Pl6XuIsmDT+DRfVm0co7zxezQtwd8ZseIVKvad9pjvdHbS+e9qxAeQG9mDsLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPbQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLniikHOT43/m/Ul8J+kr5UrQm7qBBj2YPZep2ZOOZ8c67bYNgURXBBXsFUVyFZB428cpEPD/YcNuhdq4nyvUYOrQCjDgeuA+Pv0CFIiWXq3a06zu8sFgLG3BE6H9ISs3TUqM/6NLoJUeyvzKnIyi/Db+1M1jfh6IjFaR8hofSWUrJxdcrd01UgFwTAjliJr4HuIj2b1uMIs2eB7upgU/qihHIoqw5rpjij3MAsipPGho4NxVDL6yJ5wIMrKt2kUk56YdCkH4FMuCGGMIt2WMMjT3t0tyY9z70Lv4OwcisSyJk/2RLTd/iKf5KL7x/jTuqdPyp0iXF/dL+wiRu/91WrxPfmWcmuyllKqzJIktnSuXAJ0Bze8s2HReF8/kelwDqP0AHT5v1dLUA6mqfWJYQtwrE3lpoUvkTDGjH5lF/qg6+Rc0Uo4umo6+L5bbX6vpKQKZN4hwXkPqktmsGzG/o0PhUNUmSB9umx2qXv/UjjT7VLiv02nLPZsJffJckDpa65HhVV0pog6xa7FTimzc8YkWMHLFJCYhKHkZLmO03OIP3jAve/hk6jkDZvx/zcIrLhBZDNImDZkLj9ZbZ991JcyA0rwN9D6JJbELUBLOvuVU/wr9zXEgI5Mxevw+v8E9V81oYeWXqVDaODMaPSt0WI5uM1LOWWao8VomW1F/9w7PHniTo1mEQWYLKy9ZoRcnGxWPp8cGuDZn+5ocobDS8pugMjV6TKj0ecWCJTLyKxQrgg5TUyFZngDYDZWImxgJSO2S66GttdYWUQWQPEKmvha4jRA6REUymVOMI0ymVVB4jkcJco0FSVjCG/zrNmKuTO/ShB7MDs0dF046vYkhRgrGUoXfTY6HmESiRPpk1NXyU/hfktrkl0y1PF2q990aQBSI5joshRWwJ/Dqbyiux3D9eoB1DEd9aNDVGnGpCoXWp3QdU2zNsDJU16Hof6gw==
Hi,
thx indeed that solved it, i did just add
CGAL_EIGEN3_ENABLED
\br
On Tue, Apr 3, 2018 at 12:42 PM, Simon Giraudot <> wrote:
Hello,
CGAL::Monge_via_jet_fitting has 3 template arguments and you only provided the first one, see documentation: https://doc.cgal.org/latest/Jet_fitting_3/classCGAL_1_1Monge__via__jet__fitting.html
The documentation also mentions "If CGAL_EIGEN3_ENABLED is defined, LocalKernel and SvdTraits template parameters have defaults, Simple_cartesian<double> and Eigen_svd respectively". This is the case for the example that is compiled using the Eigen library (this is why only the first template argument is specified here). If you want to get the same behavior, you need to compile using Eigen too.
Best,
-- Simon Giraudot, PhD R&D Engineer GeometryFactory - http://geometryfactory.com/
Le 03/04/2018 à 12:34, Kurt Klaus Horvath a écrit :
Hallo,based on the sample "\examples\Ridges_3\Compute_Ridges_Umbilics.cpp" i try to setup my own application but there seems to be some kind of dependency or template problem which i dont really understand
1) i can compile the sample program and run it using visual studio 2015
2) i did try to setup a small standalone application and to isolate the problem. visual studio 2015 and also 2017 tell me:
error C2976: 'CGAL::Monge_via_jet_fitting': too few template arguments
error C2955: 'CGAL::Monge_via_jet_fitting': use of class template requires template argument list
it seems there is a problem with the interpretation of the of the template, here is my test-application################################include "stdafx.h"#include <CGAL/Monge_via_jet_fitting.h>
int main(){typedef CGAL::Simple_cartesian<double> Kernel;
typedef CGAL::Monge_via_jet_fitting<Kernel> Monge_via_jet_fitting;typedef Monge_via_jet_fitting::Monge_form Monge_form;
return 0;}##################################
is there any kind of special setting i need to apply? the cmake files used by cgal seems to do some settings which does fix that but i couldnt really find out what it is
i use "CGAL-4.12-beta1"
\br & thx
Kurt
- [cgal-discuss] problem, Kurt Klaus Horvath, 04/03/2018
- Re: [cgal-discuss] problem, Simon Giraudot, 04/03/2018
- Re: [cgal-discuss] problem, Kurt Klaus Horvath, 04/03/2018
- Re: [cgal-discuss] problem, Simon Giraudot, 04/03/2018
Archive powered by MHonArc 2.6.18.