Subject: CGAL users discussion list
List archive
- From: Dominik Szczerba <>
- To:
- Subject: Re: [cgal-discuss] disable autolinking?
- Date: Thu, 31 Mar 2011 20:27:18 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=ZA6yNKIqtiRy8qC/PZ6saWXY+okvbsz/tS/wSPLn8Tz0ynmXS6Zmy6tHEcJmG7klz6 onRozTQ8vdGXc6L5fzF6UtXtkNRnLj74j0dA4fYjBeravxwKBNgKwpicpBTYsGYcj8h2 nQ11B2SjLaE3QMj4UzspeUxoAXYu36CEZCt0k=
>> > 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)?
This is the error reported during linking by Visual Studio:
Error 411 error LNK1104: cannot open file 'CGAL-vc100-mt.lib'
However, this name DOES NOT appear in the project dependencies
(project->properties), so it must be generated dynamically. I want to
link to CGAL-vc100-mt-g.lib, this one is in the dependencies, but is
ignored. This should not happen, because CGAL_NO_AUTOLINK is defined.
CGAL_LIB_DIAGNOSTIC is also defined, but "Linking to lib file:
CGAL_LIB_FULL_NAME" does not seem to be displayed, which means that it
is not auto_link.h that is causing this. Very weird.
>
>> > /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.
I have looked inside the file and can not find any traces of a
variable hardcoding CGAL-vc100-mt.lib name.
Regards,
Dominik
- [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Laurent Rineau (GeometryFactory), 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Laurent Rineau (GeometryFactory), 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Laurent Rineau (GeometryFactory), 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Laurent Rineau (GeometryFactory), 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Dominik Szczerba, 03/31/2011
- Re: [cgal-discuss] disable autolinking?, Laurent Rineau (GeometryFactory), 03/31/2011
Archive powered by MHonArc 2.6.16.