Author Topic: Build problem in ubuntu  (Read 4671 times)

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Build problem in ubuntu
« 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?


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Build problem in ubuntu
« Reply #1 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) ?

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build problem in ubuntu
« Reply #2 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.


Code


-------------- 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
 

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build problem in ubuntu
« Reply #3 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

Offline JWColeman

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build problem in ubuntu
« Reply #4 on: December 28, 2011, 01:10:34 am »
hurr hurr, that fixed it

thanks!