[Info-ingres] (Fwd) Ingres static runtime library file on windows -
03-18-2005
, 03:43 AM
Hi Dudes,
I've been asked the following question by one of our
programmers. And not knowing anything about it - I thought I'd share...
Martin Bowes
I'm trying to compile some C files that belong to Alan's Xlibrary on
windows. I'm hitting a snag at the file xsql.c, because it requires
some ingres header files. I found the header files on my PC's
C:\IngresII\ingres\files folder, and the program compiled, but the
link failed.
The linker complains that it doesn't know about two dozen or so
function calls. They are functions like IIsqConnect(),
IIsqDisconnect() and Iixact().
I suspect that the problem is that I need to get my hands on the
ingres static library. I've actually found something that looks like
it fits the bill. It’s the file C:\IngresII\ingres\lib\ingres.lib,
about 3MB in size. Unfortunately it is not in Borland's format (I'm
using C++ Builder). Instead it is in Microsoft's format, which is
incompatible. There is no easy way to convert from one to the other.
I'm hoping CA has released a borland compatible static library, or
some dynamic library, that I can use instead of this ingres.lib file
I've found. I asked around in core, and I was told you would know
where to start looking.
Any comments or suggestions would be much appreciated. If there's no
way of getting xsql.c to compile and link, then I'll stick to
compiling on linux, which does work, but is my second choice.
--
Random Farscape Quote #6:
Ka'Dargo - You have no idea where we are.
Pilot - Of course I do... We are someplace else, I'll get back to you
when
more details become apparent. |