You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Lechner edited this page May 4, 2018
·
2 revisions
You can develop GRX programs on macOS.
Install
brew tap ev3dev/tools
brew install grx
Fonts
Since GRX3 only uses bitmap fonts, we need a way to find some. One way is to install XQuartz and then add a Fontconfig configuration file that points to the X11
fonts.
cat > /usr/local/etc/fonts/conf.d/00-x11.conf <<EOF<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"><fontconfig> <dir>/opt/X11/share/fonts</dir></fontconfig>EOF
Then run fc-cache to load the new fonts.
Run sample programs
These are not installed in $PATH, so you have to use the absolute path.
Example binary files are found in /usr/local/lib/grx-3.0/examples/. For example:
/usr/local/lib/grx-3.0/examples/vala/life
Example scripts (text files) are found in /usr/local/share/doc/grx/examples/. For example: