Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase


Chronological Thread 
  • From: "Fernando Cacciola" <>
  • To: <>
  • Subject: Re: [cgal-discuss] Re: VS2008 link problems: ContainerBase
  • Date: Fri, 2 May 2008 14:32:08 -0300
  • Organization: Geometry Factory

Ophir Setter wrote:
Did you compile boost for vc 9.0? I got the _Container_base error using
boost not compile in vc 9.0 and not because of CGAL. Anyway, I now run CGAL
and boost on VC9 with no problems.


_Container_base is part of the MSVC CRT, so you'll get this error whenever you link against a library compiled with an earlier version of VC++.

As Andreas Fabri mentioned already, CGAL does not depend on any Boost library, only header files, so you don't need to compile Boost for CGAL unless you try those demos which use Boost.ProgramOptions.

OTOH, CGAL-3.3.1 was released before VC90 and you can't just rebuild it because of the encoding of the compiler version in the library mangling used by the autolinking feature.

To build CGAL3.3.1 under Visual Studio 2008 please unzip the attached patch right on the CGAL root directory, then launch the new CGAL_90.sln solution file to build CGAL on VS2008.

Best

Fernando Cacciola
GeometryFactory

Attachment: CGAL_3.3.1_patch_for_VS2008.zip
Description: Binary data




Archive powered by MHonArc 2.6.16.

Top of Page