The attachment someone sent me seemed to do the trick in terms of fixing
compilation errors, some of these other errors I am getting are kind of
unexplainable I think but unrelated to sqlite I think. Maybe things are
conflicting, I'm not sure though but in terms of any sqlite compilation
issues
If that is his only problem all he has to do is some basic definitions
for his compiler specifyng the Sqlite3 API components he is using.
Michael Ruck wrote:
If I understand him correctly, he's having issues including the original
sqlite3.h in his own sources too... He tried to build sqlite
Hi John,
Thank's for responding. Someone actually very generously emailed me an
attachment a bit earlier that seemed to work, now I am having other problems
which I think are unrelated. To be honest I am beginning to think it is
this version of c++ builder that is just extremely buggy.
Thanks,
If I understand him correctly, he's having issues including the original
sqlite3.h in his own sources too... He tried to build sqlite again to solve
that problem, but it remains there too.
I would recommed patching up sqlite3.h to conform to BC++ requirements -
changing those structs to something
Why not use gcc to compile your library, or use a precompiled DLL?
Jonathan Kahn wrote:
Hi Ulrik,
Thank you for responding. I'll try anything! The frustration that all
this has brought me I am determined to solve it.
If I built SQLite with a C compiler what would be the result? What
Hi Ulrik,
Sqlite3.h already seems to have the #ifdef extern "C" , etc as Joe Wilson
mentioned, and I try just #include and I get that error I
mentioned in my previous post about "[C++ Error] sqlite3.h(1778): E2232
Constant member 'sqlite3_index_info::nConstraint' in class without
constructors"
Hi Jonathan,
I don't use Borland C, so I can' help you with the specifics of that
compiler.
But no, you don't necessarily get an executable just by compiling with a
C compiler. You should be able to compile SQLite with a C compiler,
and in the process obtain one or more .o files.
Also, I tried changing to #ifdef __cplusplus and I still encounter many
errors such as "Constant member 'sqlite3_index_info::nConstraint' in class
without constructors" which is the same error as in sqlite3.h
Thanks
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Hi Ulrik,
Thank you for responding. I'll try anything! The frustration that all
this has brought me I am determined to solve it.
If I built SQLite with a C compiler what would be the result? What would
I be able to work with from within c++? Won't compiling leave me with an
executable?
Hi Jon,
is it not an option to build SQLite with a C compiler, then call it from
within C++?
Regards,
Ulrik Petersen
Jonathan Kahn wrote:
Even when I try to build a new dll I get errors with attach.c and it says
cannot convert 'void *' to 'Db *', no matter what route I take I always hit
--- Jonathan Kahn <[EMAIL PROTECTED]> wrote:
> I really appreciate your response. What do you suggest I do? Is there
> something else I need to include aside from sqlite3.lib? I am willing to
> try anything.
I only use GNU C++, so I can't help you with .lib files.
I'd suggest to compile
Even when I try to build a new dll I get errors with attach.c and it says
cannot convert 'void *' to 'Db *', no matter what route I take I always hit
a bump. I'm just trying anything at this point
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: Sunday, April
I really appreciate your response. What do you suggest I do? Is there
something else I need to include aside from sqlite3.lib? I am willing to
try anything.
Thanks a lot
- Jon
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 29, 2007 1:59 AM
To:
13 matches
Mail list logo