gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gforth git-master swig dependency


From: David Kuehling
Subject: Re: Gforth git-master swig dependency
Date: Sun, 16 Aug 2020 12:39:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

>>>>> "Bernd" == Bernd Paysan <bernd@net2o.de> writes:

> Am Sonntag, 16. August 2020, 11:07:18 CEST schrieb David Kuehling:
>> So here I'm somewhat stuck.  Google doesn't turn up any usable
>> information about how to get a forth-enabled Swig.

> ./install-swig.sh ./install-freetype-gl.sh

> Look at install-deps.sh, if you have a Debian system.

Thanks for the hints.  I now got further, but not without problems, and
still not successful.

Comment about install-freetype-gl.sh: it uses some ugly hack to manually
install libsoil via /bin/cp and directly installs to /usr (rather than
/usr/local).  I instead used libsoil's "make install" target which
seemed to do better.

After resolving those dependencies, gforth-fast minos2/md-test.fs now
started failing in minos2/font-style.fs.  Seems it needs package
fonts-noto to continue (maybe just fonts-noto-color-emoji would do).

Then it failed trying to find fa-merged-900.ttf, which doesn't seem to
be available at all here (Debian).  I had to patch the font-path to
include "truetype/font-awesome" and substituded fa-merge-900.ttf with
fontawesome-webfont.ttf (it looked like the right thing to do, but no
idea whether it actually makes sense).

Unfortunately the 'md-test.fs' example does not seem to work

$ gforth-fast ./minos2/md-test.fs $(pwd)/README.md
[..]
in file included from *the terminal*:0:-94092433250863: 
in file included from *the terminal*:-1:1: 
minos2/md-test.fs:50:2: error: Undefined word
        >>>v-box<<<
Backtrace:
kernel/int.fs:572:10                     0 $7FA099496D18 throw 

Also minos2/gl-sample.fs only shows an empty window (filled dark-blue).
And minos2/gl-terminal.fs doesn't open any window at all.

What am I missing?

This is on Devuan Beowulf (which is mostly a "Debian stable" system).

cheers,

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]