README 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. README - Fast Light Tool Kit (FLTK) Version 1.3.2
  2. -------------------------------------------------
  3. WHAT IS FLTK?
  4. The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a
  5. a cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11),
  6. Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides
  7. modern GUI functionality without the bloat and supports 3D
  8. graphics via OpenGL(r) and its built-in GLUT emulation. It
  9. was originally developed by Mr. Bill Spitzak and is
  10. currently maintained by a small group of developers across
  11. the world with a central repository in the US.
  12. LICENSING
  13. FLTK comes with complete free source code. FLTK is available
  14. under the terms of the GNU Library General Public License.
  15. Contrary to popular belief, it can be used in commercial
  16. software! (Even Bill Gates could use it.)
  17. ON-LINE DOCUMENTATION
  18. All of the documentation is in HTML in the subdirectory
  19. "documentation". The "index.html" file should be your
  20. starting point. PostScript(tm) and PDF versions of this
  21. documentation is also available from the FLTK web site at:
  22. http://www.fltk.org/documentation.php
  23. BUILDING AND INSTALLING FLTK UNDER UNIX AND Mac OS X
  24. In most cases you can just type "make". This will run
  25. configure with the default (no) options and then compile
  26. everything.
  27. FLTK uses GNU autoconf to configure itself for your UNIX
  28. platform. The main things that the configure script will
  29. look for are the X11, OpenGL (or Mesa), and JPEG header and
  30. library files. Make sure that they are in the standard
  31. include/library locations. If they aren't you need to
  32. define the CFLAGS, CXXFLAGS, and LDFLAGS environment
  33. variables.
  34. If you aren't using "gcc", "g++", "c++", or "CC" for your
  35. C++ compiler, you'll also need to set the CXX environment
  36. variable. Similarly, if you aren't using "gcc" or "cc" for
  37. your C compiler you'll need to set the CC environment
  38. variable.
  39. You can run configure yourself to get the exact setup you
  40. need. Type "./configure <options>". Options include:
  41. --enable-cygwin - Enable the Cygwin libraries (WIN32)
  42. --enable-debug - Enable debugging code & symbols
  43. --disable-gl - Disable OpenGL support
  44. --enable-shared - Enable generation of shared libraries
  45. --enable-threads - Enable multithreading support
  46. --enable-xdbe - Enable the X double-buffer extension
  47. --enable-xft - Enable the Xft library (anti-aliased fonts)
  48. --bindir=/path - Set the location for executables
  49. [default = /usr/local/bin]
  50. --libdir=/path - Set the location for libraries
  51. [default = /usr/local/lib]
  52. --includedir=/path - Set the location for include files.
  53. [default = /usr/local/include]
  54. --prefix=/dir - Set the directory prefix for files
  55. [default = /usr/local]
  56. When the configure script is done you can just run the
  57. "make" command. This will build the library, FLUID tool, and
  58. all of the test programs.
  59. To install the library, become root and type "make
  60. install". This will copy the "fluid" executable to
  61. "bindir", the header files to "includedir", and the library
  62. files to "libdir".
  63. To install additional files and icons to be used by the main
  64. desktop environments such as KDE, GNOME and XFCE, you will also
  65. need to run "make install-desktop" as root.
  66. SVN USERS
  67. If you've just checked out a fresh copy of FLTK from SVN,
  68. you'll need to generate an initial version of 'configure'
  69. by running 'make makeinclude'. (We don't include a copy
  70. of configure in svn)
  71. MAKE TARGETS
  72. make -- builds the library + test programs (does not install)
  73. make install -- builds and installs
  74. make clean -- clean for a rebuild
  75. make distclean -- like 'clean', but also removes docs, configure, fltk-config
  76. ( cd src; make ) -- builds just the fltk libraries
  77. BUILDING FLTK UNDER MICROSOFT WINDOWS
  78. There are two ways to build FLTK under Microsoft Windows.
  79. The first is to use the Visual C++ project files under the
  80. "ide/" directory. See the file ide/README.IDE for more info.
  81. The second method is to use a GNU-based development tool.
  82. To build with the Cygwin or MinGW tools, use the supplied
  83. configure script as specified in the UNIX section above:
  84. sh configure ...options...
  85. BUILDING HTML DOCUMENTATION
  86. If you want to build the HTML documentation:
  87. ( cd documentation && make html )
  88. If you want to build the PDF documentation:
  89. ( cd documentation && make pdf )
  90. FLTK uses doxygen for documentation, so you'll at least need doxygen
  91. installed for creating html docs, and LaTeX for creating PDF docs.
  92. INTERNET RESOURCES
  93. FLTK is available on the 'net in a bunch of locations:
  94. - WWW: http://www.fltk.org/
  95. http://www.fltk.org/str.php [for reporting bugs]
  96. http://www.fltk.org/software.php [source code]
  97. - FTP: (offline Apr 20 '13) http://ftp.easysw.com/pub/fltk
  98. (offline Apr 20 '13) ftp://ftp.easysw.com/pub/fltk
  99. (offline Apr 20 '13) ftp://ftp2.easysw.com/pub/fltk
  100. ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk
  101. ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/fltk
  102. ftp://gd.tuwien.ac.at/hci/fltk
  103. To join the FLTK mailing list, go the following web page:
  104. http://www.fltk.org/newsgroups.php
  105. REPORTING BUGS
  106. To report a bug in FLTK, use the form at:
  107. http://www.fltk.org/str.php
  108. For general support and questions, please use the FLTK
  109. mailing list at "[email protected]".
  110. TRADEMARKS
  111. Microsoft and Windows are registered trademarks of Microsoft
  112. Corporation. UNIX is a registered trademark of the X/Open
  113. Group, Inc. OpenGL is a registered trademark of Silicon
  114. Graphics, Inc. MacOS is a registered trademark of Apple
  115. Computers, Inc.
  116. COPYRIGHT
  117. FLTK is copyright 1998-2013 by Bill Spitzak
  118. ([email protected]) and others,
  119. see the CREDITS file for more info.
  120. This library is free software. Distribution and use rights are
  121. outlined in the file "COPYING" which should have been included with
  122. this file. If this file is missing or damaged, see the license at:
  123. http://www.fltk.org/COPYING.php