readme.txt 6.1 KB

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