On Tue, Sep 24, 2013 at 9:18 AM, Staffan Tylen <staffan.tylen@gmail.com> wrote:
 I made the necessary changes to my makefile but when I compile I now get the following set of messages:

Hi Staffan,

I just looked at my Visual Studio install and it does have stdint. 

 
        cl /nologo /EHsc /O2 /Gs /Gy /FAs /Fabuild\release\ /MT /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DOOSQLITE_VER_MAJOR=1 /DOO
SQLITE_VER_MINOR=0 /DOOSQLITE_VER_LEVEL=0 /DOOSQLITE_VER_BUILD=9434 /DOOSQLITE_VER_STRING=\""1.0.0.9434"\" /DOOSQLITE_COPYRIGHT_YEAR=\""2012-2013"\" /
I src\sqlite /I src\platform\windows /DSQLITE_ENABLE_COLUMN_METADATA /DSQLITE_ENABLE_MEMORY_MANAGEMENT /DSQLITE_ENABLE_FTS3 /DSQLITE_ENABLE_FTS3_PAREN
THESIS /DSQLITE_DEFAULT_FOREIGN_KEYS=1 /DSQLITE_CORE /DSQLITE_HAS_CODEC /D:_X86_ /DWIN32 /DNDEBUG /DNULL=0 /c /DOOSQLITE_BUILD /Fo.\build\release\ src
\ooSQLite.cpp

That shows you are compiling the ooSQLite.cpp source file.  There is nothing in that source that includes stdint.h.


ooSQLite.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\stdint.h(8) : error C2371:

That shows that stdint.h did get included somehow.

What you need to do is go to that VC\INCLUDE directory and temporarily move stdint.h up one directory level.  Then do  a clean rebuild.  That should produce an error when the compiler can't find the file with a trace of which file(s) it got included from.

Post that output here so I can what is including the file.

By the way, ooSQLite.cpp includes sqlite3.h.  I thought maybe the SQLITE_HAS_CODEC define might be pulling stdint.h in.  But it isn't.

--
Mark Miesfeld