Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] disable autolinking?
- Date: Thu, 31 Mar 2011 21:19:01 +0200
- Organization: GeometryFactory
Le jeudi 31 mars 2011 20:45:12, Dominik Szczerba a écrit :
> > 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.
>
> I found a possible reason: there is this line:
>
> /DEFAULTLIB:"CGAL-vc100-mt.lib"
:-)
Recompile the CGAL lib itself with CGAL_NO_AUTOLINK!
> So now I am "only" left with this error:
>
> Error 1 error LNK2005: _pRawDllMain already defined in
> mfcs100.lib(rawdllmainproxy.obj)
> E:\build\framework\trunk\vtkMy\Filtering\l
> ibboost_thread-vc100-mt-1_46_1.lib(tss_pe.obj)
>
> which according to google indicates the need to link with the DLL
> version of boost. This one, however, does not seem to be supported by
> CGAL/cmake, see the other thread of mine. Ideas how to solve it are
> most welcome.
No clue.
--
Laurent Rineau, PhD
Release Manager of the CGAL Project http://www.cgal.org/
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
- [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.