Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] disable autolinking?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] disable autolinking?


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] disable autolinking?
  • Date: Thu, 31 Mar 2011 17:40:30 +0200
  • Organization: GeometryFactory

On jeudi 31 mars 2011 17:34:23 Dominik Szczerba wrote:
> On Thu, Mar 31, 2011 at 4:04 PM, Laurent Rineau (GeometryFactory)
>
> <>
> wrote:
> > On jeudi 31 mars 2011 14:50:07 Dominik Szczerba wrote:
> >> I have compiled only one version of CGAL (RelWithDebInfo) and the
> >> library is named CGAL-vc100-mt-g.lib. But linking to CGAL from my app I
> >> get an error that CGAL-vc100-mt.lib is not found.
> >
> > Is that an error of the linker, or is that an error of the makefiles
> > produced by CMake (and the error would be an error given my make or
> > nmake).

Actually, it was a question. Is that an error of the linker, or is that an
error of the makefiles produced by CMake (and the error would be an error
given my make or nmake)?

> > /D CGAL_NO_AUTOLINK should disable the autolinking of all CGAL libraries.
>
> I do this and still get my own libraries ignored for the non-existent
> ones. I understand that RelWithDebInfo is not supported but still, I
> should be able to link against any library I want at own risk with
> autolinking disabled, no?

If my hypothesis is right, the error you have is created by CMake. Open and
edit the content of CGALConfig.cmake that is in the lib/ directory when you
have CGAL-vc100*.lib.

(Please answer preferably to the list without CC to me.)



Archive powered by MHonArc 2.6.16.

Top of Page