You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
3.0 KiB

  1. ============================================================================
  2. STLSoft - FAQ
  3. ; Created: 29th March 2002
  4. ; Updated: 30th September 2010
  5. ============================================================================
  6. The FAQ list is under (constant) development. If you post a question on the
  7. Tutorials forum (https://sourceforge.net/forum/forum.php?forum_id=903893)
  8. it will be used to create one.
  9. FAQs:
  10. =====
  11. Q1: "How do I build STLSoft?"
  12. A1:
  13. You don't: STLSoft is 100% header-only, so all you have to do is #include
  14. it. We do recommend that you use an environment variable, e.g. STLSOFT, so
  15. that you can use new versions of the library from your projects without
  16. disruption.
  17. Q2: "How do I install STLSoft?"
  18. A2:
  19. There are three steps:
  20. 1. Download the latest distribution of STLSoft, from http://stlsoft.org/
  21. 2. Unzip it to a directory of your choice, e.g /3pty/stlsoft-1.9.98
  22. 3. Define an environment variable STLSOFT, whose value is the directory
  23. in which you unzipped it, e.g. STLSOFT=/3pty/stlsoft-1.9.98
  24. Q3: "How do I use STLSoft?"
  25. A3:
  26. Assuming you've installed it (as per instructions A2):
  27. In your IDE settings, add the include directory $(STLSOFT)/include, OR in
  28. your makefiles, add the include directory:
  29. * -I$STLSOFT/include (if you're on UNIX), OR
  30. * -I%STLSOFT%/include (if you're on Windows)
  31. Q4: "Does STLSoft have unit-tests?"
  32. A4:
  33. Yes, but for various reasons they're not available with the STLSoft 1.9
  34. distribution. The STLSoft 1.10 alpha distributions come with an increasing
  35. number of unit-/component-tests for both STLSoft 1.9 and STLSoft 1.10, and
  36. when STLSoft 1.10 enters beta phase, it will ship with tests.
  37. Q5: "What is STLSoft 1.10?"
  38. A5:
  39. STLSoft 1.10 is the next version of STLSoft. As well as containing several
  40. new components, it also incorporates wholesale refactoring of code and of
  41. the structural aspects (including packaging and directories). STLSoft 1.10
  42. is still in alpha-delta stage (see A6).
  43. Q6: "How do I use STLSoft 1.10?"
  44. A6:
  45. While it's still in alpha stage, the STLSoft 1.10 releases are in "delta"
  46. form, i.e. they must be "added" to an up-to-date STLSoft 1.9 distribution.
  47. This is achieved in one of two ways:
  48. (1) Overwrite
  49. You download and install STLSoft 1.9 as per A2. You then download the
  50. STLSoft 1.10 alpha-delta archive and extract it directly over the STLSoft
  51. 1.9 directory.
  52. (2) Include Path Interposition
  53. You download and install STLSoft 1.9 as per A2. You then download the
  54. STLSoft 1.10 alpha-delta archive and extract it to a separate directory,
  55. defining an environment variable STLSOFT_1_10 to that directory. You then
  56. specify the include paths in your IDE project files and in makefiles in
  57. reverse order, as in:
  58. * -I$STLSOFT_1_10/include -I$STLSOFT/include (if you're on UNIX), OR
  59. * -I%STLSOFT_1_10%/include -I%STLSOFT%/include (if you're on Windows)
  60. We strongly recommend using method (2).
  61. =============================== End of file ================================