On Wed, May 23, 2012 at 2:58 PM, Dan Fandrich <dan@coneharvesters.com> wrote:
On Wed, May 23, 2012 at 02:43:11PM -0700, exif par wrote:
> I am trying to build libexif on MSVS 2008. While trying to compile the source
> code, I get several compilation errors because of missing header files such as
> stdint.h. MSVS 2008 is a common built system. Why is it not supported?

Probably because since 2008, you're the first one to try :-)  Seriously,
if you find an issue with a compiler, we'd be happy to try accept
reasonable patches to make it work. libexif has very few external
dependencies, so it should just work about any standard C system.
stdint.h has been a standard C header file for over 10 years, so if MSVS
2008 doesn't support it, then I'd consider it broken. However, libexif's
autoconf will create a _stdint.h file automatically to work around such
broken systems, as long as they can run autoconf, naturally. In your
case, try just creating a file libexif/_stdint.h containing the single

#include <stdint.h>

That should be enough to get around this problem.

In order to work around this problem, I did a bunch of typedef to declare int8_t, uint8_t, etc. It is not only stdint.h but also libintl.h and undefined reference to ssize_t.  I am currently trying to build using cygwin. Can you tell me the host name for cygwin which I need to pass to ./configure script?


>>> Dan

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
libexif-devel mailing list