Project

General

Profile

Compilation error on mingw

Added by Adonai Canez about 11 years ago

I'm trying to compile the latest version of libexiv2, but is giving the error below. Anyone know how to solve?

if test "x1" = "x1"; then cd xmpsdk/src && make xmpsdk; fi;
make1: Entering directory `/home/Adonai S. Canez/exiv2-0.20/xmpsdk/src'
make1: Nothing to be done for `xmpsdk'.
make1: Leaving directory `/home/Adonai S. Canez/exiv2-0.20/xmpsdk/src'
cd src && make
make1: Entering directory `/home/Adonai S. Canez/exiv2-0.20/src'
../libtool --mode=link g++ -no-undefined -L../xmpsdk/src -o libexiv2.la basicio.lo bmpimage.lo canonmn.lo convert.lo cr2image.lo crwimage.lo datasets.lo easyaccess.lo error.lo
f.lo futils.lo fujimn.lo gifimage.lo image.lo iptc.lo jp2image.lo jpgimage.lo makernote.lo metadatum.lo minoltamn.lo mrwimage.lo nikonmn.lo olympusmn.lo orfimage.lo panasonicmn.
pgfimage.lo pngimage.lo pngchunk.lo preview.lo properties.lo psdimage.lo rafimage.lo rw2image.lo sigmamn.lo pentaxmn.lo sonymn.lo tags.lo tgaimage.lo tiffcomposite.lo tiffimage.
tiffvisitor.lo types.lo value.lo version.lo xmp.lo xmpsidecar.lo localtime.lo -rpath /usr/local/lib -version-info 9:0:0 -lintl -liconv -lz -lm -lexpat -lxmpsdk
libtool: link: cannot find the library `' or unhandled argument `S.'
make1: * [lib] Error 1
make1: Leaving directory `/home/Adonai S. Canez/exiv2-0.20/src'
make: *
[all] Error 2


Replies (1)

RE: Compilation error on mingw - Added by Andreas Huggel about 11 years ago

libtool: link: cannot find the library `' or unhandled argument `S.'

From the above line I guess some part of the build system chokes on the path to your home directory. Can you try to build in a directory with a path that contains no spaces or dots, e.g., /usr/local/src to see if that makes a difference?

Andreas

    (1-1/1)