Skip to content

Commit 45b74ac

Browse files
defunkydrummerlispnik
authored andcommitted
Updated Readme with more complete instructions (#47)
Updated Readme with more complete instructions on how to install and load IUP
1 parent 13a2326 commit 45b74ac

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.org

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,19 @@ directory.
3232

3333
It is a one-off step is is not needed subsequently.
3434

35-
,*NOTE:* On Linux, the ~tecgraf-libs~ system needs the ~patchelf~
35+
*NOTE:* On Linux, the ~tecgraf-libs~ system needs the ~patchelf~
3636
command available (usually available via ~sudo apt install
3737
patchelf~). ~patchelf~ is used to set the shared library .so files
3838
origin to the library's location so that the multiple shared libraries
3939
loaded via CFFI uses are found relative to each other.
4040

41+
*NOTE:* On Windows, the environment variable `PATH` should be modified so it points to the directory where the libs are downloaded. This has to be done before starting your Lisp implementation. Example of doing it and starting CCL:
42+
43+
#+begin_src
44+
SET PATH=C:\mylisp\projects\tecgraf-libs\libs;
45+
wx86cl64.exe
46+
#+end_src
47+
4148
To tell CFFI to find these libraries, use:
4249

4350
#+begin_src lisp
@@ -52,7 +59,21 @@ To tell CFFI to find these libraries, use:
5259

5360
* Loading IUP
5461

55-
,*NOTE:* For SBCL, you need to set a larger heap size to compile the
62+
(First, read the previous part on getting the Tecgraf libraries and installing).
63+
64+
Requirements:
65+
66+
Download/clone the following systems:
67+
68+
- lispnik/`tecgraf-base`
69+
70+
- lispnik/`pffft`
71+
72+
Those are required by Iup.
73+
74+
Then load iup.asd in the usual way (e.g. `(ql:quickload "iup")`
75+
76+
*NOTE:* For SBCL, you need to set a larger heap size to compile the
5677
bindings, e.g. ~--dynamic-space-size 2048~
5778

5879
* Hello, World!

0 commit comments

Comments
 (0)