Subject: CGAL users discussion list
List archive
- From: Panagiotis Foteinos <>
- To:
- Subject: [cgal-discuss] Re: CGAL linking errors
- Date: Sat, 4 Dec 2010 11:46:08 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qqGHq2VMIMZzg2iXj6A6PQ5NeVs+LBnCwRvCrLpvrkS7IoWBEjd2j850AYYkChiL6x NimWmSXnEu3gkS6bF9Bgveli9layraJmzyz+MqQPdLog0zbq+Ut23Rd9QAzMEWknFBIH 1E6DD2ySUe37dR9B0o6l5FmyL2HQmJLgpLnw0=
Sorry, I accidentally pressed the "Send" button before I complete this email.
So, let me try again.
I have successfully built CGAL using the Visual Studio 2008 compiler (VC9).
When my project tries to link to CGAL library, I get the following error:
LINK : fatal error LNK1104: cannot open file 'CGAL.lib'
I copy my project's cmakelists file below:
*******************************************************************************************
project( project )
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
FIND_PACKAGE(CGAL REQUIRED)
INCLUDE(${CGAL_USE_FILE})
ADD_EXECUTABLE(Delaunay3D main.cxx Mesh.cxx Bbox.cxx My_assertion.cxx Arithmetics.cxx)
TARGET_LINK_LIBRARIES(Delaunay3D CGAL)
*******************************************************************************************
Do you know what I am doing wrong?
Thank you,
Panagiotis Foteinos
On Sat, Dec 4, 2010 at 11:32 AM, Panagiotis Foteinos <> wrote:
Hello users.
I have successfully built CGAL using the Visual Studio 2008 compiler (VC9).
I get the following error:
LINK : fatal error LNK1104: cannot open file 'CGAL.lib'
I copy my cmakelists file below:
project( TimeSpace )
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
FIND_PACKAGE(CGAL REQUIRED)
INCLUDE(${CGAL_USE_FILE})
ADD_EXECUTABLE(Delaunay3D main.cxx Mesh.cxx Bbox.cxx My_assertion.cxx Arithmetics.cxx)
TARGET_LINK_LIBRARIES(Delaunay3D CGAL)
- [cgal-discuss] CGAL linking errors, Panagiotis Foteinos, 12/04/2010
- [cgal-discuss] Re: CGAL linking errors, Panagiotis Foteinos, 12/04/2010
Archive powered by MHonArc 2.6.16.