Giter Site home page Giter Site logo

Comments (4)

wangguan1995 avatar wangguan1995 commented on June 14, 2024

cgal_create_CMakeLists

https://stackoverflow.com/questions/60032728/unknown-cmake-command-create-single-source-cgal-program

from cgal.

wangguan1995 avatar wangguan1995 commented on June 14, 2024
Scanning dependencies of target voronoi
[  1%] Building CXX object CMakeFiles/voronoi.dir/voronoi.cpp.o
In file included from /workspace/wangguan/cgal/Triangulation_2/examples/Triangulation_2/../../include/CGAL/Delaunay_triangulation_2.h:19,
                 from /workspace/wangguan/cgal/Triangulation_2/examples/Triangulation_2/voronoi.cpp:2:
/workspace/wangguan/cgal/Triangulation_2/examples/Triangulation_2/../../include/CGAL/Triangulation_2.h:17:10: fatal error: CGAL/disable_warnings.h: No such file or directory
 #include <CGAL/disable_warnings.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/voronoi.dir/build.make:62: recipe for target 'CMakeFiles/voronoi.dir/voronoi.cpp.o' failed
make[2]: *** [CMakeFiles/voronoi.dir/voronoi.cpp.o] Error 1
CMakeFiles/Makefile2:125: recipe for target 'CMakeFiles/voronoi.dir/all' failed
make[1]: *** [CMakeFiles/voronoi.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

from cgal.

wangguan1995 avatar wangguan1995 commented on June 14, 2024

GPT4:
The error message “No such file or directory” typically means that the compiler can’t find the file you’re trying to include.

CGAL/disable_warnings.h is a header file from the Computational Geometry Algorithms Library (CGAL). If you’re getting this error, it probably means one of the following things:

CGAL is not correctly installed on your system. You can download it from https://www.cgal.org/download.html.

The include path for CGAL is not correctly set in your project settings or makefile. If CGAL is installed, but your compiler doesn’t know where to look for it, you’ll need to add the correct directory to your include path.

The file disable_warnings.h doesn’t exist, has been deleted, or has been moved to a different location. This seems unlikely because disable_warnings.h is a part of CGAL, and so should be included when you install the library.

To fix the error, you should double-check that CGAL is installed correctly and that your compiler knows where to find it. If you’re using a build system like cmake or a specific IDE, you might need to update some settings there.

from cgal.

wangguan1995 avatar wangguan1995 commented on June 14, 2024

pb solved forget to install boost and gmr blar blar blar

from cgal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.