How to compile Pro*C
825196Dec 19 2010 — edited Mar 28 2013Hi,
I need a help, am new to Pro*c,
I am working on windows XP and oracle 11i.
I create and precompile the little code and try to generated .c with the VC++ 2005. Getting error message.
Included header: oracle\product\11.1.0\client_1\precomp\public
Additional lib dir:
oracle\product\11.1.0\client_1\precomp\LIB\orasql11.lib
oracle\product\11.1.0\client_1\RDBMS\XA\oraxa11.lib
oracle\product\11.1.0\client_1\oci\lib\msvc\oci.lib
oracle\product\11.1.0\client_1\precomp\LIB\msvc\orasqx11.lib
--------------------------------------------------------------------------------
Build started: Project: MyCProject, Configuration: Debug Win32
--------------------------------------------------------------------------------
1>Linking...
1>PC.obj : error LNK2019: unresolved external symbol sqlcxt referenced in function main
1>C:\Documents and Settings\user1\My Documents\Visual Studio 2005\Projects\PC\Debug\PC.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\user1\My Documents\Visual Studio 2005\Projects\PC\PC\Debug\BuildLog.htm"
1>PC - 2 error(s), 4 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Edited by: user13510690 on Dec 19, 2010 11:04 PM