Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Runtime error with only CImage3 included
- Date: Fri, 6 Aug 2010 16:10:21 +0200
- Organization: GeometryFactory
On Friday 06 August 2010 14:59:07 Jean-Christophe Souplet wrote:
> Thank you for your replies,
>
> I think, I did a mistake at the linkage step.
> The software works fine in release (with_static_lib configuration).
> The problem is only in the debug mode (with dynamic library configuration)
>
> Here are the parts of my cmakefile about CGAL
>
> #--------------
> # CGAL
> #--------------
>
> find_package(CGAL COMPONENTS ImageIO)
> IF(CGAL_FOUND)
> INCLUDE(${CGAL_USE_VTK} ${CGAL_USE_FILE})
CGAL_USE_VTK is probably an empty variable, otherwise this line should
triggers a CMake syntax error.
The inclusion of ${CGAL_USE_FILE} makes CMake automatically link all targets
that are defined after with CGAL libraries (libCGAL, and libCGAL_ImaeIO in
your case).
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Runtime error with only CImage3 included, jcsouplet, 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Sebastien Loriot (GeometryFactory), 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Jean-Christophe Souplet, 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Sebastien Loriot (GeometryFactory), 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Jean-Christophe Souplet, 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Laurent Rineau (GeometryFactory), 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Jean-Christophe Souplet, 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Laurent Rineau (GeometryFactory), 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Jean-Christophe Souplet, 08/06/2010
- Re: [cgal-discuss] Runtime error with only CImage3 included, Sebastien Loriot (GeometryFactory), 08/06/2010
Archive powered by MHonArc 2.6.16.