I'm trying to finish the last of my work with Portable Passwords, and the code is all compiling nicely, but the darn thing keeps failing on the linking stage with the error "Undefined reference to 'SQLite::SQLite(wchar_t const*, int, wchar_t const*)'". I did some research and found that "Undefined reference" usually means the referenced library hasn't been linked, so I compiled the SQLite code as a static library and linked the resulting libSQLite.a file in Portable Passwords. I also included the directory the SQLite library is in as a linker search path, but still no joy.
Does anybody know what might be going on here and how I can fix it? I'm using the MinGW compiler with Code::Blocks, if that matters.
Thank you very much!