Page 1 of 1
How to compile sqlite.c
Posted: Mon Sep 15, 2025 12:45 pm
by acreis
Good Morning, afternoon, evening,
Is it possible to compile sqlite.c then get sqlite.dll ?
Using purebasic "c", of course. In the past I've done it with pelles c, but I'm too old to try it again.
If possible, how?
Thanks in advance
Re: How to compile sqlite.c
Posted: Mon Sep 15, 2025 1:24 pm
by infratec
Re: How to compile sqlite.c
Posted: Mon Sep 15, 2025 3:19 pm
by skywalk
If you have visual studio community edition, just run the nmake CMD from a "x64 Native Tools Command Prompt".
It will be in the win folder.
sqlite.org/howtocompile.html
Re: How to compile sqlite.c
Posted: Wed Sep 17, 2025 10:31 am
by acreis
Thanks Infratec, Skywalk,
The public version of sqlite.dll doesn't meet my needs.
I have had taylored a very good 32 bit sqlite.dll to my needs 10 years ago.
Now I need update to 64 bits but I don't have time neither remeber the steps.
So I was thinking about a shortcut using purebasic, so I can take advantage of all hard work of Fred in using gcc to get exes and dlls.
My first attempt is changing sqlite.c prepending an exclamation mark to every line.
It seems the first problem is due to 'no include path to search ...'
I'll try to investigate this issue and post updates here
Re: How to compile sqlite.c
Posted: Wed Sep 17, 2025 5:57 pm
by acreis
Update
I've found this sqlite x64 with encription and fts5:
https://github.com/utelle/SQLite3Multip ... s/releases
I think it will be ok for me
Thanks