Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL installation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL installation


Chronological Thread 
  • From: Dylan Lawrence <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL installation
  • Date: Wed, 22 Jul 2015 03:45:19 -0500

There's quite  a number of linker things you need to really make CGAL and GMP work. I'm on 64 bit. But this is what my project looks like:

VC++ Directories:
boost/lib64-msvc-12.0
gmp/include

C/C++ Additional Includes:
CGAL/include
boost root directory
CGAL/auxiliary/gmp/include

Linker Additional Library Directories:
CGAL/auxiliary/gmp/lib
boost root/lib64-msvc-12.0
CGAL/build/lib

Some of these may not be necessary (or correct) but my projects compile correctly with these settings.

On Wed, Jul 22, 2015 at 3:28 AM, Audrey <> wrote:
Hello,

I'm trying to install CGAL on my computer but I encounter some difficulties
(during the building in DEBUG and RELEASE of ALL_BUILD I got linked errors
LNK2019 for CGAL_CORE --> linked problem with the library GMP). So I'm
wondering if I have installed the correct version of my libraries :

- my computer : Windows 7 - 64bit

- Visual Studio, I used : Tools -> Visual Studio Command Prompt -> enter
"cl.exe" to know what I have. I have :
C:\program files <x86>\microsoft visual studio 11.0.0\vc\bin
C/C++ Optimizing Compiler Version 17.00.51106.1 for x86

For me, I have then a compiler vc110 (Visual Studio) running in 32 bit on a
64 bit OS. Is it correct ?
In project properties, it is also written : Platform Toolset = Visual Studio
2012 (v110).

For the moment, as I have a 64-bit OS and as I want to use the platform x64
in Visual Studio to run my projects (I use x64 for all my other projects), I
have installed everything in 64 bit (CGAL 4.3, boost_1_55_0-msvc-11.0-64,
using CMake2.8.10.2. No need of Qt4 because I don't want to run CGAL demos)
but I'm not sure of what I've done because the compiler of Visual Studio is
32 bit ... (linked followed for 64-bit installation
http://www.cgal.org/download/windows.html )

I'm confused because I have both 32 bit (Visual Studio compiler) and 64 bit
(OS, platform x64 to build and run in Visual Studio) so I don't know if I
have to install in 32 bit all my libraries or in 64 bit ? I remember that at
the end, I want to build and run my project in Visual Studio with the
Solutions Platform x64. Could you help me for this ?


Last question : currently I have 47 linked errors due to the GMP library (in
CGAL_CORE) when I want to build ALL_BUILD. Maybe the prebuild files of GMP
library are not in 64 bit ( I have to check that ) but my question is : in
the properties of ALL_BUILD file I can't add libgmp-10.lib to the input
library (in the linker options) because it's not a project (and I have no
access to the linker options) so I can't get rid of these errors. Is it a
problem for building the CGAL library ? Or can I just ignore them and now I
create my VS project and in this project I add libgmp-10.lib to the input
library (in the linker options) ?

Thanks for your time and help,

Audrey



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/CGAL-installation-tp3910882p4661013.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Dylan Lawrence
Masters Student
Bioinformatics and Computational Biology



Archive powered by MHonArc 2.6.18.

Top of Page