I'm tryin to compile simple program:
#include <oci.h>
#include <stdio.h>
int main (int argc, char *argv[])
{
OCIInitialize ((ub4)OCI_DEFAULT, NULL, NULL, NULL, NULL);
printf("ok\n");
return 0;
}
That gives link error:
error LNK2019: unresolved external symbol _OCIInitialize referenced in function _main
I have linked oci.lib from oracle home directory.
I have Oracle 12.1.0 Enterprise and MS Visual C++ 2010 Express.
OS: Windows 8.1