1
votes

I used public sqlite in the project without encryption, and now I tried to encrypt the database with sqlcipher. I downloaded the code and configured it, and followed the instruction to define the flags in the makefile. However, when I want to compile the project, it still shows the error of the undefined function of sqlite_key, while I do include <sqlite3.h> in the project. enter image description here

I think that theoretically, the sqlcipher should have implemented the sqlite_key function in the source code, but I'm uncertain of how to integrate that into my project.

it still shows the error -- Please post the error. Second, post text, not images. - PaulMcKenzie