After I've been able to overcome the initial compiler problem (missing
library installation), I'm faced with a new one:

1) Compiling JDBC wrapper for 3.2.1 works fine

2) Compiling JDBC wrapper for 3.3.5 fails:

cl -Gs -EHsc -D_WIN32 -nologo -Zi -DOS_WIN=1 -D_CRT_SECURE_NO_DEPRECATE
-DNDEBUG=1 -DSQLITE_OMIT_CURSOR=1 -DWIN32=1 -DTHREADSAFE=1 -DOS_WIN=1
-DSQLITE_S
OUNDEX=1  -I. -I..\sqlite-3.3.5/src -D_DLL -c
..\sqlite-3.3.5/src/alter.c
alter.c
..\sqlite-3.3.5/src/alter.c(70) : error C2065: 'TK_SPACE' : undeclared
identifier


Regarding TK_SPACE, I've found that parse.y has changed between the two
version, where 3.3.5 version now omits these lines:

%nonassoc END_OF_FILE ILLEGAL SPACE UNCLOSED_STRING COMMENT FUNCTION
          COLUMN AGG_FUNCTION.

I've not been able to figure out where or how TK_SPACE should be
generated for the parse.h

Any ideas?

Thanks,
Andi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 11. Mai 2006 11:26
To: sqlite-users@sqlite.org
Subject: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

Hello,

I hope this isn't too off-topic, really more a compiler question than
SQLITE.

I'm trying to compile Christian Werner's Sqlite JDBC driver under WinXP
using Platform SDK and VS2005. This process breaks with the follwing
error message:

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

cl -I. -Isqlite-3.3.5 -I"C:\Program Files\Microsoft Platform SDK\Include
\crt" -DHAVE_SQLITE3=1 -Gs -GX -D_WIN32 -nologo native/fixup.c cl :
Command line warning D9035 : option 'GX' has been deprecated and will be
re moved in a future release cl : Command line warning D9036 : use
'EHsc' instead of 'GX'
fixup.c
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'
NMAKE : fatal error U1077: '.\cl.EXE' : return code '0x2'
Stop.

Problem is that LIBCMT.lib (included due to the -D_MT Switch?) that
doesn't exist in the SDK folders. The library only exists in the 64bit
subfolders (IA64, AM64).

Any ideas if the MT switch has been deprecated or where the library
should be found? Any better place to ask?

Thanks a lot,
Andreas


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to