GCC ain't on Ubuntu's package manager, if you mean the Add/Remove application, 'cause I couldn't find any package manager :P
GCC ain't on Ubuntu's package manager, if you mean the Add/Remove application, 'cause I couldn't find any package manager :P
Currently research OpenGL
Go to Synaptic Package Manager, search for gcc (might be multiple packages), tick it, press apply. Should download&install in no time. Then search for "codeblocks", tick it, apply. Then there will be a "Programming" submenu under the main menu, where there is Code::Blocks - ready to serve you.
Edit: Package manager is under System->Administration if I remember correctly.
"The Internet treats censorship as damage and routes around it." - John Gilmore
Hmm... Why do I need both GCC and Code::Blocks?
Currently research OpenGL
GCC is the compiler, Code::Blocks is the IDE. Because Code::Blocks can work with multiple compilers, it probably has no hard dependency on GCC.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
So, I DLed the SVN for no reason? :P
And I still havn't seen any of the promised freedom Linux is supposed to give me... Where is it? :P
Currently research OpenGL
There's a reason, but no purpose.
You could edit the source you downloaded. Have fun modifying VC++.And I still havn't seen any of the promised freedom Linux is supposed to give me... Where is it? :P
I mean, seriously, what do you expect? Abe Lincoln rising from the grave and holding a speech in your living room?
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
If you can't find gcc in the Package Manager (or whatever it's called on your system), then try going to the command line and type these commands:
Code:apt-get update apt-get install gcc
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
I found GCC in the package manager, but it says it's installed o.O? I havn't got no GCC...
EDIT: Ok, looks like I ahve got GCC :P And Code::Blocks now
Last edited by Akkernight; 11-11-2008 at 10:49 AM.
Currently research OpenGL
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
Why am I getting that when I try to compile a Hello, World program o.O?
Currently research OpenGL
Code::Blocks can't find the C++ compiler. Perhaps it's not configured correctly, or the C++ compiler is a separate package from the C compiler.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
The GCC I found on package manager, said it was a C compiler... But I found no GCC C++ compiler >.<
Currently research OpenGL
You need the package "g++".
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
It ain't there :P Nothing called g++ is in the package manager
Currently research OpenGL
Well, it's here:
http://packages.ubuntu.com/search?ke...id§ion=all
So it has to be somewhere in Ubuntu.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
After looking at that site, it magically is the first thing I find by searching G++ on package manager, and I'm a 100% sure it wasn't there before :P
Currently research OpenGL