User forums > Help
Errors with Code::Blocks 13.12 and Ubuntu 14.0.4 -- Need Help
cacb:
--- Quote from: cybercoder on December 21, 2014, 03:38:01 pm ---Hi, thanks for asking. The build process fails as you may expect.
I have attached the screen shot of the error I get on the build.
--- End quote ---
It seems to be looking for gcc in /bin/sh ?
On my Kubuntu 14.10, I find gcc in /usr/bin
Perhaps check "Toolchain executables" setting under Settings -> Compiler
I have "Compiler's installation directory" as /usr
oBFusCATed:
In fact it means that the shell (/bin/sh) cannot find the executable gcc.
But this is rather strange error.
cybercoder:
Hi, it is indeed strange. I went to Settings-Compiler and my path is already set to /usr.
Under Settings->Environment, I have the following:
Shell to run commands in: /bin/sh
Terminal to launch console programs: xterm -T $TITLE -e
Both of the above are the install defaults.
--- Quote from: cacb on December 21, 2014, 08:31:21 pm ---
--- Quote from: cybercoder on December 21, 2014, 03:38:01 pm ---Hi, thanks for asking. The build process fails as you may expect.
I have attached the screen shot of the error I get on the build.
--- End quote ---
It seems to be looking for gcc in /bin/sh ?
On my Kubuntu 14.10, I find gcc in /usr/bin
Perhaps check "Toolchain executables" setting under Settings -> Compiler
I have "Compiler's installation directory" as /usr
--- End quote ---
cybercoder:
This is a default install. I actually installed Code::Blocks on a second Ubuntu 14.0.4 system and I get the exact same set of issues. As I noted above, I installed the Geany IDE and compile, build and run C and Python without error. It must be a simple setting or configuration within Code::Blocks on Ubuntu. Really a shame because I would like to use the IDE.
--- Quote from: oBFusCATed on December 22, 2014, 12:05:07 am ---In fact it means that the shell (/bin/sh) cannot find the executable gcc.
But this is rather strange error.
--- End quote ---
oBFusCATed:
Do you have executable files /usr/bin/gcc and /usr/bin/g++? If you have similarly named file, you have to correct your settings.
Navigation
[0] Message Index
[*] Previous page
Go to full version