Error linking objetcs (C++ API)

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
rtorrero
Posts: 3
Joined: 2013-02-26T04:40:59-07:00
Authentication code: 6789

Error linking objetcs (C++ API)

Post by rtorrero »

Hi,

I have inherited a project built using ImageMagick3 c++ API, and i'm trying to get it to compile against ImageMagick5. It builds, however, it fails with missing symbols during linking:

The Makefile: http://pastebin.com/2gRRNrF2

The error: http://pastebin.com/HxsLc1be

Info about machine and versions:

Code: Select all

root@ubuntu-test:~/nessie# uname -a
Linux ubuntu-test 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
I've tested both ImageMagick-6.8.1 and the one included with Ubuntu 12.10, both fail with the same error. Any idea what could be happening?

*I've noticed that my libs get built int /usr/lib/whatever_arch_im_in/ instead of just /usr/lib, could this be the issue?
Post Reply