wesm/pandas — Issue #503: Master does not compile with MSVC: cannot find stdint.h
Author: dieterv77
Created: 2011-12-19 17:55:28+00:00
State: open

Just an FYI, when compiling with MSVC on 64bit windows:

building 'pandas._sandbox' extension
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include -IC:\Python27\PC /Tcpandas\src\sandbox.c /Fobuild\temp.win-amd64-2.7\Release\pandas\src\sandbox.obj
sandbox.c
pandas\src\sandbox.c(240) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory

I think this is (again) because MSVC is not C99 compliant. Some searching seems to indicate that you can find portable versions of stdint.h.

I downloaded one from here:
http://www.azillionmonkeys.com/qed/pstdint.h
There is also
http://code.google.com/p/msinttypes/
and added the path to it in the include_dirs for the sandbox extension, then everything compiled fine.

thanks!