Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: How to use CGAL functions directly in my source code, without using cmake?
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: How to use CGAL functions directly in my source code, without using cmake?
- Date: Thu, 06 Oct 2011 07:36:02 +0200
If you are expected to compile on one platform, my advice would be to
first use cmake on a CGAL example and then do "make VERBOSE=True".
You will then see the command used to compile the example.
You will see for example that you need to link with libCGAL.
Note that some options used for the compiler are specific to the
platform used and are set when configuring CGAL.
Sebastien.
Yuliya Tarabalka wrote:
When I start including headers, for instance #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
I get an error:
Undefined symbols:
"CGAL::assertion_fail(char const*, char const*, int, char const*)",
referenced from: __static_initialization_and_destruction_0(int, int)in heap.o
//many similar lines with different object files...
__static_initialization_and_destruction_0(int, int)in
eliminate_artifacts.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [myprogram] Error 1
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-use-CGAL-functions-directly-in-my-source-code-without-using-cmake-tp3875930p3876238.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?, Yuliya Tarabalka, 10/05/2011
- Re: [cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?, Josh Stratton, 10/05/2011
- [cgal-discuss] Re: How to use CGAL functions directly in my source code, without using cmake?, Yuliya Tarabalka, 10/05/2011
- Re: [cgal-discuss] Re: How to use CGAL functions directly in my source code, without using cmake?, Sebastien Loriot (GeometryFactory), 10/06/2011
- [cgal-discuss] Re: How to use CGAL functions directly in my source code, without using cmake?, Yuliya Tarabalka, 10/05/2011
- Re: [cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?, Josh Stratton, 10/05/2011
Archive powered by MHonArc 2.6.16.