Hi everyone,
I'm new to code blocks as well as ubuntu, so please bear with me. I've installed code::blocks and loaded a .dev project file that I created with bloodshed dev c++ in windows 7. This seemed to work after a bit of fiddling.
Anyway I now want to compile the code. So when I click on compile is says:
""Project1 - default" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping..."
So apparently the problem is that i haven't set up my toolchains. So I go to Settings->Compiler and debugger-> then I switch "GNU GCC compiler" to "Intel C/C++ Compiler" and click on "Toolchain executables". Under "Compiler's Installation directory" I have /opt/intel/cc/9.0. This folder is empty; presumably that's the source of my problem. In my synaptic package manager it does say that "g++-4.5" is installed. So how do I point to it? When I click on properties and "Installed files" it comes up with a massive list of directories, so I wouldn't know where to point it...
thanks in advance for the help