CGAL configuration in Linux

Source: Internet
Author: User

In Linux, configure CGAL 1. First install Boost, download the latest boost, and decompress it to a directory. first compile and generate the boost Installation Tool bjam to go to the boost directory for execution :. /bootstrap. sh and then execute the generated. /bjam compilation starts. It takes about half an hour to complete compilation .. /Bjam install copy the compiled header file in the current directory to the corresponding location: There is a header folder under/usr/local/include to boost, there is boost library 2 in/usr/local/lib. Installing m4, GMP, mfpr, and m4 can be downloaded directly from the software center, or apt-get install can also be; gmp and mfpr can be directly downloaded and then compiled. /configure, make, make check, and make install settings. mfpr depends on mfpr during installation. We recommend that you use mfpr ". /configure -- with-gmp-include =/usr/local/include -- with-gmp-lib =/usr/local/lib "" make, make check, make install "3, to install cgal, refer to cmake-gui. make sudo make install the default header file is installed in usr/local/include/, and the library file is installed in usr/local/lib /.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.