Like Tree3Likes

Newbie needs help, compiler won't compile

This is a discussion on Newbie needs help, compiler won't compile within the Tech Board forums, part of the Community Boards category; so, to confirm, CodeBlocks will run on Ubuntu 12.04, right?...

  1. #16
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    so, to confirm, CodeBlocks will run on Ubuntu 12.04, right?

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,001
    I'm quite sure it does. You can try it out by using a Live CD/DVD to try it out before taking the step to install it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    Code::Blocks is provided as an Ubuntu package in the main repos: Ubuntu -- Package Search Results -- codeblocks

    You should be able to install this just by selecting it from the package manager (the default one might be Synaptic, I haven't used Ubuntu recently to tell for sure). This works even in a Live CD/DVD. I have used this trick to install KDevelop, my preferred IDE, in a live-booted system.

    If you don't like Code::Blocks there are plenty of other alternatives in the repositories. But maybe this is a discussion better suited for the ubuntu forums.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #19
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,523
    Quote Originally Posted by future_engineer View Post
    Not so. I don't know what 7 requires, but Vista needs at least 800 MHz, my computer is 702 MHz. and again:
    If you're sure about that specification, it wouldn't be very useful to upgrade your OS.
    I have a 1.5 GHz netbook which often struggles to run XP and the latest linux distros without problems.
    So, your best bet is to go with an older version like Salem suggested, or some lightweight distribution(which won't be as user friendly as the latest and greatest ); or stay with what you currently have but use commandline tools instead of IDEs.
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  5. #20
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    bad news. my dad is one of those technophobic old-timers, and once he heard that i was going to "replace the operating system" he starts freaking out. He probably thinks i'm going to take apart the computer or something. so, although i'm impressed by linux software, for now, it's a no go on the ubuntu.
    i'm getting really sick of these suffocating constraints i'm under

  6. #21
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    it seems my only option is notepad++. i found an ANSI version that will work on my computer. all i need is a debugger and compiler to go with it.
    turn-by-turn directions, please.

  7. #22
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,822
    Or how about this - do you have $40?
    HP dx5150 SFF Desktop PC, AMD 3200+ 2GHz, 1GB RAM, 40GB HDD, DVDRW, XPH COA | eBay
    If you don't have the money, then as a 17-year old, you should go out and do some gardening for some neighbours to earn a bit of money.

    There's no shortage of basic base units to be had on ebay.

    You get a kick-ass machine (compared to the one you have), and you can do what the hell you want with it.
    If you want to install XP-Home(XPH) on it, then you can, because it has a Certificate Of Authenticity(COA) on it (ie, the 25-character cookie). All you would need to do is borrow an XP-Home install disk from someone, then type in that code at the appropriate moment.

    Or join the modern world and install a Linux distro

    But if you're stuck with $0 (and that OS), then perhaps an old version of cygwin
    Cygwin Legacy
    With this, you'll be able to install (older) versions of gcc and gdb.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  8. #23
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    As of right this moment, no, I don't have $40, but I can get it. I think I'll go with buying the harddrive (... hardrive, hard drive, hard-drive, however you spell it) and download some free Linux OS. Things will be so much easier w/ my own computer. A quick look at the merchandise, and ... I like it. Now I just wait for my detasseling paycheck to come in. Thanks so much.

  9. #24
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    Hey, what about this one?
    DELL OPTIPLEX 210L Desktop Computer Tower w/ Power Cord | eBay
    It has twice as much HD memory, it's 3 GHz, and (when you include shipping), it's ~$10 cheaper. Is there something bad I'm not seeing?

  10. #25
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,001
    It's called HDD storage (not memory).
    Anyway, the CPU is weaker (Athlon 64 is better than Pentium 4), and the graphics card is weaker (Radeon cards beats Intel graphics hands down).
    That said, anything is better than your current computer, so I don't think you'll be disappointed with either one.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #26
    Registered User
    Join Date
    Jul 2012
    Posts
    15
    well, i'll take your advice, (that's why i asked for it). but i've just always trusted intel. (just like i've always trusted mcdonalds, walmart, guitar center, and the grand old state of texas)

  12. #27
    Registered User
    Join Date
    Oct 2006
    Posts
    2,584
    Quote Originally Posted by future_engineer View Post
    well, i'll take your advice, (that's why i asked for it). but i've just always trusted intel. (just like i've always trusted mcdonalds, walmart, guitar center, and the grand old state of texas)
    as a customer, I'd say you're safe trusting walmart, because they want to keep you coming back. if you're a walmart employee, that's another story altogether. as for mcdonalds and guitar center, I patronize both businesses, but there are places I'd rather go when I have a choice. in fact, I just found a new guitar shop nearby that is smaller than any GC I've been to, and still has a better selection. and burger king is far superior to mcdonalds.

  13. #28
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,001
    Quote Originally Posted by Elkvis View Post
    ...and burger king is far superior to mcdonalds.
    Now you're just drawing things out of your subjective hat -_-
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help newbie compile program!
    By candysandra88 in forum C Programming
    Replies: 7
    Last Post: 12-13-2008, 11:27 PM
  2. Have no idea how to compile c++, please help (newbie qn)
    By rholloway in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2008, 08:31 AM
  3. Replies: 14
    Last Post: 12-07-2006, 03:19 AM
  4. Can't compile on the other compiler
    By AProg in forum C Programming
    Replies: 8
    Last Post: 05-25-2003, 08:55 AM
  5. Won't compile, can YOU compile it on your compiler?
    By incognito in forum C++ Programming
    Replies: 12
    Last Post: 03-10-2002, 12:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21