[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bgsdev::open3d

Title:open3d
Notice:Kits on notes 3 and 4; Documents note 223
Moderator:WRKSYS::COULTER
Created:Wed Dec 09 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1306
Total number of notes:5260

1254.0. "Problem creating OpenGL examples" by SWETSC::HAGLUND () Tue Mar 04 1997 07:18

			Hello!

	 A customer reported this problem on Digital UNIX v4.0a
	and Open3D V4.1. Has anyone out there been able to
	build theese examples with the instructions provided in
	the manual? Note 1175 has the same question. This was
	on v4.0 of DU/Open3D.

Regards,

Tomas Haglund

This file describes my attempt to build toolkit libraries as
described on p. 2 - 5 in "Digital Open3D Using OpenGL" in
"Digital Open3D for Digital UNIX Systems" under
"Programming Tools & Languages" on CD osf_bindoc1
read by bookreader.

/home/bo> echo $PATH
/home/bo/bin:/usr/bin:.:/usr/bin/X11
/home/bo> mkdir GL
/home/bo> cd /usr/examples/GL
/usr/examples/GL> tar cf - . | (cd $HOME/GL && tar xvf - )
blocksize = 20
x .
x ./Imakefile, 3612 bytes, 8 tape blocks
.
. ( File names are not included in this mail )
.
/usr/examples/GL> cd $HOME/GL
/home/bo/GL> cd libtk
/home/bo/GL/libtk> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/libtk> make
rm -f cursor.o
cc  -c -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG
   cursor.c
cc: Warning: cursor.c, line 61: In this statement, the referenced type of the po
inter value "buf" is "unsigned char", which is not compatible with "char".
    shapeMap = XCreatePixmapFromBitmapData(xDisplay, wRoot, buf, 16, 16,
---------------^
cc: Warning: cursor.c, line 72: In this statement, the referenced type of the po
inter value "buf" is "unsigned char", which is not compatible with "char".
    maskMap = XCreatePixmapFromBitmapData(xDisplay, wRoot, buf, 16, 16,
--------------^
rm -f event.o
cc  -c -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG
   event.c
rm -f getset.o
cc  -c -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG
   getset.c
rm -f shapes.o
cc  -c -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG
   shapes.c
rm -f window.o
cc  -c -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG
   window.c
rm -f libtk.a
ar clqZ libtk.a cursor.o event.o getset.o shapes.o window.o
rm -f vms_libtk.readme
ln -s README vms_libtk.readme
/home/bo/GL/libtk> cd ../libaux
/home/bo/GL/libaux> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/libaux> make
rm -f aux.o
cc  -c -O2 -std1  -I/usr/examples/GL/libtk -I./GL -I/usr/include  -DLONG_BIT=64
 -DNO_MESSAGE_CATALOG      aux.c
cc: Warning: aux.h, line 296: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Display *auxXDisplay(GLvoid);
----------------^
cc: Warning: aux.h, line 297: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Window auxXWindow(GLvoid);
--------------^
cc: Warning: aux.c, line 283: Non-void function "auxInitDisplayModeID" does not
contain a return statement.
GLenum auxInitDisplayModeID(GLint id)
^
rm -f shapes.o
cc  -c -O2 -std1  -I/usr/examples/GL/libtk -I./GL -I/usr/include  -DLONG_BIT=64
 -DNO_MESSAGE_CATALOG      shapes.c
cc: Warning: aux.h, line 296: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Display *auxXDisplay(GLvoid);
----------------^
cc: Warning: aux.h, line 297: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Window auxXWindow(GLvoid);
--------------^
rm -f teapot.o
cc  -c -O2 -std1  -I/usr/examples/GL/libtk -I./GL -I/usr/include  -DLONG_BIT=64
 -DNO_MESSAGE_CATALOG      teapot.c
cc: Warning: aux.h, line 296: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Display *auxXDisplay(GLvoid);
----------------^
cc: Warning: aux.h, line 297: In this function definition, a typedef void parame
ter is not strictly ANSI conformant and may not be portable.
extern Window auxXWindow(GLvoid);
--------------^
rm -f vect3d.o
cc  -c -O2 -std1  -I/usr/examples/GL/libtk -I./GL -I/usr/include  -DLONG_BIT=64
 -DNO_MESSAGE_CATALOG      vect3d.c
rm -f xform.o
cc  -c -O2 -std1  -I/usr/examples/GL/libtk -I./GL -I/usr/include  -DLONG_BIT=64
 -DNO_MESSAGE_CATALOG      xform.c
cd /usr/examples/GL/libtk; make
Make: No arguments or description file.  Stop.
*** Exit 1
Stop.
/home/bo/GL/libaux> cd ../libfont
/home/bo/GL/libfont> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/libfont> make
rm -f font.o
cc  -c -O2 -std1  -I./extensions/include  -I./extensions/include/GL  -I/usr/incl
ude  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG      font.c
cc: Severe: font.h, line 22: Cannot find file "font.h" specified in #include dir
ective.
#include "font.h"
-^
cc: Error: font.h, line 22: Object file deleted.
#include "font.h"
-^
*** Exit 1
Stop.
/home/bo/GL/libfont> cd ../librgb
/home/bo/GL/librgb> ls -l
total 8
-r-xr-xr-x   1 bo       users       1158 Aug 30  1996 Imakefile
-r-xr-xr-x   1 bo       users       4870 Aug 30  1996 rgb.c
-r-xr-xr-x   1 bo       users        425 Aug 30  1996 rgb.h
/home/bo/GL/librgb> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/librgb> ls -l
total 51
-r-xr-xr-x   1 bo       users       1158 Aug 30  1996 Imakefile
-rw-r--r--   1 bo       users      31061 Feb 27 11:28 Makefile
-r-xr-xr-x   1 bo       users       4870 Aug 30  1996 rgb.c
-r-xr-xr-x   1 bo       users        425 Aug 30  1996 rgb.h
/home/bo/GL/librgb> make
rm -f rgb.o
cc  -c -O2 -std1  -I./extensions/include  -I./extensions/include/GL  -I/usr/incl
ude  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG      rgb.c
rm -f librgb.a
ar clqZ librgb.a  rgb.o
/home/bo/GL/librgb> cd ../examples
/home/bo/GL/examples> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/examples> make
cc  -O2 -std1  -I/usr/examples/GL/examples/libtk -I/usr/examples/GL/examples/lib
aux -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG     -c accanti.c
cc: Severe: accanti.c, line 53: Cannot find file "aux.h" specified in #include d
irective.
#include "aux.h"
-^
cc: Error: accanti.c, line 53: Object file deleted.
#include "aux.h"
-^
*** Exit 1
Stop.
/home/bo/GL/examples> cd ../samples
/home/bo/GL/samples> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/samples> make
making all in ./EXT...
Make: Don't know how to make all.  Stop.
*** Exit 1
Stop.
/home/bo/GL/samples> cd ../widgets
/home/bo/GL/widgets> xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
/home/bo/GL/widgets> make
cc  -O2 -std1   -I./GL -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG     -
c simple.c
Make: Don't know how to make /libGL.so.  Stop.
/home/bo/GL/widgets> exit
T.RTitleUserPersonal
Name
DateLines
1254.1HPAQB18Q4 = same problemSWETSC::HAGLUNDTue Mar 04 1997 08:565
    I just found case HPAQB18Q4 that describes the problem...
    
    Regards,
    
    Tomas
1254.2WRKSYS::COULTERIf this typewriter can't do it, ...Tue Mar 04 1997 10:295
    Yes, it is documented in the release notes that the
    examples and samples do not build correctly.  It may
    be embarrassing, but we can't devote a lot of cycles
    to it right now.