C++ Linker Error on CppUnit
-
29-10-2019 - |
Pergunta
I'm trying to compile an extension library for CppUnit.
But it gives me the following error while linking:
DatabaseAssert.cp:(.text+0x782): undefined reference to 'CppUnit::DatabaseAssert::getDBConnection(DBAdapter*)'
The included header file has the definition :
static oracle::occi::Connection* getDBConnection(DBAdapter *dbAdapter);
Any clues why I am still getting the undefined reference
error?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow