Trouble compiling for newbie and solution all in one! :-)

41 views
Skip to first unread message

wealthychef

unread,
Apr 4, 2012, 5:15:28 PM4/4/12
to SQLCipher Users
Hello,
I'm a newbie with SQLite and SQLCipher.
This morning I was having trouble compiling and was getting the error
during builds:

error: 'sqlite3_api' was not declared in this scope

I hunted all over the Internet using Google and could not find an
answer. I hope these archives are publicly searchable.
The problem was I was using

#include <sqlite3ext.h>

the proper header is

#include <sqlite3.h>

I don't think this is obvious from the docs or examples I've seen
around. My bad if it is. But if someone happens to get to this post
from google, then my job will be done. :-)

Things are working now.
Reply all
Reply to author
Forward
0 new messages