0
我正在嘗試編譯CppUnit的擴展庫。CppUnit上的C++鏈接器錯誤
但它給我下面的錯誤,同時連接:
DatabaseAssert.cp:(.text+0x782): undefined reference to 'CppUnit::DatabaseAssert::getDBConnection(DBAdapter*)'
所包含的頭文件中有定義:
static oracle::occi::Connection* getDBConnection(DBAdapter *dbAdapter);
任何線索,爲什麼我仍然得到undefined reference
錯誤?