I'm kind of new to c/c++ within Eclipse, trying to program some sqlite routines for MATLAB, using the sqlite amalgamation.
I'm having the issue, that eclipse seems to be missing something around the basic sqlite3 type.
I'm getting 'invalid arguments' errors on all functions taking a sqlite3* as input.
E.g. on sqlite3_close I'm getting
Invalid arguments
Candidates are: int sqlite3_close(*)
while the proper prototype is
int sqlite3_close(sqlite3*)
The same issue occurs with all sqlite3_stmt types.
I've included sqlite3.h, it's in the same directory  and, last but not least, the code compiles and runs just fine.
What am I missing here?
 
     
    