Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] building CGAL for static runtime

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] building CGAL for static runtime


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] building CGAL for static runtime
  • Date: Fri, 11 Sep 2009 09:57:18 +0200
  • Organization: GeometryFactory

On Friday 11 September 2009 07:31:17 Cody M Rose wrote:
> I need to build CGAL for the static runtime, since another library I'm
> using in my project uses it (and I can't change that). I managed to get
> CGAL itself built properly (by changing flags in Cmake), but when I try to
> link my project, I get a bunch of unresolved externals used in CGAL::Gmpz
> stuff. From what I can tell, I'm not building the static version of the
> Gmpz libraries (it looks like if you want multithreading, you get dynamic,
> but I want multithreaded static.) I couldn't find anything in Cmake having
> to do with static versus dynamic Gmpz. How can I do what I want to do?

If you had posted the error log, it would probably illustrate my intuition:
you need to recompile gmp in static mode as well.

--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page