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: Cody M Rose <>
  • To:
  • Subject: Re: [cgal-discuss] building CGAL for static runtime
  • Date: Fri, 11 Sep 2009 09:59:08 -0700
  • Priority: normal

That would definitely solve the problem, but I'm on Windows, so I'm using the
precompiled binaries that come with CGAL. The correct binary is included, I
just can't figure out how to link to it.

Cody

----- Original Message -----
From: "Laurent Rineau (GeometryFactory)"
<>
Date: Friday, September 11, 2009 12:57 am
Subject: Re: [cgal-discuss] building CGAL for static runtime
To:


> 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/
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page