Zdravim. Zkousim se pomoci C++ pripojit na Oracle, ale linker mi vyhazuje chyby
o.obj : error LNK2019: unresolved external symbol "public: static void __cdecl oracle::occi::Environment::terminateEnvironment(class oracle::occi::Environment *)" (?terminateEnvironment@Environment@occi@oracle@@SAXPAV123@@Z) referenced in function _wmain
o.obj : error LNK2019: unresolved external symbol "public: static class oracle::occi::Environment * __cdecl oracle::occi::Environment::createEnvironment(enum oracle::occi::Environment::Mode,void *,void * (__cdecl*)(void *,unsigned int),void * (__cdecl*)(void *,void *,unsigned int),void (__cdecl*)(void *,void *))" (?createEnvironment@Environment@occi@oracle@@SAPAV123@W4Mode@123@PAXP6APAX1I@ZP6APAX11I@ZP6AX11@Z@Z) referenced in function _wmain
D:\programovani\C++\test_oracle\o\Debug\o.exe : fatal error LNK1120: 2 unresolved externals
zdrojak:
#include "stdafx.h"
#include <occi.h>
using namespace oracle::occi;
int _tmain(int argc, _TCHAR* argv[])
{
Environment *env = Environment::createEnvironment();
Environment::terminateEnvironment(env);
return 0;
}
Nevite nekdo co s tim? Predem dik