Re: [sqlite] Sqlite with VS 2008

2013-12-05 Thread Crashbeta
Compile ? >?  if your using windows you dont need to Compile SQLITE just use
 http://www.sqlite.org/2013/sqlite-dll-win32-x86-3080100.zip
if you need to Compile the C++ Source
just use a few free C++ Compilers available on the internet 
http://www.bloodshed.net/download.html



--
View this message in context: 
http://sqlite.1065341.n5.nabble.com/Sqlite-with-VS-2008-tp60121p72762.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Sqlite with VS 2008

2010-10-29 Thread Teg
Linda,

I'm using the individual files to compile a static lib. Just create a
new project as a static lib. Unzip the source files into the project
folder and then add all the h and c files to the project. You'll have
to delete some but, you can figure that out when you compile.

SQLITE_CORE;
SQLITE_OMIT_AUTHORIZATION;
SQLITE_OMIT_AUTOVACUUM;
SQLITE_OMIT_BLOB_LITERAL;
SQLITE_OMIT_DATETIME_FUNCS;
SQLITE_OMIT_MEMORYDB;
SQLITE_OMIT_TRACE;
SQLITE_OMIT_CURSOR

These are defines I use when I compile.

I then include the lib project in my main project, set dependencies
so, it automatically links in the lib and manually include the new
project folder in my header search list.

"Add Existing Project" in the "Add" right click of the solution
explorer.

The amalgamation works but, you won't be able to single step in and
debug the lib if you use it. It's a limitation of the compiler.



C



Friday, October 29, 2010, 1:28:27 PM, you wrote:

SAM> I would suggest using the pre-compiled binary sqlite3.dll and just call
SAM> into the DLL.  You can easily create an import library to link with in
SAM> your application by using the LIB /DEF command:

SAM> lib /def:sqlite3.def

SAM> That will create sqlite3.lib and sqlite3.exp.  You can link against the
SAM> sqlite3.lib file and it will use the sqlite3.dll.

SAM> -Scott

SAM> sqlite-users-boun...@sqlite.org wrote on 10/29/2010 09:42:09 AM:

>> > I am trying to use sqlite in the debea database library.
>> > 
>> > http://debea.net/trac/wiki/CompileSvn
>> > 
>> > It simply says compile sqlite3.
>> > 
>> > I am however a VS2008 user.  I cannot find a way to compile it so I 
SAM> can
>> > reference the include and library directories.  Can you help?
>> > 
>> > Linda Rawson
>> 
>> Linda,
>> 
>> The only way that I know of to compile SQLite in VS 2008 is to use 
>> the amalgamation download.  You can find it here:  http://www.
>> sqlite.org/download.html.  This will be only a single .c file.
>> 
>> I'm not sure this will meet your needs if you need to reference the 
>> include folder.  You may need to explore building the TEA tarball. 
>> I've never tried it in windows, but it look like there is guidance 
>> on the TEA website http://www.tcl.tk/doc/tea/.
>> 
>> Has anyone tried this in Windows?
>> 
>> RW
>> 
>> Ron Wilson, Engineering Project Lead
>> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
>> 
>> HARRIS CORPORATION   |   RF Communications Division 
>> assuredcommunications(tm)
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

SAM> ___
SAM> sqlite-users mailing list
SAM> sqlite-users@sqlite.org
SAM> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users



-- 
Best regards,
 Tegmailto:t...@djii.com

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Sqlite with VS 2008

2010-10-29 Thread Scott A Mintz
I would suggest using the pre-compiled binary sqlite3.dll and just call 
into the DLL.  You can easily create an import library to link with in 
your application by using the LIB /DEF command:

lib /def:sqlite3.def

That will create sqlite3.lib and sqlite3.exp.  You can link against the 
sqlite3.lib file and it will use the sqlite3.dll.

-Scott

sqlite-users-boun...@sqlite.org wrote on 10/29/2010 09:42:09 AM:

> > I am trying to use sqlite in the debea database library.
> > 
> > http://debea.net/trac/wiki/CompileSvn
> > 
> > It simply says compile sqlite3.
> > 
> > I am however a VS2008 user.  I cannot find a way to compile it so I 
can
> > reference the include and library directories.  Can you help?
> > 
> > Linda Rawson
> 
> Linda,
> 
> The only way that I know of to compile SQLite in VS 2008 is to use 
> the amalgamation download.  You can find it here:  http://www.
> sqlite.org/download.html.  This will be only a single .c file.
> 
> I'm not sure this will meet your needs if you need to reference the 
> include folder.  You may need to explore building the TEA tarball. 
> I've never tried it in windows, but it look like there is guidance 
> on the TEA website http://www.tcl.tk/doc/tea/.
> 
> Has anyone tried this in Windows?
> 
> RW
> 
> Ron Wilson, Engineering Project Lead
> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
> 
> HARRIS CORPORATION   |   RF Communications Division 
> assuredcommunications(tm)
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Sqlite with VS 2008

2010-10-29 Thread Black, Michael (IS)
Thanks for pointing out this project...I may be able to use this in my current 
effort.
 
Download the amalgamation
http://www.sqlite.org/sqlite-amalgamation-3_7_3.zip
Download the windows binaries
http://www.sqlite.org/sqlitedll-3_7_3.zip
 
Extract the sqlite3.h from the amalgation and the sqlite3.dll and sqlite3.def 
files from the binaries somewhere -- like maybe in your debea directory.
In my case it was a subdirectory under the debea svn checkout
D:\Projects\debea\sqlite3
 
 
>From VS command window build the .lib file
cd \projects\debea\sqlite3
lib /def:sqlite3.def
mkdir lib
mkdir include
move *.dll lib
move *.lib lib
move *.h include
WXW
Setup your environment variable
set SQLITE3_PATH=D:\Projects\debea\sqlite3
 
Modify the debea_dev_build.bat
SET DBA_PLUGINS=CSV=1 SQLITE3=1 ODBC=0 PGSQL=0 XML=0
SET DEBEA_CONFIGURE_FLAGS=DEBUG=0 TESTS=0
set SOURCES_DIR=D:\Projects\debea
SET DEVEL=D:\Projects\debeabuild
SET BUILD_DIR=D:\Projects\debeabuild
 
Comment out all the lines in the wxdba library build (I don't need it -- I 
don't know about you -- if you want the WX stuff you need to set WXWIN)
REM build wxdba library - needs wxWidgets to build
 
Build it
 
You should end up with dba.lib in your DEVEL\lib directory
 
You'll need to put the sqlite3.dll in your path somewhere so your other 
projects can find it.
 
Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Northrop Grumman Information Systems
 



From: sqlite-users-boun...@sqlite.org on behalf of Linda Rawson
Sent: Thu 10/28/2010 12:32 PM
To: sqlite-users@sqlite.org
Subject: EXTERNAL:[sqlite] Sqlite with VS 2008



I am trying to use sqlite in the debea database library.

http://debea.net/trac/wiki/CompileSvn

It simply says compile sqlite3.

I am however a VS2008 user.  I cannot find a way to compile it so I can
reference the include and library directories.  Can you help?

Linda Rawson
Sensory Technology Consultants
 <blocked::http://www.sensorytech.net/> http://www.sensorytech.net 
<http://www.sensorytech.net/> 
Phone:  801-791-9222 | Fax:  888-294-6706
Email:  <mailto:linda.raw...@sensorytech.net> linda.raw...@sensorytech.net

A Woman-Owned, 8(a) Minority, Small Business

The NATURAL PROGRESSION to technology, consulting and system integration...

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Sqlite with VS 2008

2010-10-29 Thread Wilson, Ronald
> I am trying to use sqlite in the debea database library.
> 
> http://debea.net/trac/wiki/CompileSvn
> 
> It simply says compile sqlite3.
> 
> I am however a VS2008 user.  I cannot find a way to compile it so I can
> reference the include and library directories.  Can you help?
> 
> Linda Rawson

Linda,

The only way that I know of to compile SQLite in VS 2008 is to use the 
amalgamation download.  You can find it here:  
http://www.sqlite.org/download.html.  This will be only a single .c file.

I'm not sure this will meet your needs if you need to reference the include 
folder.  You may need to explore building the TEA tarball.  I've never tried it 
in windows, but it look like there is guidance on the TEA website 
http://www.tcl.tk/doc/tea/.

Has anyone tried this in Windows?

RW

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division 
assuredcommunications(tm)
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Sqlite with VS 2008

2010-10-29 Thread Linda Rawson
I am trying to use sqlite in the debea database library.

http://debea.net/trac/wiki/CompileSvn

It simply says compile sqlite3.

I am however a VS2008 user.  I cannot find a way to compile it so I can
reference the include and library directories.  Can you help?

Linda Rawson
Sensory Technology Consultants
  http://www.sensorytech.net
Phone:  801-791-9222 | Fax:  888-294-6706
Email:   linda.raw...@sensorytech.net

A Woman-Owned, 8(a) Minority, Small Business

The NATURAL PROGRESSION to technology, consulting and system integration... 

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users