Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?


Chronological Thread 
  • From: Mahmood Naderan <>
  • To:
  • Subject: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
  • Date: Sat, 7 Mar 2009 22:32:19 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hXMp2gL0hSVLCaMuMaUI5doLucRPY1KYzqAqsCFjy2bG6uzn76OEor971iliPBM4U7wM8LdU8CJ6KASgHyMBPhalwpKWwHknXda2UNVyaU/mj5BnpygAcWOHws8ayJNKv5LGQZeONZh0imvC39C1MD9zOSaaSky1R5n0I2zD7rU=;

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




Archive powered by MHonArc 2.6.16.

Top of Page