Sign In
New User? Sign Up
exiv2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
exv_conf file   Message List  
Reply | Forward Message #83 of 1513 |
Re: exv_conf file

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






Sun Jun 12, 2005 9:24 pm

hmargerain
Offline Offline
Send Email Send Email

Forward
Message #83 of 1513 |
Expand Messages Author Sort by Date

Hello, I am new to exiv2. I tried to compile the exifprint example and ran into the error of not having the exv_conf.h file which is not part of the exiv2...
hmargerain
Offline Send Email
Jun 9, 2005
8:34 pm

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 ...
Andreas Huggel
zzzahu
Offline Send Email
Jun 10, 2005
1:26 am

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. ...
hmargerain
Offline Send Email
Jun 12, 2005
9:24 pm

Hi Hervé, ... Ok. In the process this should have also built exifprint, directly in the src directory. Did it? ... [...] ... Did you use -lexiv2 (or the...
Andreas Huggel
zzzahu
Offline Send Email
Jun 13, 2005
2:48 am

Hello Andreas, I have correctly instructed Dev-C++ to link with libexiv2.a, but I still have these errors : - multiple definition of `typeinfo for...
hmargerain
Offline Send Email
Jun 13, 2005
9:33 pm

Hi Hervé, Please go back to the beginning. When you unpack the Exiv2 tarball, configure and compile with Dev-C++, do you get any errors? If not, look at the...
Andreas Huggel
zzzahu
Offline Send Email
Jun 14, 2005
1:11 am
Advanced

Copyright © 2009 Yahoo! UK. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help