RE: [ROOT] Re: Compiling/linking with VC++ 5

From: Phillips, PW (Peter) (P.W.Phillips@rl.ac.uk)
Date: Tue Jul 03 2001 - 18:39:38 MEST


Hi,

> I've been trying to use Visual C++ 5.0 to compile and link root
> programs on my Windows NT system, but haven't had any luck. I've
> been following the instructions given by Andrew Haas on his 
> website carefully, but when I try to link in the *.lib files, I'm given 
> the error message "...\root\lib\libCore.lib : fatal error LNK1106: 
> invalid file or disk full: cannot seek to 0x3b3392d8" I know my 
> disk isn't full, and the only reason I can think of for why things 
> aren't working out is that I'm using root 3.01/05 for Windows NT 
> with VC++ 6. Can anyone help me with this problem?

If I understand your situation correctly, you wish to build a windows 
application to use some of the ROOT libraries, but without having to build
the full ROOT system from scratch. In this case cygwin is not
needed, but you might have to upgrade your compiler before you 
can link against the libraries of ROOT version 3.01/05.

I had a very similar problem many moons ago - invalid file or disk
full - when trying to link against the libraries of ROOT v2.23 (the 
first version built with VC++ 6) using VC++ 5.  From this I surmise 
that the libraries produced by a recent version of VC++ are not compatible
with older versions of VC++.

My (low effort) solution was to build against ROOT v2.22 (built with
VC++ 4.2) until my copy of VC++ version 6 arrived.......

Hope this helps,

P.

Peter W Phillips
Particle Physics Department
CLRC Rutherford Appleton Laboratory
Chilton, Didcot, Oxon., UK, 0X11 0QX

Fax:	(+44) 1235 44 6733
Tel:	(+44) 1235 44 5218 office, 5799 or 5149 labs 
Web:	http://hepwww.rl.ac.uk/atlas-sct



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET