您的位置:首页 > 产品设计 > UI/UE

how to build a cgal program in qt under ubuntu

2016-02-17 02:32 1151 查看
when you create a new project, don't forget to add the following sentence in .pro file

LIBS += -lCGAL -lCGAL_Core


it will  remind the system to link CGAL library.

TEMPLATE = app

CONFIG += console c++11

CONFIG -= app_bundle

CONFIG -= qt


SOURCES += main.cpp


LIBS += -lCGAL -lCGAL_Core



Then you can paste the source code you want in CGAL library into main.cpp, then change it  as you like.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: