unqlite

error LNK2019: unresolved external symbo UnQLite

五迷三道 提交于 2019-12-11 13:43:40
问题 I am trying to use UnQLite database with visual studio 2012, but when I try to open the database I got the following error: error LNK2019: unresolved external symbol "int __cdecl unqlite_open(struct unqlite * *,char const *,unsigned int)" (?unqlite_open@@YAHPAPAUunqlite@@PBDI@Z) referenced in function "bool __cdecl connect_database(void)" (?connect_database@@YA_NXZ) This is my code: void connect_database() { // Open our database; rc = unqlite_open(&pDb,"myDB.db",UNQLITE_OPEN_CREATE); if( rc !