Linux and PG_OF_PATH difficulties

Hello. I’ve recently compiled OF and PG on my debian linux machine. I’ve also chosen to explore the possibilities of running everything through the terminal. However.
I can’t seem to to find the PG_OF_PATH variable in ~/.profile and therefore I’ve been unsuccessful at editing the path.

hence.

[ error ] no OF path set... please use -o or --ofPath or set a PG_OF_PATH environment variable


Thanks.

Hi,

You can either do it on the command line just for that session:

export PG_OF_PATH=/home/USERNAME/PATH/TO/OF/FOLDER

before running the project generator.

or you can add the same line to the bottom of your .profile file and it should be set permanently.

You can always test if its working with:
echo $PG_OF_PATH

1 Like