How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms

Download How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms

Post on 23-Dec-2015

213 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

<ul><li> Slide 1 </li> <li> How to install CGAL Yuanzhen Wang </li> <li> Slide 2 </li> <li> What is CGAL Computational Geometry Algorithms Library Provide easy access to efficient and reliable geometric algorithms in the form of a C++ library Current Version: 3.6.1 3.7-beta1 License Open Source OS Windows, Unix-like systems and MacOS X </li> <li> Slide 3 </li> <li> What does CGAL offers Data structures &amp; Algorithms Triangulations Mesh generation Geometry Processing More on this link: http://www.cgal.org/Manual/latest/doc_html/cgal_ manual/packages.html#Part:Polyhedra </li> <li> Slide 4 </li> <li> How to install CGAL Prerequisites Compilers Cmake Boost/Boostpro Miscellaneous ( like QT) Configuring CGAL Compiling </li> <li> Slide 5 </li> <li> Prerequisites Compiler Visual Studio 2005 and/or Visual Studio 2008 Cmake A cross-platform software Generate project solution file for different platforms e.g..sln file for Visual Studio; make file in linux Boost Powerful library for extending the C++ STL </li> <li> Slide 6 </li> <li> CMake Download http://www.cmake.org/cmake/resources/softwar e.html http://www.cmake.org/cmake/resources/softwar e.html Install Time 5 min </li> <li> Slide 7 </li> <li> BoostPro Download http://www.boostpro.com/download/ Install Time 2 hours Depends on network speed </li> <li> Slide 8 </li> <li> Configuring CGAL Reboot before configuring CGAL Open Cmake-gui Choose where is the CGAL source code Choose where to put the project solution files </li> <li> Slide 9 </li> <li> Slide 10 </li> <li> Configuring CGAL Click configure Cmake will pop-up a windows to let you choose your compiler. </li> <li> Slide 11 </li> <li> Slide 12 </li> <li> Configuring CGAL Hopefully, everything is OK. And you will see Configuring done </li> <li> Slide 13 </li> <li> Slide 14 </li> <li> Configuring CGAL However, it's possible to see some error information. e.g. can not find BOOST_INCLUDE_DIR You have to add this entry manually. Click add entry Input the entry's name showed in the error message Choose type of that entry Give value to that entry </li> <li> Slide 15 </li> <li> Slide 16 </li> <li> Configuring CGAL Then click Configure again. The Generate button should be available now. </li> <li> Slide 17 </li> <li> Slide 18 </li> <li> Configuring CGAL Go the directory which is input at the first step. The.sln solution file should be there. </li> <li> Slide 19 </li> <li> Slide 20 </li> <li> Compiling CGAL Simply open the CGAL.sln file. Choose Rebuild all </li> <li> Slide 21 </li> <li> Slide 22 </li> <li> Compiling CGAL Rebuid INSTALL separately It completes two jobs: Copy source codes Copy compiled libs </li> <li> Slide 23 </li> <li> Were done! </li> </ul>