Subject RE: [Firebird-Java] Re: Compiling Type2 driver
Author Ryan Baldwin
Hi Luca,


>Anyway, is there an env variable which must be set to let ant find
>"windows.h" and all the files in the VC98\Include directory?

I believe this may be taken care of by the VCVARS32.BAT file that should
have been installed along with the MSVC6 tools. This defines the following
enironment variables: VSCommonDir, MSDevDir, MSVCDir, INCLUDE, LIB, VcOsDir
and VSCommonDir.

These were added by the MSVC6 setup as user variables when I installed it -
although maybe theres an option to select. But If you track down your
vcvars32.bat and run it it will set these and the code should then build OK.
I guess you could also then transfer these to your user or system
environment variables.

Thanks
Ryan

-----Original Message-----
From: Luca Lafranchi [mailto:luca.lafranchi@...]
Sent: 19 August 2003 20:07
To: firebird-java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Compiling Type2 driver


Hi,

>
> Perhaps also for sanity's sake - if you have the time and are willing you
> could attempt this:
>


So, in the end I managed to make it work...
The key was ANT_HOME: as soon as I deleted it from the env variables,
the build worked...until it encountered the c++ include files.
Pretty strange, because today at work I also delete the variable, but it
wouldn't work. Maybe I didn't restart the dos prompt... Tomorrow I'll
try it again.
Anyway, is there an env variable which must be set to let ant find
"windows.h" and all the files in the VC98\Include directory?

Thanks for your help

Luca









To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/