Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error C2664 in voronoi_triangulation_intersection.hpp #2

Open
iDsy opened this issue May 1, 2017 · 1 comment
Open

error C2664 in voronoi_triangulation_intersection.hpp #2

iDsy opened this issue May 1, 2017 · 1 comment

Comments

@iDsy
Copy link

iDsy commented May 1, 2017

Hi, Im fresh in CGAL and MA and Im using CGAL4.9. There are issues in voronoi_triangulation_intersection.hpp:

error C2664: 'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_triangulation_vertex_base_2<GT,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Default,CGAL::Default,CGAL::Default>,false> MA::nearest_vertex<Kernel_,RT_Traits>(const CGAL::Regular_triangulation_2<RT_Traits,CGAL::Triangulation_data_structure_2<CGAL::Regular_triangulation_vertex_base_2<GT,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Regular_triangulation_face_base_2<RT_Traits,CGAL::Triangulation_face_base_2<Gt,CGAL::Triangulation_ds_face_base_2>>>> &,const CGAL::Point_2<Kernel_> &)' : cannot convert argument 1 from 'const Regular_triangulation' to 'const CGAL::Regular_triangulation_2<RT_Traits,CGAL::Triangulation_data_structure_2<CGAL::Regular_triangulation_vertex_base_2<RT_Traits,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Regular_triangulation_face_base_2<RT_Traits,CGAL::Triangulation_face_base_2<Gt,CGAL::Triangulation_ds_face_base_2>>>> &' D:\works\OMT_to_Siyan\include\MA\voronoi_triangulation_intersection.hpp

error C2664: 'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_triangulation_vertex_base_2<GT,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Default,CGAL::Default,CGAL::Default>,false> MA::nearest_vertex<Kernel_,RT_Traits>(const CGAL::Regular_triangulation_2<RT_Traits,CGAL::Triangulation_data_structure_2<CGAL::Regular_triangulation_vertex_base_2<GT,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Regular_triangulation_face_base_2<RT_Traits,CGAL::Triangulation_face_base_2<Gt,CGAL::Triangulation_ds_face_base_2>>>> &,const CGAL::Point_2<Kernel_> &)' : cannot convert argument 1 from 'const Regular_triangulation' to 'const CGAL::Regular_triangulation_2<RT_Traits,CGAL::Triangulation_data_structure_2<CGAL::Regular_triangulation_vertex_base_2<RT_Traits,CGAL::Triangulation_ds_vertex_base_2>,CGAL::Regular_triangulation_face_base_2<RT_Traits,CGAL::Triangulation_face_base_2<Gt,CGAL::Triangulation_ds_face_base_2>>>> &' D:\works\OMT_to_Siyan\include\MA\voronoi_triangulation_intersection.hpp

look for help!

@mrgt
Copy link
Owner

mrgt commented May 1, 2017

Could you be more precise ? What compiler are you using ? Also, does the error come from one of the examples or tests in the repository or from one of your programs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants