Subject: CGAL users discussion list
List archive
- From: Tom Kazimiers <>
- To:
- Subject: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
- Date: Mon, 25 May 2009 11:33:47 +0200
Hi,
Mahmood, thank you very much for sending your configuration. There is
nothing relevant (at least I think so) different to mine.
Sorry, for the long delay - I did not recognize your answer and found
that the errors occur only with some operations. As it turned out, I
needed only those where the linker error did not occur - until now.
Now I need a voronoi diagram and by using its insert-method those
strange GMP linker errors reoccur. Could it be that there is a problem
with my 64bit Vista?
I tryed to build everything from scratch and followed the CGAL
installation guide - but still no success: Still, I even cannot build
the examples.
Regards,
Tom
Mahmood Naderan schrieb:
> Hi,
> >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.
> These values are pure defaults.I didn't change any thing. Yours might
> be the same. Do you have boost libboost_thread and boost_program_options?
>
> C/C++:
> Additional include directories:
> C:\Program Files\CGAL-3.4\examples\Triangulation_2
> C:\Program Files\CGAL-3.4\auxiliary\gmp\include
> C:\Program Files\CGAL-3.4\include
> C:\Program Files\boost_1_36_0
>
> Preprocessor definitions:
> WIN32
> _WINDOWS
> _CRT_SECURE_NO_DEPRECATE
> _SCL_SECURE_NO_DEPRECATE
> _CRT_SECURE_NO_WARNINGS
> _SCL_SECURE_NO_WARNINGS
> _DEBUG
> CMAKE_INTDIR=\"Debug\"
>
> Linker:
>
> Additional library direcoties:
> C:\Program Files\CGAL-3.4\lib\$(OutDir)
> C:\Program Files\CGAL-3.4\lib
> C:\Program Files\CGAL-3.4\auxiliary\gmp\lib\$(OutDir)
> C:\Program Files\CGAL-3.4\auxiliary\gmp\lib
> C:\Program Files\boost_1_36_0\lib\$(OutDir)
> C:\Program Files\boost_1_36_0\lib
>
> Input->additional dependecies:
> kernel32.lib
> user32.lib
> gdi32.lib
> winspool.lib
> shell32.lib
> ole32.lib
> oleaut32.lib
> uuid.lib
> comdlg32.lib
> advapi32.lib
> psapi.lib
>
>
> --------------------
> Mahmood Naderan
>
> ------------------------------------------------------------------------
> *From:* Tom Kazimiers
> <>
> *To:*
>
> *Sent:* Sunday, March 8, 2009 11:24:45 AM
> *Subject:* Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
>
> 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
> > <
> <mailto:>>
> > An:
> >
> <mailto:>
> > 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
> > <
> >
> > <mailto:>>
> > To:
> >
> <mailto:>
> > 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 <http://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
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
- Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, Tom Kazimiers, 05/25/2009
Archive powered by MHonArc 2.6.16.