Regarding the issue of Building SQLite for Windows Phone 8
I also have a problem compiling SQLite for Windows Phone 8. I tried with
nmake -f Makefile.msc sqlite3.dll FOR_WINRT = 1
I am compiling using the VS 2012 X86 Command Tools command line. And also I noticed that he selects the correct cl.exe. But he complains about the missing winreg.h header file. I do not see this header file available in the folder with the Windows Phone bundle.
vs console Log:
sqlite3.c
C:\Program Files (x86)\Windows Phone Kits\8.0\include\windows.h(182) : fatal err
or C1083: Cannot open include file: 'winreg.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\WPSDK\WP80\BIN\cl.EXE"' : return code '0x2'
Stop.
And also, I checked Makefile.msc, I did not find any specific compiler option for WP8. I successfully compiled for WIN RT after Tim Heuer Note .
source
share