go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Closed REQ 5291]: Geomview 1.5 src on SGI IRIX 5.3


  • To: software@geom
  • Subject: Re: [Closed REQ 5291]: Geomview 1.5 src on SGI IRIX 5.3
  • From: "Daeron Meyer" <daeron>
  • Date: Wed, 8 Mar 95 18:37:07 CST

> 
> Date: Wed, 8 Mar 1995 19:11:40 -0500 (EST)
> From: "David @ Stone/DnA" <vermeer at panix.com>
> To: software@geom
> Subject: Geomview 1.5 src on SGI IRIX 5.3
> Message-Id: <Pine.SUN.3.91.950308185559.15053A-100000 at panix3.panix.com>
> 
> 
> 	Hi,
> 
> 	I was told about your program by a friend, and am happy it
> exists! I got the source (why? Because I like to compile!) and followed
> the INSTALL doc to a "T", but my "make install" exits:
> 
> *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21)
> *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21)
> 
> here's a "screen grab" of the final gasps before exipring:
> 
> 
> [...]
> 
>         cc -I.. -O -float -prototypes  -DMACHTYPE='"sgi"' -I../../../../../include  -c coled.c
> cfe: Warning 709: coled.c, line 199: Incompatible pointer type assignment
>      XtAddCallback(AxisButton, ((char*)&_XmStrings[4683]) , axis_callback, &mine);
>  -----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 200: Incompatible pointer type assignment
>      XtAddCallback(DeleteButton, ((char*)&_XmStrings[4683]) , delete_callback, &mine);
>  -------------------------------------------------------------^
> cfe: Warning 709: coled.c, line 201: Incompatible pointer type assignment
>      XtAddCallback(AddButton, ((char*)&_XmStrings[4683]) , add_callback, &mine);
>  ----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 202: Incompatible pointer type assignment
>      XtAddCallback(SaveButton, ((char*)&_XmStrings[4683]) , save_callback, &mine);
>  -----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 203: Incompatible pointer type assignment
>      XtAddCallback(ExitButton, ((char*)&_XmStrings[4683]) , exit_callback, 0 );
>  -----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 205: Incompatible pointer type assignment
>      XtAddCallback(RScale, ((char*)&_XmStrings[6187]) , scale_callback, &mine);
>  -------------------------------------------------------^
> cfe: Warning 709: coled.c, line 206: Incompatible pointer type assignment
>      XtAddCallback(GScale, ((char*)&_XmStrings[6187]) , scale_callback, &mine);
>  -------------------------------------------------------^
> cfe: Warning 709: coled.c, line 207: Incompatible pointer type assignment
>      XtAddCallback(BScale, ((char*)&_XmStrings[6187]) , scale_callback, &mine);
>  -------------------------------------------------------^
> cfe: Warning 709: coled.c, line 208: Incompatible pointer type assignment
>      XtAddCallback(RScale, ((char*)&_XmStrings[10557]) , scale_callback, &mine);
>  --------------------------------------------------------^
> cfe: Warning 709: coled.c, line 209: Incompatible pointer type assignment
>      XtAddCallback(GScale, ((char*)&_XmStrings[10557]) , scale_callback, &mine);
>  --------------------------------------------------------^
> cfe: Warning 709: coled.c, line 210: Incompatible pointer type assignment
>      XtAddCallback(BScale, ((char*)&_XmStrings[10557]) , scale_callback, &mine);
>  --------------------------------------------------------^
> cfe: Warning 709: coled.c, line 212: Incompatible pointer type assignment
>      XtAddCallback(RTextBox, ((char*)&_XmStrings[10557]) , text_to_scale, &mine);
>  ----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 213: Incompatible pointer type assignment
>      XtAddCallback(GTextBox, ((char*)&_XmStrings[10557]) , text_to_scale, &mine);
>  ----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 214: Incompatible pointer type assignment
>      XtAddCallback(BTextBox, ((char*)&_XmStrings[10557]) , text_to_scale, &mine);
>  ----------------------------------------------------------^
> cfe: Warning 709: coled.c, line 216: Incompatible pointer type assignment
>      XtAddCallback(PointList, ((char*)&_XmStrings[5112]) , list_callback, &mine);
>  ----------------------------------------------------------^
>         rm -f coledgl.o coledgl.c
>         ln ../coledgl.c .
>         cc -I.. -O -float -prototypes  -DMACHTYPE='"sgi"' -I../../../../../include  -c coledgl.c
> cfe: Warning 709: coledgl.c, line 48: Incompatible pointer type assignment
>    XtAddCallback(color_bar, "ginitCallback" , wininit, 0);
>  ---------------------------------------------^
> cfe: Warning 709: coledgl.c, line 49: Incompatible pointer type assignment
>    XtAddCallback(color_bar, "exposeCallback" , winexposecbar, 0);
>  ----------------------------------------------^
. 
. 
. 
> 	I set "COPTS" to "-O" and left the other stuff as released...
> save for specifying CPU, and $GEOMVIEW.
> 
> 	I am using an Indy R4000SC with the intent to use your sw as
> a viewer/modeller.
> 
> 	I first set the "-mips2" flag to take advantage of the R4000 instruc
> set, but I can't get the recommended options to compile.
> 	
> 	Any help greatly thankful for!
> 
> David Carrigan
> 0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0O0OO0O
>  ^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^
>    S T O N E |  |  David Carrigan  |    |    |   | || |  |   |    |    |
>     vermeer at panix.com "No matter where you are, you're there." -BBonzai 
> 
> 
> 
> 

Hi David,

   Sorry for the messy compile. We've just recently started upgrading
from Irix 4.0.5 to Irix 5.x and haven't had enough time to check whether
the compile runs cleanly or not (obviously it doesn't). Perhaps SGIs newer
compiler is just more picky.... To fix the above errors you'll need to
make modifications that look something like this for each offending
line of code:

XtAddCallback(DeleteButton, ((char*)&_XmStrings[4683]) , delete_callback, &mine);
				|  (becomes)
				V

XtAddCallback(DeleteButton, ((char*)&_XmStrings[4683]) , (XtCallbackProc) delete_callback, (XtPointer) &mine);

Also, the part that bombed out is part of the external module package NDview
(which is mainly used for viewing objects with dimension > 3). If you aren't
interested in that particular feature you could just do a "make -k" and
skip over the problem spot.

Hope this helps.

Daeron Meyer
daeron at geom.umn.edu


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo