Hello Andreas,
It took me a while to understand that the Dev-C++ only got a small
part of MingW and does miss MSys which is the key to configure/make
exiv2.
After installing a full MingW release and Msys, I was able to
configure and make exiv2.
Now I still have a link problem :
exifprint.o(.text+0x1d6):exifprint.cpp: undefined reference to
`Exiv2::ExifData::ExifData()'
exifprint.o(.text+0x234):exifprint.cpp: undefined reference to
`Exiv2::ExifData::read(std::string const&)'
exifprint.o(.text+0x372):exifprint.cpp: undefined reference to
`Exiv2::ExifData::strError(int, std::string const&)'
exifprint.o(.text+0x81c):exifprint.cpp: undefined reference to
`Exiv2::ExifData::~ExifData()'
exifprint.o(.text+0x85d):exifprint.cpp: undefined reference to
`Exiv2::ExifData::~ExifData()'
The source of exifprint I am trying to compile is in a directory at
the same level as the exiv2 directory. I have instructed the
compiler to include exiv2/src for headers and libraries and
exiv2/sc/.libs for libraries.
I know it sounds more like a compiler/environment setup problem
rather than an exuiv2 problem, but if you have some idea it could
help me.
Best Regards.
Hervé
--- In exiv2@..., "Andreas Huggel" <ahuggel@g...>
wrote:
> Hi Hervé,
>
> The quickest way to get going is to cd to the top directory of the
> distributed code, run ./configure followed by make. This will
generate the
> exv_conf.h file in the src directory specifically for your
platform.
>
> All the tools you need for this are available from mingw/msys
(mainly you'll
> need make and sed)
>
> src/exv_conf.h is generated from config/config.h.in in two steps.
1)
> configure will set the platform specific defines based on the
tests it runs
> and generate config/config.h. 2) Running make in the src directory
will copy
> this file to src/exv_conf.h and prepend EXV_ to the defines.
>
> exv_msvc.h is the configuration file used when compiling with
MSVC. I don't
> think it will be useful in any other context.
>
> Taking an exv_conf.h file from another system is likely to result
in more
> obscure problems, since it needs to be tailored to your specific
platform.
> That's the reason why it is not included in the distribution.
>
> Regards,
> Andreas
>
> --
> Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
> Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl