Home » Developer & Programmer » Precompilers, OCI & OCCI » LNK2019: unresolved external symbol _OCIInitialize
LNK2019: unresolved external symbol _OCIInitialize [message #129905] Wed, 27 July 2005 04:24 Go to next message
manojs2k
Messages: 1
Registered: July 2005
Location: India
Junior Member
Hi,
I am using icl to compile my oci program on windows XP. I am getting the LNK2019: unresolved external symbol _OCIInitialize

I guess some environment variable is not set properly.
Can anybody point me to exactly what needs to be set

Thanks,
Manoj
Re: LNK2019: unresolved external symbol _OCIInitialize [message #131293 is a reply to message #129905] Fri, 05 August 2005 03:09 Go to previous message
Michael Hartley
Messages: 110
Registered: December 2004
Location: West Yorkshire, United Ki...
Senior Member

Hi

first question has to be: what is ICL?

There are only a few compilers supported by Oracle so you should check that yours is one of them.

In answer to your question is seems you are not linking against the static libraries.

If you switch to mingw, you can link against the dynamic library ${ORACLE_HOME}/bin/oci.dll. However you may be better served by Oracle if you move to Visual C++, though my favourite is still mingw.

Kind regards
Michael Hartley
http://www.openfieldsolutions.co.uk
Previous Topic: Microfocus Workbench
Next Topic: Unresolved symbols nauseid, nauk5akerberos, nauidtx, nauradius
Goto Forum:
  


Current Time: Tue Mar 19 05:35:12 CDT 2024