mardi 18 juillet 2017

compilation error in CGAL4.10 - DBL_MAX in CGAL AABB_traits.h

I am using CGAL's AABB for my project. I had no problem with CGAL3.9. But, now I am using a cluster which has CGAL4.10. When I compile my code, I get the following error.

/apps/cgal/4.10/gnu/include/CGAL/AABB_traits.h:125:20: error: 'DBL_MAX' was not declared in this scope

    FT t_near = -DBL_MAX; // std::numeric_limits<FT>::lowest(); C++1903

I know that DBL_MAX is defined in but I can not edit the CGAL source in the cluster as I don't have root privileges.

Please help me in sorting out this issue.

Aucun commentaire:

Enregistrer un commentaire