]> git.saurik.com Git - wxWidgets.git/blame - docs/readme_vms.txt
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / docs / readme_vms.txt
CommitLineData
f9cb48ef
JJ
1This distribution contains makefiles for VMS. It is a very preliminary release
2and many tests have still to be done.
3
4The compilation was tested with
967a5728
JJ
5 -OpenVMS Alpha 7.2-1
6 -DECC 6.2
dbd94b75 7 -Compaq C++ 6.2
967a5728 8 -DECWindows 1.2-5
b780fc00 9 -GTK1.2.8 (for wxGTK)
f9cb48ef 10
b780fc00 11To get everything compiled you'll need to have installed prior to compiling
fc2171bd 12wxWidgets:
f9cb48ef 13 -Bison
b780fc00 14 get it from http://www.openvms.digital.com/freeware/
dbd94b75 15 You'll have to fix the following bug:
b780fc00
JJ
16 add the following 3 lines in BISON.SIMPLE
17 #elif __VMS
18 #include <stdlib.h>
19 #define alloca malloc
20 before
21 #endif /* __hpux */
22
f9cb48ef 23 -Flex
b780fc00
JJ
24 get it from http://www.openvms.digital.com/freeware/
25
f9cb48ef 26 -Sed
b780fc00
JJ
27 get it from http://www.openvms.digital.com/freeware/
28
2b8e283d 29 -sys$library:libjpeg.olb (from ftp://ftp.uu.net/graphics/jpeg/ )
b780fc00
JJ
30 add /name=(as_is,short) to CFLAGS in the descrip.mms file
31 don't forget to mms/descrip=Makefile/macro="ALPHA=1"
32
2b8e283d
JJ
33 -sys$library:libpng.olb & sys$library:libz.olb (from
34 http://www.cdrom.com/pub/png/pngcode.html )
b780fc00
JJ
35 add /name=(as_is,short) to CFLAGS in the descrip.mms of both png and
36 zlib
36cc3968 37
b780fc00
JJ
38 -sys$library:libtiff.olb (from: ftp://ftp.sgi.com/graphics/tiff/ )
39 - add /name=(as_is,short) to the C_COMPILE variable in MAKVMS.COM
40 - the following patch is needed in the tiff3.4 distribution:
36cc3968
JJ
41polka-jj) diff TIFFCOMP.H;3 TIFFCOMP.H;1
42************
43File $DISK2:[JOUKJ.PUBLIC.TIFF.TIFF.LIBTIFF]TIFFCOMP.H;3
44 97 #ifndef HAVE_UNISTD_H
45 98 #define HAVE_UNISTD_H 1
46 99 #endif
47 100 #endif
48******
49File $DISK2:[JOUKJ.PUBLIC.TIFF.TIFF.LIBTIFF]TIFFCOMP.H;1
50 97 #define HAVE_UNISTD_H 1
51 98 #endif
52************
53************
54File $DISK2:[JOUKJ.PUBLIC.TIFF.TIFF.LIBTIFF]TIFFCOMP.H;3
55 108 #if !defined(SEEK_SET) && defined( HAVE_UNISTD_H )
56 109 #include <unistd.h>
57******
58File $DISK2:[JOUKJ.PUBLIC.TIFF.TIFF.LIBTIFF]TIFFCOMP.H;1
59 106 #if !defined(SEEK_SET) && HAVE_UNISTD_H
60 107 #include <unistd.h>
61************
62
b780fc00
JJ
63 -X11:libxpm.olb ( from ftp://koala.inria.fr/pub/xpm/ )
64 add /name=(as_is,short) to cc_defs in the descrip.mms file
65
66 -GTK & VMS Porting library (only needed for wxGTK)
67 ( from http://www.openvms.digital.com/openvms/products/ips/gtk.html )
68
69 -Redefine the logical SYS$LIBRARY in such a way that it also points
2edb0bde 70 to the includefile/library directories of the above packages:
b780fc00
JJ
71 i.e.
72$ define sys$library sys$sysroot:[syslib],-
73 $disk2:[joukj.public.xpm.xpm.lib],-
74 $disk2:[joukj.public.jpeg.jpeg],-
75 $disk2:[joukj.public.png.libpng],-
76 $disk2:[joukj.public.tiff.tiff.libtiff],-
77 $disk2:[joukj.public.png.zlib],-
78 $disk2:[joukj.public.gtk.gtk.glib],-
79 $disk2:[joukj.public.gtk.gtk.glib.gthread],-
80 $disk2:[joukj.compaq.porting_library.dist.include]
81
82 -redefine the logical X11 in such a way that also points to the
83 xpm-distribution.
84 i.e.
85$ define/nolog X11 $disk2:[joukj.public.xpm.xpm.lib],decw$include
86
87 -for wxGTK you'll have to redefine SYS$SHARE to compile and run the
88 applications.
89 i.e.
90$ ass $disk2:[joukj.public.gtk.gtk.glib],-
91 $disk2:[joukj.public.gtk.gtk.glib.gmodule],-
92 $disk2:[joukj.public.gtk.gtk.gtk.gdk],-
93 $disk2:[joukj.public.gtk.gtk.gtk.gtk],-
94 $disk2:[joukj.compaq.porting_library.dist.lib],-
95 sys$sysroot:[syslib] sys$share
96
97 -At the moment you'll have to hack the [.src.common]descrip.mms file
98 to include the right location of bison/flex and sed, but i intend to
99 make this better in future.
100
101 -The following is a work-around a include file bug which occurs on some
102 versions of VMS. If you get lib$get_current_invo_context undefined
103 while linking you'll have to add
104 "lib$get_current_invo_context"="LIB$GET_CURR_INVO_CONTEXT"
fc2171bd 105 in [.src.unix]descrip.mms to CXX_DEFINE. and recompile wxWidgets.
b780fc00
JJ
106
107 -Some versions of the CC compiler give warnings like
108 %CC-W-CXXKEYWORD, "bool" is a keyword in C++ .... when compiling
109 if You encounter these, replace mms by mms/ignore=warning in the
110 following
111
2edb0bde 112 -Now build everything using one of the following
b780fc00
JJ
113 mms
114 mms gtk
115 mms motif
116 in the main directory of the distribution. Without an argument both wxGTK
2edb0bde
VZ
117 and wxMOTIF are built. The libraries are built in the [.lib] directory.
118 All the samples I tried are built automatically.
b780fc00
JJ
119
120 -I think in general wxGTK is better maintained, so that version is my
121 first choice.
122
fc2171bd 123 -Note that only a few people have used wxWidgets on VMS so many problems are
b780fc00
JJ
124 to be expected.
125
126
127 -Many thanks for testing and reporting problems to:
128 -Walter Braeu
f9cb48ef 129
511eb3e7
JJ
130
131 -Known problems :
6955ce29
JJ
132 wxMOTIF :
133 -The calendar sample puts the boxes of the month and year selection on
134 top of each other.
135 -The caret sample: sometimes a non blinking caret remains in the
136 window.
137 -checklist sample: There is no way to check/uncheck since this box is
138 missing
139 -conftest sample: The boxes in the window are too small to display
140 texts with the fonts specified.
141 -controls sample: radiobox does not appear on the screen
142 -Some samples crash due to colour allocation problems
143 i.e. -drawing,image
144
145 wxGTK :
146 -In the calendar sample options can only be switched on and not off
147 again.
148 -image sample: after clicking "about" the colourmap is permanently
149 changed resulting in strange images
511eb3e7 150
f9cb48ef
JJ
151Finally :
152 I like the idea of Robert Roebling that CD's with classical music should be
153send to the authors.
154
155
156>-----------------------------------------------------------------------------<
157
158 Jouk Jansen
159
160 joukj@hrem.stm.tudelft.nl
161
162
163 Technische Universiteit Delft tttttttttt uu uu ddddddd
164 Nationaal centrum voor HREM tttttttttt uu uu dd dd
165 Rotterdamseweg 137 tt uu uu dd dd
166 2628 AL Delft tt uu uu dd dd
167 Nederland tt uu uu dd dd
168 tel. 31-15-2781536 tt uuuuuuu ddddddd
169
170>-----------------------------------------------------------------------------<