Re: Using wxEuphoria on Linux
- Posted by ghaberek (admin) Sep 23, 2009
- 1152 views
Oh yeah, sorry. EUINC should point to any additional folders that contain global include files. So if you downloaded wxEuphoria to say, /home/username/Downloads/wxEuphoria, you might setup your EUINC like this:
export EUINC=/home/username/Downloads/wxEuphoria
Now, if you include wxeud.e in your Euphoria code, the interpreter will go searching any path in your EUINC variable.
Let's say you downloaded EuSQL as well. You can add multiple paths by separating them with a colon:
export EUINC=/home/username/Downloads/wxEuphoria:/home/username/Downloads/EuSQL
Now when you include wxeud.e or eusql.e, either will be found in their appropriate directories.
Other environment variables could be used as well, such as $HOME for /home/username:
export EUINC=$HOME/Downloads/wxEuphoria:$HOME/Downloads/EuSQL
-Greg