cgal

Compiling a static executable with CMake

為{幸葍}努か 提交于 2019-11-26 22:14:54
问题 for a project I need to create an executable that includes all the libraries that I used (opencv, cgal) in order to execute it on a computer that has not those libraries. Currently, this is my CMakeLists.txt (I use linux). cmake_minimum_required(VERSION 2.8) #set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -O2") project( labeling ) set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") add_library(OpenCV STATIC IMPORTED) add_library

Visual C++: How to disable specific linker warnings?

别说谁变了你拦得住时间么 提交于 2019-11-26 12:56:10
问题 I\'m using a library from CGAL which during the linking stage of my code compilation produces a lot of linking warnings of this form: warning LNK4099: PDB \'vc80.pdb\' was not found with \'gmp-vc80-mt-sgd.lib\' or at \'vc80.pdb\'; linking object as if no debug info How do I turn off this specific linker warning under Visual C++/Studio 2008? Note that I do not have any control on the external (CGAL) library which I am using. I cannot/donot want to get into recompiling the external library.

Polygon Triangulation with Holes

北城以北 提交于 2019-11-26 12:52:04
问题 I am looking for an algorithm or library (better) to break down a polygon into triangles. I will be using these triangles in a Direct3D application. What are the best available options? Here is what I have found so far: Ben Discoe\'s notes FIST: Fast Industrial-Strength Triangulation of Polygons I know that CGAL provides triangulation but am not sure if it supports holes. I would really appreciate some opinions from people with prior experience in this area. Edit: This is a 2D polygon. 回答1:

CMake is not finding Boost

坚强是说给别人听的谎言 提交于 2019-11-26 09:37:00
问题 I am trying to install CGAL. They describe their installation process as ever-so-simple here, section 6.1. When I run cmake-gui and then click configure , I get the following output: CMake Error at D:/program files/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1192 (message): Unable to find the requested Boost libraries. Boost version: 1.51.0 Boost include path: D:/program files/boost_1_51 The following Boost libraries could not be found: boost_thread boost_system No Boost libraries were