Re: [sqlite] Error trying to compile sqlite-amalgamation-201405071546 in Windows
Thanks, I failed to patch the file myself, so I will simply wait next amalgation publication. Regards, ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Error trying to compile sqlite-amalgamation-201405071546 in Windows
You need a later version of the amalgamation. The issue arose on 2014-05-05 18:24:47 here: http://www.sqlite.org/src/info/857f2baf9b722e4eb1ac0d50fe03e32d5176185b The fix for this issue was checked in on 2014-05-12 15:37:03 here: http://www.sqlite.org/src/info/93ffbcc0b1d207950851dbb16a8c101afb949d5f So versions of the amalgamation code generated on versions between these dates have an issue compiling with SQLITE_THREADSAFE=0 on Windows because the windows.h file is not included early enough. >-Original Message- >From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- >boun...@sqlite.org] On Behalf Of big stone >Sent: Monday, 19 May, 2014 11:04 >To: sqlite-users@sqlite.org >Subject: Re: [sqlite] Error trying to compile sqlite-amalgamation- >201405071546 in Windows > >oups ! > >Sorry, the error comes after (no CSV import is normal). > I have this : > >No such file or directory >Creating executable: SQLite3d.exe >shell.c >Génération de code en cours >Fin de la génération du code >Creating executable: SQLite3s.exe >shell3x.c >shell3x.c(31815) : error C2061: erreur de syntaxe : identificateur >'HANDLE' >shell3x.c(31819) : error C2061: erreur de syntaxe : identificateur >'lastErrno' >shell3x.c(31819) : error C2059: erreur de syntaxe : ';' >shell3x.c(31834) : error C2061: erreur de syntaxe : identificateur 'hMap' >shell3x.c(31834) : error C2059: erreur de syntaxe : ';' >shell3x.c(31840) : error C2059: erreur de syntaxe : '}' >shell3x.c(32017) : error C2065: 'AreFileApisANSI' : identificateur non >déclaré >shell3x.c(32017) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32042) : error C2065: 'CloseHandle' : identificateur non >déclaré >shell3x.c(32042) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32047) : error C2065: 'CreateFileA' : identificateur non >déclaré >shell3x.c(32047) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32056) : error C2065: 'CreateFileW' : identificateur non >déclaré >shell3x.c(32056) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32066) : error C2065: 'CreateFileMappingA' : identificateur non >déclar >é >shell3x.c(32066) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32076) : error C2065: 'CreateFileMappingW' : identificateur non >déclar >é >shell3x.c(32076) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32085) : error C2065: 'CreateMutexW' : identificateur non >déclaré >shell3x.c(32085) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32094) : error C2065: 'DeleteFileA' : identificateur non >déclaré >shell3x.c(32094) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32102) : error C2065: 'DeleteFileW' : identificateur non >déclaré >shell3x.c(32102) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32127) : error C2065: 'FlushFileBuffers' : identificateur non >déclaré >shell3x.c(32127) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32132) : error C2065: 'FormatMessageA' : identificateur non >déclaré >shell3x.c(32132) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32141) : error C2065: 'FormatMessageW' : identificateur non >déclaré >shell3x.c(32141) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32150) : error C2065: 'FreeLibrary' : identificateur non >déclaré >shell3x.c(32150) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32157) : error C2065: 'GetCurrentProcessId' : identificateur >non >décla >ré >shell3x.c(32157) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32162) : error C2065: 'GetDiskFreeSpaceA' : identificateur non >déclaré > >shell3x.c(32162) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32171) : error C2065: 'GetDiskFreeSpaceW' : identificateur non >déclaré > >shell3x.c(32171) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32180) : error C2065: 'GetFileAttributesA' : identificateur non >déclar >é >shell3x.c(32180) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32188) : error C2065: 'GetFileAttributesW' : identificateur non >déclar >é >shell3x.c(32188) : error C2099: l'initialiseur n'est pas une constante >shell3x.c(32196) : error C2065: 'GetFileAttributesExW' : identi
Re: [sqlite] Error trying to compile sqlite-amalgamation-201405071546 in Windows
oups ! Sorry, the error comes after (no CSV import is normal). I have this : No such file or directory Creating executable: SQLite3d.exe shell.c Génération de code en cours Fin de la génération du code Creating executable: SQLite3s.exe shell3x.c shell3x.c(31815) : error C2061: erreur de syntaxe : identificateur 'HANDLE' shell3x.c(31819) : error C2061: erreur de syntaxe : identificateur 'lastErrno' shell3x.c(31819) : error C2059: erreur de syntaxe : ';' shell3x.c(31834) : error C2061: erreur de syntaxe : identificateur 'hMap' shell3x.c(31834) : error C2059: erreur de syntaxe : ';' shell3x.c(31840) : error C2059: erreur de syntaxe : '}' shell3x.c(32017) : error C2065: 'AreFileApisANSI' : identificateur non déclaré shell3x.c(32017) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32042) : error C2065: 'CloseHandle' : identificateur non déclaré shell3x.c(32042) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32047) : error C2065: 'CreateFileA' : identificateur non déclaré shell3x.c(32047) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32056) : error C2065: 'CreateFileW' : identificateur non déclaré shell3x.c(32056) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32066) : error C2065: 'CreateFileMappingA' : identificateur non déclar é shell3x.c(32066) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32076) : error C2065: 'CreateFileMappingW' : identificateur non déclar é shell3x.c(32076) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32085) : error C2065: 'CreateMutexW' : identificateur non déclaré shell3x.c(32085) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32094) : error C2065: 'DeleteFileA' : identificateur non déclaré shell3x.c(32094) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32102) : error C2065: 'DeleteFileW' : identificateur non déclaré shell3x.c(32102) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32127) : error C2065: 'FlushFileBuffers' : identificateur non déclaré shell3x.c(32127) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32132) : error C2065: 'FormatMessageA' : identificateur non déclaré shell3x.c(32132) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32141) : error C2065: 'FormatMessageW' : identificateur non déclaré shell3x.c(32141) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32150) : error C2065: 'FreeLibrary' : identificateur non déclaré shell3x.c(32150) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32157) : error C2065: 'GetCurrentProcessId' : identificateur non décla ré shell3x.c(32157) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32162) : error C2065: 'GetDiskFreeSpaceA' : identificateur non déclaré shell3x.c(32162) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32171) : error C2065: 'GetDiskFreeSpaceW' : identificateur non déclaré shell3x.c(32171) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32180) : error C2065: 'GetFileAttributesA' : identificateur non déclar é shell3x.c(32180) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32188) : error C2065: 'GetFileAttributesW' : identificateur non déclar é shell3x.c(32188) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32196) : error C2065: 'GetFileAttributesExW' : identificateur non décl aré shell3x.c(32196) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32205) : error C2065: 'GetFileSize' : identificateur non déclaré shell3x.c(32205) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32213) : error C2065: 'GetFullPathNameA' : identificateur non déclaré shell3x.c(32213) : error C2099: l'initialiseur n'est pas une constante shell3x.c(3) : error C2065: 'GetFullPathNameW' : identificateur non déclaré shell3x.c(3) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32230) : error C2065: 'GetLastError' : identificateur non déclaré shell3x.c(32230) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32241) : error C2065: 'GetProcAddress' : identificateur non déclaré shell3x.c(32241) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32251) : error C2065: 'GetSystemInfo' : identificateur non déclaré shell3x.c(32251) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32258) : error C2065: 'GetSystemTime' : identificateur non déclaré shell3x.c(32258) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32263) : error C2065: 'GetSystemTimeAsFileTime' : identificateur non d éclaré shell3x.c(32263) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32272) : error C2065: 'GetTempPathA' : identificateur non déclaré shell3x.c(32272) : error C2099: l'initialiseur n'est pas une constante shell3x.c(32280) : error C2065: 'GetTempPathW' : identificateur non déclaré shell3x.c(32280) : error C2099: l'initialiseur n'est pas une constante s
[sqlite] Error trying to compile sqlite-amalgamation-201405071546 in Windows
Hello, It's along time I didn't try to compile Sqlite amalgation. Today, I get an error on Windows when trying then new beta "sqlite-amalgamation-201405071546" : error ~= "no CSVImport.c ==> I didn't do anything different from usual, to the best of my knowledge. ==> Did anyone had an issue on this ? C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>call vcvarsall.bat Setting environment for using Microsoft Visual Studio 2010 x86 tools. C:\Users\famille\Documents\Visual Studio 2010\Projects\sqlite3_dll_385a20130519\ sqlite3\ type "buildMSVC.cmd" C:\Users\famille\Documents\Visual Studio 2010\Projects\sqlite3_dll_385a20130519\ sqlite3>buildMSVC.cmd CompileOptions=/nologo /O2 /GLFAy /fp:precise Creating library file: SQLite3.dll sqlite3.c Création de la bibliothèque SQLite3.lib et de l'objet SQLite3.exp Génération de code en cours Fin de la génération du code Creating executable; CSVImport.exe CSVImport.c c1 : fatal error C1083: Impossible d'ouvrir le fichier source : 'CSVImport.c' : No such file or directory ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users