Subject: CGAL users discussion list
List archive
- From: "Tom Kazimiers" <>
- To:
- Subject: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
- Date: Sun, 08 Mar 2009 08:54:45 +0100
Mahmood,
thanks for your test. Actually, I tryed it with both cmake and cmake-gui -
both with the same results. The precompiled libs for GMP I use are the ones
deployed with the installer (in the aux. folder). I can build the solution
(sln) if I do not install the examples. If I install them they are part of
the solution, too, but, like I said, producing the gmp-methods linking errors
(at least some).
That it works for you lets me hope that the problem is located somewhere here
with my system - I guess 64bit are no problem?
Can you do me a favor and post your linker and compiler directories (includes
and libs) for the named example (added_handles). I guess they are the same as
mine (except for the path), since they are generated.
Thanks,
Tom
-------- Original-Nachricht --------
> Datum: Sat, 7 Mar 2009 22:32:19 -0800 (PST)
> Von: Mahmood Naderan
> <>
> An:
>
> Betreff: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
> Hi,
> >now I deinstalled CGAL 3.3.1 completely and reinstalled CGAL 3.4 again,
> >checked the environment variables, hardcoded absolute directory,
> >recompiled and even in the generated example files I get these errors.
>
> I compiled the example without any problem. You have to use
> "cmake-gui.exe"
> instead of "cmake.exe". Do you have the right precompiled libs for gmp
> (debug version)?
> can you build CGAL.sln after you configure it for VS?
>
> -------------------------
> Mahmood Naderan
>
>
>
>
> ________________________________
> From: Tom Kazimiers
> <>
> To:
>
> Sent: Saturday, March 7, 2009 4:18:41 PM
> Subject: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
>
> Hi,
>
> now I deinstalled CGAL 3.3.1 completely and reinstalled CGAL 3.4 again,
> checked the environment variables, hardcoded absolute directory,
> recompiled and even in the generated example files I get these errors.
>
> Do you have any suggestions where to look else?
>
> Regards,
> Tom
>
> Tom Kazimiers schrieb:
> > Fernando,
> >
> > thanks for your reply. I checked everyting by putting in the CGAL
> > 3..4-Paths fully, without environment variables - the same result.
> > Like I said points the CGALROOT environment variable to the CGAL 3.4
> > root directory.
> >
> > The output of cmake is the following:
> >
> >
> --------------------------------------------------------------------------
> > P:\Program Files (x86)\CGAL-3.4>cmake .
> > -- CGAL_MAJOR_VERSION=3
> > -- CGAL_MINOR_VERSION=4
> > -- CGAL_BUILD_VERSION=
> > -- CGAL_SONAME_VERSION=3
> > -- CGAL_SOVERSION =3.0.0
> > -- CGAL_REFERENCE_CACHE_DIR=
> > -- Building static libraries
> > CMake Warning (dev) at CMakeLists.txt:88 (include):
> > Policy CMP0011 is not set: Included scripts do automatic cmake_policy
> PUSH
> > and POP. Run "cmake --help-policy CMP0011" for policy details. Use
> the
> > cmake_policy command to set the policy and suppress this warning.
> >
> > The included script
> >
> > P:/Program Files (x86)/CGAL-3.4/cmake/modules/CGAL_Common.cmake
> >
> > affects policy settings. CMake is implying the NO_POLICY_SCOPE
> option for
> > compatibility, so the effects are applied to the including context.
> > This warning is for project developers. Use -Wno-dev to suppress it.
> >
> > -- Targetting Visual Studio 9 2008
> > -- Target build enviroment supports auto-linking
> > -- Using VC90 compiler.
> > -- Generator uses intermediate configuration directory: $(OutDir)
> > -- USING CMake version: 2.6.3
> > -- System: Windows
> > -- Build type: Release
> > -- USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR
> > -D_CRT_SECURE_NO_DEPRECA
> > _SCL_SECURE_NO_WARNINGS /MD /O2 /Ob2 /D NDEBUG -D_SECURE_SCL=0'
> > -- USING LDFLAGS = ' '
> > -- GMP include: P:/Program Files
> (x86)/CGAL-3.4/auxiliary/gmp/include
> > -- GMP libraries:
> > -- GMP definitions:
> > -- USING GMP_VERSION = '4.2.4'
> > -- MPFR include: P:/Program Files
> (x86)/CGAL-3.4/auxiliary/gmp/include
> > -- MPFR libraries:
> > -- MPFR definitions:
> > -- USING MPFR_VERSION = '2.3.2'
> > -- Boost include: D:/Install/Libraries/BOOST/boost_1_37_0
> > -- Boost libraries:
> > optimized;D:/Install/Libraries/BOOST/boost_1_37_0/lib/libboost_th
> > st_1_37_0/lib/libboost_thread-vc90-mt-gd-1_37.lib
> > -- Boost definitions:
> > -- USING BOOST_VERSION = '1.37.0'
> > -- CMAKE_INSTALL_PREFIX=P:/Program Files (x86)/CGAL
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: P:/Program Files (x86)/CGAL-3.4
> >
> --------------------------------------------------------------------------
> >
> > Seems there something odd? I have previously disabled Qt3 and Qt4.
> >
> > Regards,
> > Tom
> >
> > Fernando Cacciola schrieb:
> >
> >> Hi Tom,
> >>
> >>
> >>> Hi Fernando,
> >>>
> >>> thanks for your answer. Why do you think I used the old installer
> >>> system?
> >>>
> >> Because of this:
> >>
> >>
> >>>>> $(CGALROOT)\include
> >>>>> $(CGALROOT)\auxiliary\gmp\include
> >>>>> $(BOOSTROOT)
> >>>>>
> >>>>> And my Linker-Dirs are:
> >>>>> $(CGALROOT)\lib
> >>>>> $(CGALROOT)\auxiliary\gmp\lib
> >>>>> $(BOOSTROOT)\lib
> >>>>>
> >> That doesn't look quite like the set of directories that a project
> >> file generated via CMake would contain.
> >>
> >> In fact, it looks exactly like the setup used in CGAL 3.3.1
> >>
> >>
> >> Could those be in your gobal IDE settings rather than the cmake
> >> generated solution?
> >>
> >>
> >> In windows, the gmp libs (which are producing your linker errors) are
> >> auto-linked, but the libs directory must be correct.
> >>
> >>
> >>
> >>> So what could it be else?
> >>>
> >>>
> >> Can you post the output from cmake just to be sure there is nothing
> >> odd going on?
> >>
> >> HTH
> >>
> >> --
> >> Fernando Cacciola
> >> www.geometryfactory.com
> >>
> >>
> >>
> >
> >
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
--
Computer Bild Tarifsieger! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
- [cgal-discuss] Jet_fitting_3, Priyamvad Deshmukh, 03/05/2009
- Re: [cgal-discuss] Jet_fitting_3, naresh, 03/05/2009
- Re: [cgal-discuss] Jet_fitting_3, Andreas Fabri, 03/05/2009
- [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/06/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/07/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Mahmood Naderan, 03/08/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/08/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Mahmood Naderan, 03/08/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/05/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/09/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/10/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/10/2009
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Fernando Cacciola, 03/05/2009
- [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 03/05/2009
- Re: [cgal-discuss] Jet_fitting_3, Andreas Fabri, 03/05/2009
- Re: [cgal-discuss] Jet_fitting_3, naresh, 03/05/2009
- Re: [cgal-discuss] Jet_fitting_3, Priyamvad Deshmukh, 03/05/2009
- [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, BBB HHH, 03/05/2009
- Re: [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, Laurent Rineau (GeometryFactory), 03/05/2009
- Re: [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, Laurent Rineau (GeometryFactory), 03/05/2009
- Re : [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, BBB HHH, 03/05/2009
- Re: [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, Laurent Rineau (GeometryFactory), 03/05/2009
- [cgal-discuss] Triangulation of a Polygon_with_holes_2 without introducing Steiner points, BBB HHH, 03/05/2009
Archive powered by MHonArc 2.6.16.