We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
Is there anyway to compile the sqlite on uvision compiler?
Thanks Michael
Can you please explain how did you do that?
Created a new project, added the amalgamation version of SQLite (sqlite3.c) file to the project. Obviously, sqlite3.h has to be there too. Had to add two defines (SQLITE_THREADSAFE=0 SQLITE_OS_OTHER=1) to make it compile. That's pretty much it.
Ok,
But Sqlite3 compiled correctly,but what about shell.c? or this file is not relevant ? is that its the command line utility .
I added the arguments SQLITE_THREADSAFE=0 SQLITE_OS_OTHER=1 to the preprocessor symbols.
stm32.axf: Error: L6218E: Undefined symbol sqlite3_os_init (referred from sqlite3.o). stm32.axf: Error: L6218E: Undefined symbol sqlite3_os_end (referred from sqlite3.o).
Thats what i get after i removed the shell file
Hey, you have to do the porting yourself. It will take some effort, and it is unreasonable to expect that someone on this forum will do it for you.
unreasonable to expect that someone on this forum will do it for you for free
http://www.keil.com/condb