Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » C1083 Cannot open include file: 'inttypes.h': No such file or directory

This thread is locked; no one can reply to it. rss feed Print
C1083 Cannot open include file: 'inttypes.h': No such file or directory
xhana05
Member #16,625
January 2017

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
Member #2,727
September 2002
avatar

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
Member #7,827
October 2006
avatar

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.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: