>> If you compile and use the header files from the projects, they will 
>> add a __declspec(dllimport) to the beginning of the files.  In Visual

>> Studio, this changes the symbol defs, so functions used in your
linked 
>> code will not work.
>>
>> To fix it, just change the "#define SQLITE_EXPORT 
>> __declspec(dllimport)" to "#define SQLITE_EXPORT" near the top of 
>> sqlite.h.
>>
>
>Project?  DLL?  Visual Studio?  I said I was using Linux and g++

I know you're not using Visual Studio.  But I'm guessing that g++ does
something similar.  Make sure that the macro SQLITE_EXPORT is not equal
to __declspec(dllimport), recompile all of the object files, and see if
that works.

Reply via email to