Error LNK2019: unresolved external symbol sqlcx2t referenced in function act_log

  • Thread starter Thread starter Dinesh.Seeruttun
  • Start date Start date
D

Dinesh.Seeruttun

Guest
Hi

I am compiling the following command in x64 Native Tools Command Prompt VS 2019.

cl -I%ORACLE_HOME%\oci\include -I%MSVCDir%\include -I%ORACLE_HOME%\precomp\public -Zi act_log.c /LD /link %ORACLE_HOME%\oci\lib\msvc\oci.lib %ORACLE_HOME%\precomp\lib\orasql12.lib msvcrt.lib /nod:libcmt /DLL

The following errors are displayed

act_log.obj : error LNK2019: unresolved external symbol sqlcx2t referenced in function act_log
act_log.obj : error LNK2019: unresolved external symbol sqliem referenced in function act_log
act_log.dll : fatal error LNK1120: 2 unresolved externals

Before compiling I have set the following

set oracle_home=C:\app\client\admin\product\12.2.0\client_1

set MSVCDIR="C:\Program Files (x86)\Microsoft Visual Studio\VC98"

Is there more setup to be done?

Regards,

Dinesh

Continue reading...
 
Back
Top