I had installed CODE::BLOCKS in Ubuntu 12.04 and it was working jut fine until ~2 days ago when the program start to freezing out every ~10 sec. I decided to reinstall CODE::BLOCKS. First, I did:
$ sudo apt-get remove codeblocks* $ sudo apt-get purge codeblocks*
Then I reinstall CODE::BLOCKS from Ubuntu Software Center
The reinstallation was successful, but now I get this error:
Cannot find resources... Code::Blocks was configured to be installed in '/usr/local/share/codeblocks'. Please use the command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR environment variable to point where Code::Blocks is installed, or try re-installing the application...
So, what I already did is to define the variable CODEBLOCKS_DATA_DIR in
.bashrc, such that when I do:
$ echo $CODEBLOCKS_DATA_DIR
which is the director I believe it is the right directory, I also include
still, I still get the same error (
Cannot find resources...)
So my questions are:
1) how do I find the "correct" codeblocks directory? (assuming that the one I wrote is not the right one)
2) How do I fix the problem?
Thanks (everyone) in advance,