apparently you are using Microsoft compiler.
You need to add the folder where is located the ocilib[a|w].lib to your libraries path (under ocilib\lib32 and ocilib\lib64)
Regards,
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Found a test case. Compiles it. Gives an errors:
Warning 1 warning C4706: assignment within conditional expression d:\mz\oci\ocilib\ocilib\demo\ocilib_demo.c 672 1 OCILIB Demo
Warning 2 warning C4706: assignment within conditional expression d:\mz\oci\ocilib\ocilib\demo\ocilib_demo.c 870 1 OCILIB Demo
Warning 3 warning C4706: assignment within conditional expression d:\mz\oci\ocilib\ocilib\demo\ocilib_demo.c 708 1 OCILIB Demo
Warning 4 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 5 error LNK2019: unresolved external symbol _ocisprintf referenced in function _test_bind2 D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 6 error LNK2019: unresolved external symbol _OCI_Initialize@12 referenced in function _main D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 7 error LNK2019: unresolved external symbol _OCI_Cleanup@0 referenced in function _cleanup D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 8 error LNK2019: unresolved external symbol _OCI_GetOCICompileVersion@0 referenced in function _print_version D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 9 error LNK2019: unresolved external symbol _OCI_GetOCIRuntimeVersion@0 referenced in function _test_timestamp D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Error 10 error LNK2019: unresolved external symbol _OCI_GetImportMode@0 referenced in function _print_version D:\mz\oci\ocilib\ocilib\proj\test\ocilib_demo.obj OCILIB Demo
Hi,
apparently you are using Microsoft compiler.
You need to add the folder where is located the ocilib[a|w].lib to your libraries path (under ocilib\lib32 and ocilib\lib64)
Regards,
Vincent