Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] linking problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] linking problem


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] linking problem
  • Date: Thu, 8 Jan 2009 11:01:05 +0100
  • Organization: GeometryFactory

On Thursday 08 January 2009 03:43:06 Seungtaik Oh wrote:
> Hi, all
>
> I am trying to build my application on mac os. Compiling is okay, but in
> linking I have the following error:
>
> ld: library not found for -lcrt0.o
> collect2: ld returned 1 exit status
>
>
> The command for linking is
>
> g++-4 -o a.out -O2 -m64 -static ***.o -L/usr/local/cgal/lib
> -L/usr/local/boost_1_34_1/boost/lib -lCGAL -lCGALimageIO -lCGALPDB
> -lboost_program_options -lm .


Can you add "-v" to your command line and post here the first lines of the
output (that should be a list of libraries, search paths, and so on), and the
full error log?

Then /maybe/ one can help you afterward.

--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/




Archive powered by MHonArc 2.6.16.

Top of Page