Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Strange error when linking against CGAL_ImageIO

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Strange error when linking against CGAL_ImageIO


Chronological Thread 
  • From: Philipp Moeller <>
  • To: nmitchell <>
  • Cc:
  • Subject: Re: [cgal-discuss] Strange error when linking against CGAL_ImageIO
  • Date: Sat, 16 Feb 2013 02:18:16 +0100
  • Organization: GeometryFactory

nmitchell
<>
writes:

> Hello,
>
> Trying to diagnosis a strange error I've been getting. I've been
> attempting to add some functionality to the CGAL python bindings, but
> CGAL_ImageIO.so is giving me trouble. Any time I attempt to execute
> anything that is linked against it, I get the following error:
>
> [nmitchel@cauchy] (796)$ ./a.out
> ./a.out: symbol lookup error: /scratch/SOFTWARE/lib/libCGAL_ImageIO.so.9:
> undefined symbol:
>
> I've tried with both CGAL 4.1 and 4.0.2, exact same results. It leads
> me to suspect that I may have something wrong with my system, but I
> can't for the life of me determine what is causing the undefined
> symbol message, especially which symbol it is complaining about. If I
> knew, I probably could fix it.
>
> For reference, here is the test program
>
> int main(int argc, char** argv)
> {
>
> return 0;
> }
>
> and the compile command I used.
>
> g++ test.cpp -L/scratch/SOFTWARE/lib -lCGAL_ImageIO

Somehow the formatted parts of your message got lost and are only
visible on nabble. I added them in my reply.

I cannot reproduce this with either the ImageIO built by myself or the
one built by my distribution package. How do you compile CGAL?



Archive powered by MHonArc 2.6.18.

Top of Page