D. Kettler said:
> When I add the -static flag to my g++ command it gives me 'undefined
> reference to' errors for every instance where I attempt to use a sqlite
> function.
>
> This is on a Debian (testing) system and yes I have both libsqlite3 and
> libsqlite3-dev installed. There are libsqlit
On Mon, 15 Aug 2005, Curtis King wrote:
On 15-Aug-05, at 7:12 PM, D. Kettler wrote:
g++ -o kumacgen kumacgen.cpp /usr/lib/libsqlite3.a
add -lpthread to your link line.
ck
Thank you! I should have thought of that, d'oh. Anyway, it works now.
--
David Kettler
[EMAIL PROTECTED]
On 15-Aug-05, at 7:12 PM, D. Kettler wrote:
g++ -o kumacgen kumacgen.cpp /usr/lib/libsqlite3.a
add -lpthread to your link line.
ck
On Tue, 16 Aug 2005, Ulrik Petersen wrote:
Hi,
There are libsqlite3.a, libsqlite3.la, and libsqlite3.so files
in /usr/lib/
Could you show us the exact command line you are trying to use when
running g++ ?
I'm especially interested in the version where you give the
/usr/lib/libsqlite3.a full
On 15-Aug-05, at 5:39 PM, D. Kettler wrote:
Project? DLL? Visual Studio? I said I was using Linux and g++
just link with full path to libsqlite3.a
example: gcc -o foo foo.o /usr/local/lib/libsqlite3.a
man gcc
ck
ooked and
confirmed that sqlite3.h doesn't seem to have those values defined.
-Original Message-
From: D. Kettler [mailto:[EMAIL PROTECTED]
Sent: Monday, August 15, 2005 5:37 PM
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] Linking libsqlite statically
On Mon, 15 Aug 2005, Aaron
Hi,
> There are libsqlite3.a, libsqlite3.la, and libsqlite3.so files
> in /usr/lib/
Could you show us the exact command line you are trying to use when
running g++ ?
I'm especially interested in the version where you give the
/usr/lib/libsqlite3.a fully qualified filename on the commandline.
Yo
On Mon, 15 Aug 2005, Aaron Schneider wrote:
If you compile and use the header files from the projects, they will
add a __declspec(dllimport) to the beginning of the files. In Visual
Studio, this changes the symbol defs, so functions used in your
linked
code will not work.
To fix it, just
>> If you compile and use the header files from the projects, they will
>> add a __declspec(dllimport) to the beginning of the files. In Visual
>> Studio, this changes the symbol defs, so functions used in your
linked
>> code will not work.
>>
>> To fix it, just change the "#define SQLITE_EXPOR
On Mon, 15 Aug 2005, Aaron Schneider wrote:
If you compile and use the header files from the projects, they will add
a __declspec(dllimport) to the beginning of the files. In Visual
Studio, this changes the symbol defs, so functions used in your linked
code will not work.
To fix it, just chang
>When I add the -static flag to my g++ command it gives me 'undefined
>reference to' errors for every instance where I attempt to use a sqlite
>function.
If you compile and use the header files from the projects, they will add
a __declspec(dllimport) to the beginning of the files. In Visual
Stu
Hello,
I've written a simple C++ app which uses sqlite and thus far it works
perfectly fine as long as I compile it linking to the library dynamically
(standard g++ behavior). However, I would like to be able to distribute
this app to people who do not necessarily have the sqlite libraries
i
12 matches
Mail list logo