I have defined a system wide variable BOOST_DIR in my /.pam_environment that points to my boost directory on Ubuntu 12.04. It works fine in my shells, but does not seem to work in Code::Blocks.
I have added $(BOOST_DIR) to my search directories in project build options. It does seem to understand it to some extend as when I click edit on it, it starts off at the exact directory equal to BOOST_DIR (clicking ... to search for path). However, during compilation it complains about boost/assert.hpp No such file or directory
Anybody used system environment variables before with success? anything I am missing here?
Thanks