Roberto,
if you are not interested in using NLS (localized strings),
do the following:
1) rename config.h.in to config.h (note: this file will not
get exported from CVS, unless you remove it from .cvsignore
(not tested), but it is in the official downloadable tgz package)
2) append the following lines to config.h (without ====)
=======================================================
// dummy object to make compiler happy
#define GETTEXT_PACKAGE "Patera"
#define strdup _strdup
#define strncasecmp _strnicmp
#define snprintf _snprintf
=======================================================
3) compile & link.
I never tried to use NLS, so I don't know how to use it (on Windows).
--- Jan
> Great, thanks. Is there anywhere a build file, workspace or at least
> some instuctions how to compile it on win32 ? My attempt to use some
> project-file from an outdated libexif-win32-patch for the current
> release ended up in a mess and errors like:
>
> exif-format.c(53) : error C2065: 'GETTEXT_PACKAGE' : undeclared identifier
>
> Are there any dependencies on other projects, I need to consider ?
>
> regards
> Roberto
|