News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Build problem in ubuntu

Started by JWColeman, December 28, 2011, 12:36:53 AM

Previous topic - Next topic

JWColeman

Hey everyone I just got code::blocks installed on my lubuntu mini and I tried to run a console application, it asked me to build twice, I said yes twice, (this is after hitting the run button), because i never built the project before.

So I click yes both times, nothing happens.

I try a run without building after this and the console says:
sh: home/jonathan/Programs/test/bin/debug/test: not found

Why isn't my build working?


Jenna

Do you have at least gcc and g++ installed (gdb is recommended if you ever want or need to debug) ?

JWColeman

gcc is installed, checking for g++...

Yeah they are both installed, this is what it says though, I'm positive GCC and G++ AND GDB are installed.





-------------- Build: Debug in Test ---------------

Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings


JWColeman

wait maybe not, i'll get back to you, let me try to add these packages i thought were added already :P

JWColeman

hurr hurr, that fixed it

thanks!