![]() If CMake is not installed already you can obtain it from. In order to configure, build, and install the CGAL libraries, examples and demos, you need CMake, a cross-platform "makefile generator". Please refer to CMake's documentation for further information. ![]() Attention Recent versions of CMake are needed for recent versions of MS Visual C++. It may work for older versions of the above listed compilers. CGAL 4.14.1 is supported, that is continuously tested, for the following compilers/operating systems: Compiler ![]() In order to build the CGAL libraries, you need a C++ compiler. The CGAL manual must be downloaded separately from. The only documentation shipped with CGAL sources is the present installation manual. OpenNL is not part of CGAL and has its own license. The directory include/CGAL/OpenNL contains a distribution of the Open Numerical Library which provides solvers for sparse linear systems, especially designed for the Computer Graphics community. Core is not part of CGAL and has its own license. The directories include/CGAL/CORE and src/CGALCore contain a distribution of the Core library version 1.7 for dealing with algebraic numbers. This directory contains the following subdirectories: Directoryĭemo programs (most of them need Qt, geomview or other third-party products) In both cases the directory CGAL-4.14.1 will be created. Under a Unix-like shell, use the command: tar.gz containing the CGAL sources, you have to unpack it. You can obtain the CGAL library from and install it yourself.Īfter you have downloaded the file CGAL-4.14.1. However, you will need to compile the library using your favorite compiler.Ī tutorial is provided on how to proceed with Microsoft Visual Studio. It is a self extracting executable that installs the CGAL source, and that allows you to select and download some precompiled third party libraries. You can download and run CGAL-4.14.1 -Setup.exe from. On other distributions, please consult your package manager documentation. Sudo port install cgal +qt5 +universal +demosįor instance in debian/Ubuntu, use apt-get in the following way:Ĭheck the CGAL-FAQ for source repository of newest releases. For Windows, an installer is provided.įor instance, use macports in the following way: Some operating systems with package managers offer CGAL and its essential third party software through the manager, for instance, Mac OS X, or some Linux distribution (e.g. Installing CGAL requires a few components to be installed ahead: a supported compiler (see Section Supported Compilers, CMake, Boost, and at least Gmp, and Mpfr see Section Essential Third Party Libraries for more details on essential third party software. In a less ideal world, you probably have to install CMake, a makefile generator, and third party libraries. Where the second line creates a CMakeLists.txt file (check its options in Section cgal_create_CMakeLists for various details). # configure the demosĬompiling an own non-shipped program is also close: # configure the examplesĬd demo/Triangulation_2 # go to a demo directoryĬmake -DCGAL_DIR=$HOME/CGAL-4.14.1. This document describes how to install CGAL on Windows, Unix-like systems, and MacOS X.Ĭompiling an example or a demo shipped with CGAL is similarly simple:Ĭd examples/Triangulation_2 # go to an example directoryĬmake -DCGAL_DIR=$HOME/CGAL-4.14.1. Authors Eric Berberich, Joachim Reichel, and Fernando Cacciola
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |