![]() ![]() Afterwards, you will find the include files, libraries, and dlls in the subdirectory C:\dev\vcpkg\installed\圆4-windows. ![]() This will take several minutes as it downloads GMP, MPFR, all boost header files, and it will compile GMP and MPFR, as well as several boost libraries. You are now ready to install CGAL: C:\dev\vcpkg>. We refer to the official documentation of vcpkg if you want to compile for an older version of a compiler.īecause of a bug with gmp in vcpkg for windows, you need to install yasm-tool in 32 bits to be able to correctly build gmp 64bits, needed for cgal: C:\dev\vcpkg>. If you develop 64 bit software you must set the Windows environment variable VCPKG_DEFAULT_TRIPLET to 圆4-windows or add the suffix :圆4-windows to the package name you want to install (for example cgal:圆4-windows). C:\dev> git clone īy default vcpkg installs for 32 bit binaries and will use the latest version of Visual C++ installed on your machine. The first step is to clone or download vcpkg from. Installing CGAL with the Vcpkg Library Manager ![]() We explain the two approaches in the next two sections. ![]() On the other hand, if you need to use a specific version, or have already installed a certain version of a dependency and do not wish to potentially have multiple versions installed, you will want to use the CGAL source archive. If you choose to use vcpkg, you might have to bootstrap and download and compile it, but from then on vcpkg will make your life easier. You have two options to install CGAL and its dependencies: you can either use the Vcpkg library manager, which will automatically install an appropriate version of these dependencies as you install CGAL, or you can install the dependencies on your own (making sure that you are using a supported version) by following their respective installation instructions. CGAL 5.6 is supported for the following MS Visual C++ compilers: 14.0, 15.9, 16.0, 17.0 (Visual Studio 2015, 2017, 2019, and 2022).ĬGAL is a library that has mandatory dependencies that must be first installed: Boost and GNU Multiple Precision Arithmetic (GMP) and GNU Multiple Precision Floating-Point Reliably (MPFR) Libraries. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |