Missing inttypes.h in visual studio 2005

Hi!

I am trying to compile a program of mine with visual studio 2005. But it
fails saying it cant find include file ‘inttypes.h’.
Now, if I am not mistaken, this file should not be included when cmpiling on
windows, right? And I have checked that WIN32 is #defined in the build
settings
and stuff, but no luck.

The program compiles fine on linux.

Thanx in advance
–Anders Folkesson

Hi!

I am trying to compile a program of mine with visual studio 2005. But it
fails saying it cant find include file ‘inttypes.h’.
Now, if I am not mistaken, this file should not be included when cmpiling on
windows, right? And I have checked that WIN32 is #defined in the build
settings
and stuff, but no luck.

The program compiles fine on linux.

Thanx in advance
–Anders Folkesson

ps. I hope i didnt double post this mail. If so, i am sorry ds.

Start -> Search -> All Files and Folders -> All or Part of the File
Name -> inttypes.h

only reports my MingW inttypes.h file. So I believe it is missing, at
least from my free Express compiler.

Good news is that Google Search turns up this page:

See the last line under external links.

Best of luck,
ChrisOn 6/17/07, Anders Folkesson wrote:

Hi!

I am trying to compile a program of mine with visual studio 2005. But it
fails saying it cant find include file ‘inttypes.h’.
Now, if I am not mistaken, this file should not be included when cmpiling on
windows, right? And I have checked that WIN32 is #defined in the build
settings
and stuff, but no luck.


E-Mail: Chris Nystrom <@Chris_Nystrom>
Saving the world from web programming.
http://www.newio.org/ - AIM: nystromchris

Hi!

thanks, i found that too. But it seems like a work around and not a real
solution, since it should not be included…i think(?)

Anyways, when i added those include files, i get to a new error about
missing include files iconv.h.

Seems like it thinks it is compiling SDL on linux (at least a not windows
platform).

–Anders Folkesson

2007/6/17, Chris Nystrom :>

On 6/17/07, Anders Folkesson <@Anders_Folkesson> wrote:

Hi!

I am trying to compile a program of mine with visual studio 2005. But it
fails saying it cant find include file ‘inttypes.h’.
Now, if I am not mistaken, this file should not be included when
cmpiling on
windows, right? And I have checked that WIN32 is #defined in the build
settings
and stuff, but no luck.

Start -> Search -> All Files and Folders -> All or Part of the File
Name -> inttypes.h

only reports my MingW inttypes.h file. So I believe it is missing, at
least from my free Express compiler.

Good news is that Google Search turns up this page:

http://en.wikipedia.org/wiki/Inttypes.h

See the last line under external links.

Best of luck,
Chris

E-Mail: Chris Nystrom
Saving the world from web programming.
http://www.newio.org/ - AIM: nystromchris


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I am trying to compile a program of mine with visual studio 2005. But it
fails saying it cant find include file ‘inttypes.h’.

Did you copy SDL_config_win32.h to SDL_config.h in the include directory?

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

i read there is inttypes.h and stdint.h for data types. not sure of
the differences, but thought stdint.h was better or preferred. also,
not sure what windows has since i do not have it. perhaps try stdint.h

mattOn Sun, 17 Jun 2007 14:36:56 +0200 “Anders Folkesson” wrote:

Hi!

I am trying to compile a program of mine with visual studio 2005. But
it fails saying it cant find include file ‘inttypes.h’.
Now, if I am not mistaken, this file should not be included when
cmpiling on windows, right? And I have checked that WIN32 is #defined
in the build settings
and stuff, but no luck.

The program compiles fine on linux.

Thanx in advance
–Anders Folkesson

ps. I hope i didnt double post this mail. If so, i am sorry ds.