Follow us on Twitter!
Become the change you seek in the world. - Gandhi
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 29
Guests Online: 28
Members Online: 1

Registered Members: 82828
Newest Member: uberscon
Latest Articles
View Thread

HellBound Hackers | Computer General | OS specific

Author

Ubuntop Help (Anjuta problem)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-06 15:55
Hi, merry xmas to all.

I have recently installed ubunto 6.06, and then installed Anjuta c++ IDE, it looks great and everything, but I can't compile my code, whenever I do it says:

Code

Compiling file Test.cc ...
sh: g++: command not found
completed: unsuccessful...





ould anyone know how to fix this? I installed anjuta before, and it compiled the code forst time, no problems....:(
Author

RE: Ubuntop Help (Anjuta problem)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-06 15:59
Ubuntu 6.06 for some reason doesn't come with g++ installed... You have to get it... i think it's in the repositories


Author

RE: Thanks


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-06 19:48
Yeah, you were right, it wasn't installed, I just did:

Code

sudo apt-get install build-essential





And the compiling and running worked! Thank you. But there is one more question,

if anyone can answer it. After the program is compiled & linked, the executable is created with a diamond like icon, how do I run the program without using the IDE? Whenever I click on it, nothing happens...Thanks for the help before ;)
Author

RE: Ubuntop Help (Anjuta problem)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-06 19:56
Run it from the terminal if it's a console based program


Author

RE: Hmm.


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-12-06 00:31
Well, I tried that, and all I get is command 'Test' not found, how do you run a program anyways? I also tried:

Code

Switching to the correct dir: cd /home/wraith/c++/Tests/
Test
exec Test





...
Author

RE: Ubuntop Help (Anjuta problem)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-12-06 01:16
like so

[root@localhost]# ./yourapp
Author

RE: Thanks


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-12-06 16:43
Yeah, thats the command alright, Lol. Thank you guys, most opf my problems are solved Grin