I am running Code::Blocks version 16.01 on Ubuntu 14.04.
The compiler I use is GNU GCC version 4.8.4.
When I try to build my code with custom scons setup.
It shows
Error : environment variable DIR/CONFIG_DIR is not defined
Please thoroughly read the file: README
found at the root level of the Ottomatika directory and follow
all of the instructions listed there.
The short fix is to add to your .bashrc file the line:
export DIR=YOURPATH/ottomatika/codebase
export CONFIG_DIR=$OTTO_DIR/config
from the SConscript.
I have already tried exporting the variable in the pre-build steps, defining custom variables, and setting global variable but none of them work.
Thanks!