Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: JWColeman on December 28, 2011, 12:36:53 AM

Title: Build problem in ubuntu
Post by: JWColeman on December 28, 2011, 12:36:53 AM
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?

Title: Re: Build problem in ubuntu
Post by: Jenna on December 28, 2011, 12:43:46 AM
Do you have at least gcc and g++ installed (gdb is recommended if you ever want or need to debug) ?
Title: Re: Build problem in ubuntu
Post by: JWColeman on December 28, 2011, 12:58:53 AM
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

Title: Re: Build problem in ubuntu
Post by: JWColeman on December 28, 2011, 01:02:32 AM
wait maybe not, i'll get back to you, let me try to add these packages i thought were added already :P
Title: Re: Build problem in ubuntu
Post by: JWColeman on December 28, 2011, 01:10:34 AM
hurr hurr, that fixed it

thanks!