Article View: comp.windows.interviews
Article #1340RE: Re: 3.1 is now available
From: leo%hkueee.hku.hk
Date: Wed, 16 Dec 1992 19:29
Date: Wed, 16 Dec 1992 19:29
73 lines
2603 bytes
2603 bytes
franklin@gator.sps.mot.com writes:
->
->>I have down loaded IV 3.1 from sgi.com. Could not compile on SUN4 !! I may b
e
->missing
->>
->>something or doing something wrong.
->>
->>Has any one been able to compile 3.1 on SUN4? Like to hear from you.
->>
->>Thanks
->>
->>prasady@hou.amoco.com
->
->I can get everything to build except ibuild, iclass and idemo.
->Platform: Sparc II
->OS: Sun)S 4.1.2
->Compiler: Sun C++ 2.0FCS/4.0 (09/29/89)
->
->**************************** This is what happens ****************************
**
->**
[Error messages deleted]
->Any help would be appreciated
->
->--Malcolm
->
->
->--
->------------------------------------------------------------------------------
--
->Malcolm L. Franklin email: Malcolm_Franklin@chdasic.sps.mot.c
om
->Motorola ASIC CAD Phone: (602) 821-4371
->CAE Systems Fax: (602) 821-4963
->------------------------------------------------------------------------------
--
->
Our platform configuration:
Sparc 2, SunOS 4.1.1, AT&T Cfront 3.0.1, IV 3.1
We encountered similar problems in compiling iclass.c when lots of errors
appeared complaining the header file iv/src/include/IV-2_6/InterViews/box.h.
The words "major" and "minor" seem to be the culprits. After changing these
words to others, the compilation proceeds. Here is what we have done to box.h
$ diff box.h box.h.orig
53c53
< virtual void GetActual(int& major_int, int& minor_int);
---
> virtual void GetActual(int& major, int& minor);
57c57
< Interactor*, Coord major_int, int len, int thick, int minor_int
---
> Interactor*, Coord major, int len, int thick, int minor
89c89
< void GetActual(int& major_int, int& minor_int);
---
> void GetActual(int& major, int& minor);
115c115
< void GetActual(int& major_int, int& minor_int);
---
> void GetActual(int& major, int& minor);
BTW, could any C/C++ guru be kind enough to let me know whether "major" and
"minor" are undocumented reserved words.
leo@hkueee.hku.hk
Leo Chow
Dept of Electrical and Electronic Engg
University of Hong Kong
Technical Details
Message-ID:
<9212161929.AA20677@hkueee.hku.hk>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!FORSYTHE.STANFORD.EDU!leo%hkueee.hku.hkShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!FORSYTHE.STANFORD.EDU!leo%hkueee.hku.hk From: leo%hkueee.hku.hk@FORSYTHE.STANFORD.EDU Subject: RE: Re: 3.1 is now available Message-ID: <9212161929.AA20677@hkueee.hku.hk> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Wed, 16 Dec 1992 19:29:42 GMT Lines: 73