"Undefined reference" error - need a pointer or two
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.
- Read more about "Undefined reference" error - need a pointer or two
- 4 comments
- Log in or register to post comments
I've made a portable app using the Launcher, and it's licensed under the GPL or LGPL. The exact wording is: