twain/twain-samples

[Bug] Compilation error in Linux from typedefs in TWAIN-Samples/common/CTiffWriter.h [sf#41]

Opened this issue · 0 comments

Reported by silvernexus on 2016-02-01 15:29 UTC
When building the samples for Linux, the compiler generates an error in TWAIN-Samples/common/CTiffWriter.h because it has not had uint16_t or uint32_t defined. These are both defined in inttypes.h. Just include that file in the non-win32 build, and it builds.

I attached a diff of the file for good measure, in case my explanation was unclear.