How to compile sqlite.c

Just starting out? Need help? Post your questions and find answers here.
acreis
Enthusiast
Enthusiast
Posts: 209
Joined: Fri Jun 01, 2012 12:20 am

How to compile sqlite.c

Post 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
infratec
Always Here
Always Here
Posts: 7625
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: How to compile sqlite.c

Post by infratec »

User avatar
skywalk
Addict
Addict
Posts: 4223
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: How to compile sqlite.c

Post 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
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
acreis
Enthusiast
Enthusiast
Posts: 209
Joined: Fri Jun 01, 2012 12:20 am

Re: How to compile sqlite.c

Post 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
acreis
Enthusiast
Enthusiast
Posts: 209
Joined: Fri Jun 01, 2012 12:20 am

Re: How to compile sqlite.c

Post 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
Post Reply