If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > oci

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-04, 06:47
twokai twokai is offline
Registered User
 
Join Date: Sep 2004
Posts: 8
Unhappy oci

i am trying to compile an oci program but getting the following error

Linking...
cdemorid.obj : error LNK2001: unresolved external symbol _OCIDescriptorAlloc
cdemorid.obj : error LNK2001: unresolved external symbol _OCIHandleAlloc
cdemorid.obj : error LNK2001: unresolved external symbol _OCILogon
cdemorid.obj : error LNK2001: unresolved external symbol "int __cdecl init_handles(struct OCIEnv * *,struct OCIError * *,int)" (?init_handles@@YAHPAPAUOCIEnv@@PAPAUOCIError@@H@Z )
cdemorid.obj : error LNK2001: unresolved external symbol _OCIEnvInit
cdemorid.obj : error LNK2001: unresolved external symbol _OCIInitialize
cdemorid.obj : error LNK2001: unresolved external symbol _OCIHandleFree
cdemorid.obj : error LNK2001: unresolved external symbol _OCILogoff
cdemorid.obj : error LNK2001: unresolved external symbol _OCIErrorGet
cdemorid.obj : error LNK2001: unresolved external symbol _OCIAttrGet
cdemorid.obj : error LNK2001: unresolved external symbol _OCIStmtFetch
cdemorid.obj : error LNK2001: unresolved external symbol _OCIDefineByPos
cdemorid.obj : error LNK2001: unresolved external symbol _OCIStmtExecute
cdemorid.obj : error LNK2001: unresolved external symbol _OCIAttrSet
cdemorid.obj : error LNK2001: unresolved external symbol _OCIStmtPrepare
cdemorid.obj : error LNK2001: unresolved external symbol _OCIBindByPos
Debug/cdemorid.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.

cdemorid.exe - 17 error(s), 1 warning(s)
Reply With Quote
  #2 (permalink)  
Old 10-27-04, 15:56
watchachi watchachi is offline
Registered User
 
Join Date: Jan 2004
Posts: 17
Did you configured in your compiler the oracle libs?

The libs and headers are in "c:\oracle\ora92\oci\" i dont remember for shure,
but they are somewhere there in a folder called "oci".
Reply With Quote
  #3 (permalink)  
Old 12-07-04, 07:29
ashika ashika is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
oci link.exe

need oci.lib in project settings link- Object/Library modules in Microsoft Visual studio.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On