C1083 Cannot open include file: 'inttypes.h': No such file or directory
xhana05

Hi,
I am using MVS2015 and I tried to install Allegro 5.2.2. I used NuGet to include 5.2.2 to my current project which works fine with 5.0.10. When I tried to build it, I got "C1083 Cannot open include file: 'inttypes.h': No such file or directory" error. The problem seems to be in astdint.h:

#if defined ALLEGRO_HAVE_INTTYPES_H
#include <inttypes.h>
#elif defined ALLEGRO_HAVE_STDINT_H

What can I do with it?
Thanks.

torhu

I'm not familiar with the Nuget package, but that looks like a typical build configuration issue. A script that was not run, or something. The first question would be: does this package work for everyone else?

SiegeLord

MSVC 2015 should come with an inttypes.h. Mine has it at C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt. Maybe you're missing some... components? I wouldn't know where to start though... it's been awhile since I installed MSVC.

Thread #616696. Printed from Allegro.cc