Find the answer to your Linux question:
Results 1 to 6 of 6
I have recently installed Ubuntu 8.04 on my computer running under a virtual machine. Afterwards I installed the Eclipse C/C++ IDE, but in my little "Hello World!" test project I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Missing Libraries/Headers/Programs?


    I have recently installed Ubuntu 8.04 on my computer running under a virtual machine. Afterwards I installed the Eclipse C/C++ IDE, but in my little "Hello World!" test project I was getting an error on #include <iostream>. A little more research showed that in fact the problem was due to the fact that I had no C++ header or library files installed with the operating system. I have done the recommended system updates. Also I was trying out to see if I had certain programs, and sure enough emacs wasn't installed originally on the system. My last experience with Linux was 7.1 Gutsy Gibbon, and I do not recall running into this issue. Any help as to how I can get these library/headers that will allow me to develop on Linux, or an explanation as to why they aren't installed with the OS is greatly appreciated.

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Try this:

    Code:
    sudo apt-get install build-essential
    Ubuntu doesn't come with GCC/G++ or kernel headers installed by default. That command install a meta-package which includes pretty much everything you need for C++ development.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3
    Thanks!

    Also kind of random question. How can you add the terminal to the right click menu like it was in 7.1?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by DYNAMITE23 View Post
    Thanks!

    Also kind of random question. How can you add the terminal to the right click menu like it was in 7.1?
    Code:
    sudo apt-get install nautilus-terminal
    I believe....
    Registered Linux user #270181
    TechieMoe's Tech Rants

  6. #5
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3
    its saying could not find package nautilus-terminal

  7. #6
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Sorry, that should have been nautilus-open-terminal.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •