Download presentation
Presentation is loading. Please wait.
Published byIrene Perry Modified over 9 years ago
1
How to install CGAL Yuanzhen Wang
2
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
3
What does CGAL offers Data structures & Algorithms Triangulations Mesh generation Geometry Processing More on this link: http://www.cgal.org/Manual/latest/doc_html/cgal_ manual/packages.html#Part:Polyhedra
4
How to install CGAL Prerequisites Compilers Cmake Boost/Boostpro Miscellaneous ( like QT) Configuring CGAL Compiling
5
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
6
CMake Download http://www.cmake.org/cmake/resources/softwar e.html http://www.cmake.org/cmake/resources/softwar e.html Install Time 5 min
7
BoostPro Download http://www.boostpro.com/download/ Install Time 2 hours Depends on network speed
8
Configuring CGAL Reboot before configuring CGAL Open Cmake-gui Choose where is the CGAL source code Choose where to put the project solution files
10
Configuring CGAL Click “configure” Cmake will pop-up a windows to let you choose your compiler.
12
Configuring CGAL Hopefully, everything is OK. And you will see “Configuring done”
14
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
16
Configuring CGAL Then click “Configure” again. The “Generate” button should be available now.
18
Configuring CGAL Go the directory which is input at the first step. The.sln solution file should be there.
20
Compiling CGAL Simply open the CGAL.sln file. Choose “Rebuild all”
22
Compiling CGAL Rebuid “INSTALL” separately It completes two jobs: Copy source codes Copy compiled libs
23
We’re done!
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.