Unable to fix the problem:

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to fix the problem:

Chaman Singh Verma
Hello,


I have been trying hard to fix the following compilation error, but so far no clue.


/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20: error: expected nested-name-specifier before ‘property_map_value’
   typedef typename property_map_value<PolygonMesh,
                    ^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20: error: expected ‘;’ at end of member declaration
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:38: error: expected unqualified-id before ‘<’ token
   typedef typename property_map_value<PolygonMesh,
                                      ^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:40: error: ‘Point’ was not declared in this scope
   typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
                                        ^
/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:45: error: template argument 1 is invalid
   typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;

csv


Reply | Threaded
Open this post in threaded view
|

Re: Unable to fix the problem:

andreas.fabri

It seems rather obvious to me



On 11/12/2016 14:07, Chaman Singh Verma wrote:

> Hello,
>
>
> I have been trying hard to fix the following compilation error, but so
> far no clue.
>
>
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20:
> error: expected nested-name-specifier before ‘property_map_value’
>    typedef typename property_map_value<PolygonMesh,
>                     ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20:
> error: expected ‘;’ at end of member declaration
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:38:
> error: expected unqualified-id before ‘<’ token
>    typedef typename property_map_value<PolygonMesh,
>                                       ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:40:
> error: ‘Point’ was not declared in this scope
>    typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
>                                         ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:45:
> error: template argument 1 is invalid
>    typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
>
> csv
>
>

--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Unable to fix the problem:

Chaman Singh Verma
Hello.

What is the way to fix this ?

csv




From: Andreas Fabri <[hidden email]>
To: [hidden email]
Sent: Sunday, December 11, 2016 9:27 AM
Subject: Re: [cgal-discuss] Unable to fix the problem:


It seems rather obvious to me



On 11/12/2016 14:07, Chaman Singh Verma wrote:

> Hello,
>
>
> I have been trying hard to fix the following compilation error, but so
> far no clue.
>
>
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20:
> error: expected nested-name-specifier before ‘property_map_value’
>    typedef typename property_map_value<PolygonMesh,
>                    ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:20:
> error: expected ‘;’ at end of member declaration
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:40:38:
> error: expected unqualified-id before ‘<’ token
>    typedef typename property_map_value<PolygonMesh,
>                                      ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:40:
> error: ‘Point’ was not declared in this scope
>    typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
>                                        ^
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_processing/internal/named_params_helper.h:44:45:
> error: template argument 1 is invalid
>    typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
>
> csv

>
>

--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Reply | Threaded
Open this post in threaded view
|

Re: Unable to fix the problem:

Laurent Rineau (CGAL/GeometryFactory)
In reply to this post by Chaman Singh Verma
Le Sunday, December 11, 2016 1:07:59 PM CET Chaman Singh Verma a écrit :

> Hello,
>
> I have been trying hard to fix the following compilation error, but so far
> no clue.
>
> /home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_pr
> ocessing/internal/named_params_helper.h:40:20: error: expected
> nested-name-specifier before ‘property_map_value’   typedef typename
> property_map_value<PolygonMesh,                  
> ^/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_
> processing/internal/named_params_helper.h:40:20: error: expected ‘;’ at end
> of member
> declaration/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Pol
> ygon_mesh_processing/internal/named_params_helper.h:40:38: error: expected
> unqualified-id before ‘<’ token   typedef typename
> property_map_value<PolygonMesh,                                    
> ^/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_
> processing/internal/named_params_helper.h:44:40: error: ‘Point’ was not
> declared in this scope   typedef typename
> CGAL::Kernel_traits<Point>::Kernel Kernel;                                
>      
> ^/home/csverma/Disk/Software/CompGeom/CGAL/V4.9/include/CGAL/Polygon_mesh_
> processing/internal/named_params_helper.h:44:45: error: template argument 1
> is invalid   typedef typename CGAL::Kernel_traits<Point>::Kernel Kernel;
> csv

Hi, from the information you gave us, there is no way we can understand what
happened. We would need a way to reproduce it. The general information about
bug reporting is here: http://www.cgal.org/bug_report.html

At the very least we need to know:
  - which operating system (Windows, Linux...?) and which version,
  - which compiler (g++, clang, cl.exe...?) and which version,
  - what code you were trying to compile.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss