Linking error with VC++ [message #93704] |
Wed, 23 October 2002 06:07 |
G. Bharathi
Messages: 1 Registered: October 2002
|
Junior Member |
|
|
In my project, I have 2 *.PC files & so 2 *.cpp files correspondingly. In both the files i have include sqlca.h.
I have tried the option given in oracle documentation ie.
#undef SQLCA
#include <sqlca.h>
I have even tried the option by declaring the struct as extern. But nothing works.
I get the linking error LNK2005 when I build the project in VC++.
What is the solution for it? Can anyone help us.
|
|
|
Re: Linking error with VC++ [message #93789 is a reply to message #93704] |
Mon, 20 January 2003 08:49 |
Thotakura
Messages: 9 Registered: January 2003
|
Junior Member |
|
|
Hai,
Go to Project Menu and then settings go to link tab and there type oci.lib and orasql8.lib in library modules text box and then press OK.
u'r problem will be solved.
|
|
|
|
|