문제

BDB is compiled on the same PC, under same VS.

#include <db_cxx.h> int main(){ Db b(NULL, 0); return 0; }

1>main.obj : error LNK2001: unresolved external symbol ""public: virtual __thiscall Db::~Db(void)" (??1Db@@UAE@XZ)"

1>main.obj : error LNK2001: unresolved external symbol ""public: __thiscall Db::Db(class DbEnv *,unsigned int)" (??0Db@@QAE@PAVDbEnv@@I@Z)"

what could be wrong?

도움이 되었습니까?

해결책

Did you remember to link in the binary created by compiling BDB?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top