What steps will reproduce the problem?
1. Try to build pdfium in Visual Studio 2012
What is the expected output? What do you see instead?
Expect successful build.
Seeing errors like:
Error 1 error C1083: Cannot open include file: 'inttypes.h': No such file or
directory
(core\src\fxcodec\fx_libopenjpeg\src\fx_bio.c) e:\git\external\pdfium\core\src\f
xcodec\fx_libopenjpeg\libopenjpeg20\opj_inttypes.h 36 1 fxcodec
Please provide any additional information below.
In pdfium\core\src\fxcodec\fx_libopenjpeg\libopenjpeg20\opj_config_private.h
Before chromium/2191:
#ifndef _WIN32
#ifndef OPJ_HAVE_INTTYPES_H
#define OPJ_HAVE_INTTYPES_H
#endif
#endif
After:
#define OPJ_HAVE_INTTYPES_H 1
In pdfium\core\src\fxcodec\fx_libopenjpeg\libopenjpeg20\opj_inttypes.h:
#ifdef OPJ_HAVE_INTTYPES_H
#include <inttypes.h>
Reverting this change fixes the build.
Original issue reported on code.google.com by psivanov on 6 Nov 2014 at 3:50
Original issue reported on code.google.com by
psivanov
on 6 Nov 2014 at 3:50