+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 30 of 58

Thread: Looking for a Simple C++ Compiler/Debugger

  1. #1
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default Looking for a Simple C++ Compiler/Debugger

    I've been trying to install Visual Studio 2008 for a couple of days and have finally given up in disgust. Can someone recommend an alternative for C/C++? I'd like something that is simple to use and has a debugger. Open source, or pay is acceptable if it is simple to use and doesn't waste my time.

  2. #2
    Senior Member
    Join Date
    Sep 2004
    Location
    San Jose, CA.
    Posts
    1,726

    Default

    It won't even install?!
    Peter Young | www.attitudegain.com | Linkedin | Twitter

    Projects:
    Meridian 59: Evolution
    ???
    ???

  3. #3
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default

    Heh! You should see their forums and whats on Google.

    "visual studio 2008 won't install"
    "visual studio 2008 install problems"

    I've been following advice on the net and on their forums and it hasn't helped. Then I looked up visual studio 2010 and it said the total package will be 7 gigs (admittedly there are options you won't have to get). So I've decided I don't want to use their stuff anymore.

  4. #4
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    To be honest if you can't install something like Visual Studio then you probably aren't cut out to be a programmer to begin with.

  5. #5
    Junior Member
    Join Date
    Mar 2009
    Posts
    12

    Default

    You can try http://www.codeblocks.org/ with minGW. Its a very nice and functional IDE but the gcc-debugger (which you need to install seperately) is not as capable and easy to use as the visual studio one.

  6. #6
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default

    >To be honest if you can't install something like Visual Studio then you probably aren't cut out to be a programmer to begin with.

    If you're not already working for Micro$oft, you should be.

    >You can try http://www.codeblocks.org/ with minGW.

    That looks interesting. Thanks trinistry.

  7. #7
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    Eclipse and MinGW. Its far from the "simple" side, but it beats Visual Studio in almost every front (it even has a wiki plugin which saves the wiki as plain text files in your project, and a subversion plugin that can upload these files to your repository ).

  8. #8
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default

    Thanks Bad Sector. I like software that makes use of plugins, so I'll try that out as well.

  9. #9
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    Well, Eclipse at its core is just a framework for writing plugins to make a development environment. C/C++ support is just a plugin (CDT) and the C/C++ bundle contains this plugin and a bunch of other helpful plugins. But there are thousands out there (check here for some).

    And writing a plugin doesn't look to be very hard either.

  10. #10
    Senior Member
    Join Date
    Oct 2008
    Posts
    129

    Default

    Sun's Neatbeans + Cygwin are an option, too.

    http://www.netbeans.org/features/cpp/

  11. #11
    Member
    Join Date
    Nov 2004
    Location
    Miensk, Biełaruś
    Posts
    48

    Default

    I'm agreed with trinistry about Code::Blockswith with MinGW.

  12. #12
    Senior Member
    Join Date
    Jul 2008
    Location
    Seattle, United States
    Posts
    1,204

    Default

    Code::Blocks is good - but you're going to lose all sorts of functionality. Still, it's probably stuff that a lot of people don't use.

    For Visual Studio, download the BIG FAT ISO/CD file that they have, and then use this to install it(as it is mysteriously too big to put onto a CD): http://www.softwarepatch.com/windows/xpvirtualcd.html

    It's a simple little virtual CD prog made by MS, works well, easy to use.
    The problem with climbing up on your cross is that some jerk with a hammer and a bucket of nails is bound to walk by. Eventually.

  13. #13
    Senior Member
    Join Date
    Sep 2004
    Location
    San Jose, CA.
    Posts
    1,726

    Default

    My response was not one of disbelief, but one of sympathy What is the error you are encountering?

    I've developed in Eclipse + CDT and also feel it's a solid choice. I just like VS's tools better. I've never been as productive in gdb as I have been in VS.

    Also, this may or may not be a factor but I also installed VS the way Acord suggests. I hate web installers...
    Peter Young | www.attitudegain.com | Linkedin | Twitter

    Projects:
    Meridian 59: Evolution
    ???
    ???

  14. #14
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default

    I downloaded the 750 MB iso and it didn't work - it stopped fairly early in the process and wouldn't install the .NET 3.0 stuff.

    So I downloaded the .NET 3.0 pack separately and installed it successfully, but when I restarted the machine and attempted to reinstall Vis Studio, it got stuck on the same error.

    I also uninstalled components it asked me to install and installed the service pack 3 for XP. The only thing I can think of is my machine doesn't have internet access and it is missing a crucial security update.

    In all cases I tried to install normally and in safe mode with the anti virus turned off and no dice.

    Either way I'm done with M$ as they are going in a direction I don't want to go. - the Vis 2010 system requirements are extremely high, as well as requiring a huge download with all the agro that will be involved in installing it. All I want to do is write simple games in Python and C++ to speed up the slow sections, so Visual Studio is overkill.

  15. #15
    Senior Member
    Join Date
    Jul 2008
    Location
    Seattle, United States
    Posts
    1,204

    Default

    That's just bizarre. I had some really bad issues related to wubi/ubuntu being installed a while back, but outside of that I've never seen any problems
    The problem with climbing up on your cross is that some jerk with a hammer and a bucket of nails is bound to walk by. Eventually.

  16. #16
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    Either way I'm done with M$ as they are going in a direction I don't want to go.
    I agree, the dreadful 'M$' is doing too much for game devs.

  17. #17
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    What are they're doing that doesn't either:
    a) make your game require more resources than it actually need (.NET)
    b) lock you on their platform and systems (DirectX, .NET, Win32 API, Visual C++ extensions)
    c) limit your audience to specific subset of their platform (.NET 3.x, DirectX 10)
    d) damage the image of indie software developers (confirmation dialog for running downloaded .exe files since XP SP2)
    e) was available from others (usually open source) for free long long ago

    I'm not saying that its a bad thing to give free versions of Visual Studio. I have it installed because some program i wanted to compile required it, but for me Eclipse is much better. Also when i tried to use the Express edition at some point at the past, it was expiring every month or couple of months and i had to obtain a new serial from Microsoft. This means that if Microsoft one day decides they don't want to update the serials anymore, Express will stop working. Being not safe enough for the future term and not really my taste, it didn't took much thought to stop using it.

  18. #18
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    a) make your game require more resources than it actually need (.NET)
    You don't have to code for .Net if you don't want to, in fact MDX was discontinued years ago.

    b) lock you on their platform and systems (DirectX, .NET, Win32 API, Visual C++ extensions)
    It's DirectX's fault that it kicks butt I guess and there is no API for other OS's, all OS's belonging to the dreaded 'M$ lololololz (tm)' have APIs built for them and lock the poor devs to the platform with voodoo magic.

    c) limit your audience to specific subset of their platform (.NET 3.x, DirectX 10)
    Because anything below DirectX 10 does not work on Windows, you can't use competing APIs and all things you code on windows must use .NET...?

    d) damage the image of indie software developers (confirmation dialog for running downloaded .exe files since XP SP2)
    By that logic they're damaging the image of every software developer in existence, including themselves, not just them, Mozilla is doing the same apparently!

    e) was available from others (usually open source) for free long long ago
    Mate, if you're paying money to use Microsoft APIs you're probably being scammed by Nigerians.

    Also when i tried to use the Express edition at some point at the past
    Given many of your arguments presented up to this point I imagine this 'some point' was from the dinosaur age, Express doesn't need license updates anymore, Microsoft has poured millions into indie game dev by way of XNA (they're not about to pull the plug) and yeah.

  19. #19
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    Quote Originally Posted by meds View Post
    You don't have to code for .Net if you don't want to, in fact MDX was discontinued years ago.
    .NET was an example and if you do write for .NET you have the problem i mentioned. It is a Microsoft technology.

    It's DirectX's fault that it kicks butt I guess and there is no API for other OS's, all OS's belonging to the dreaded 'M$ lololololz (tm)' have APIs built for them and lock the poor devs to the platform with voodoo magic.
    Are you on "meds" :-P ? What are you talking about?

    Because anything below DirectX 10 does not work on Windows, you can't use competing APIs and all things you code on windows must use .NET...?
    But if you want to use DirectX 10 you're locked on Vista (and newer windows).

    By that logic they're damaging the image of every software developer in existence, including themselves, not just them, Mozilla is doing the same apparently!
    Not really, Microsoft can pay the cash to sign their .exe files every year but they're also known enough for people to trust them. This isn't th case with smaller developers. Mozilla doesn't do the same thing.

    I'm not refering to "are you sure you want to run this program" that is asked when you press "Run" or "Launch" in the browser's download window, but when you double click on the executable you already downloaded. This has nothing to do with the browser (although i think the exe is marked as "downloaded" by the browser and i'm under the impression that Mozilla doesn't mark the files as such).

    Mate, if you're paying money to use Microsoft APIs you're probably being scammed by Nigerians.
    Why Nigerians?

    I'm not paying anything to use Microsoft APIs but i'm paying to use Microsoft OSes. Which is a good thing because i like the latest OS (Vista), even if it seems like i'm the only person in the planet that does :-P

    Given many of your arguments presented up to this point I imagine this 'some point' was from the dinosaur age, Express doesn't need license updates anymore
    Heh. I just ran the program and it asks me for an activation right now (18 days left). Its the second time this year i need to get a new key (i assume its ok since i used VS a few months ago).

    And when i opened it, i was greeted with this RSS feed:
    Attention Visual Studio 2005 Express Edition Users: Mon 24 March 2009 18:44:13 GMT - On March 31st the Microsoft Visual Studio 2005 Express Edition products will be discontinued and removed from www.microsoft.com/express. You can continue working on your current projects with Visual Studio 2008 Express Edition (with SP1), available for free on www.microsoft.com/express. If you haven't already, upgrade today!
    I dont really like it that all i can to do is hope that they don't stop issuing new keys for this. If i stick with VS i'm on their hands but if i use the open source MinGW and Eclipse tools, nobody can ever come and tell me that i can't use my tools :-).

    Microsoft has poured millions into indie game dev by way of XNA (they're not about to pull the plug) and yeah.
    Isn't XNA that thing that works only in XBox360 and some newer version of Windows while requiring a huge runtime, at least a pixel shaders 2.0 card to display a single sprite and has awful content tools (especially for sound) that you can't do much about them?

    It doesn't sound very indie friendly to me given that indies need every last penny a Mac or Linux sale will give them.

    Ah an about the above rss feed: doesn't the older version of XNA (which runs in more systems than the latest) require Visual Studio 2005?


    But what you obviously didn't understood from my post and focused on the few trees while ignoring the forest is that i gave some examples of Microsoft technologies that do not go in any way that is friendly to anybody else except themselves.

    EDIT: But of course, how could i miss this huge stone in front of me? So i requote:

    Quote Originally Posted by meds View Post
    You don't have to code for .Net if you don't want to, in fact MDX was discontinued years ago.
    And what does THAT mean for developers who relied on Microsoft and MDX?

    So much for relying on stuff you cannot control ;-)

  20. #20
    Senior Member
    Join Date
    Jul 2004
    Location
    Calgary, AB
    Posts
    522

    Default

    Hasn't someone created a "Don't Feed the Trolls" animation we could all link to yet?

  21. #21
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    an your arguments are pretty weak, grasping at straws are we?

    .NET was an example and if you do write for .NET you have the problem i mentioned. It is a Microsoft technology.
    So everything MS does is terrible? Riiiight, I mean when the competition creates its own APIs and the like for their own OS it's not the same thing, totally different eh? I think APple is locking me onto their platform with CoCo, and Linux, oh the dastardly Linux with its kernel API.

    How dare they create APIs which don't just expand to run on every kind of OS imaginable and make coffee?

    Microsoft made .NET, it made the lives of many developers who work on Windows that much more easy. Only reason you would cry about that is from pure jealousy, you don't have to use it if you don't want to, after all. So why be all sympathetic to people who find a use in the platform?

    No need to be so envious though, Mono will bring .Net to Linux, or parts of it.


    Are you on "meds" :-P ? What are you talking about?
    No sweety, what are you talking about? Let's see,

    b) lock you on their platform and systems (DirectX, .NET, Win32 API, Visual C++ extensions)
    ..

    I mean when the competition creates its own APIs and the like for their own OS it's not the same thing, totally different eh? I think APple is locking me onto their platform with CoCo, and Linux, oh the dastardly Linux with its kernel API.

    Try again

    But if you want to use DirectX 10 you're locked on Vista (and newer windows).
    HAHAHAHA, FUCK THAT, I don't want to use DirectX 10, I want to use DOS, Why doesn't the evil Microsoft let me use DOS!? HAH!? WHY!? OMG SO EVIL!

    ...times move on, it would also be technically very difficult to port DirectX 10 to XP, Microsoft didn't want to do it, it's there call.

    Heck, the reason OpenGL has turned into a joke in high end games dev is because it refuses to get on with the times, choosing to keep backwards compatibility with code form years ago.

    I don't even understand form what perspective you're speaking. If we say you're a narrow minded indie game dev then why would you be interested in DirectX 10 at all? It will be many a year before indie game devs could actually make use of it (and honestly I don't think a need for DX10 by indie game devs will ever happen). On the other hand if we say you want to develop on multiple platforms, why would you even find yourself forced to use DirectX anyway? Has OpenGL just dropped dead on Windows or something? (granted it is doing a marvelous job of killing itself in the eyes of game devs).

    I 'm not refering to "are you sure you want to run this program" that is asked when you press "Run" or "Launch" in the browser's download window, but when you double click on the executable you already downloaded. This has nothing to do with the browser (although i think the exe is marked as "downloaded" by the browser and i'm under the impression that Mozilla doesn't mark the files as such).
    That's not about signing your software then mate, that's about using an updated and more secure API versus an older one. You might have disabled those warnings in your compiler which screams 'use *function name* instead' or something.

    Heh. I just ran the program and it asks me for an activation right now (18 days left). Its the second time this year i need to get a new key (i assume its ok since i used VS a few months ago).
    Clearly I'm doing something wrong because I don't get this licensing issue. Heck, even if I did I very much doubt Microsoft would cut off the license. Believe it or not but the reason Microsoft is so dominant is because it caters to developers, all of them, not just you

    I dont really like it that all i can to do is hope that they don't stop issuing new keys for this. If i stick with VS i'm on their hands but if i use the open source MinGW and Eclipse tools, nobody can ever come and tell me that i can't use my tools :-).
    Oh boohoo Microsoft is telling you to update software. Are you seriously trying to use this as some example? You seem to have a few screws loose in that head of yours

  22. #22
    Moderator
    Join Date
    Jul 2004
    Location
    Birmingham
    Posts
    2,118

    Default

    That has to be the funniest rant against 'M$' I've read in a while.

  23. #23
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    ...because when educating the illinformed your post invokves a strange image restriction bug (hence the double post),

    Isn't XNA that thing that works only in XBox360 and some newer version of Windows while requiring a huge runtime, at least a pixel shaders 2.0 card to display a single sprite and has awful content tools (especially for sound) that you can't do much about them?
    Isn't XNA that thing which works on consoles and on virtually every computer made in the last, I dunno, five years, and that makes games dev much, much easier for hobbyists?

    Yeah it is

    It doesn't sound very indie friendly to me given that indies need every last penny a Mac or Linux sale will give them.
    Who said anything about it being indie friendly? You expect everything Microsoft does to cater to you? Maybe that's why you have an issue with .Net and XNA.

    open your eyes mate, you're not the be all end all for MS.

    But what you obviously didn't understood from my post and focused on the few trees while ignoring the forest is that i gave some examples of Microsoft technologies that do not go in any way that is friendly to anybody else except themselves.
    Your entire post pretty much sucked. All your arguments have this one undertone: 'Microsoft did this, which did not help me as an indie, therefore Microsoft is forcing me to stay on its platform forever'.

    Care to prove otherwise?

    And what does THAT mean for developers who relied on Microsoft and MDX?
    I don't think you realize there were none

    Or very few, I can only name one game dev in the whole world which used MDX and I don't think they liked it very much. Managed C++ as a whole is a ridiculously stupid concept and something most game devs didn't really like very much.

    Hence why Microsoft discontinued support for it.


    Funny how on the one hand you're talking about 'no control' and on the other you're condemning Microsoft for doing something for game devs (i.e. discontinuing MDX and focusing on other aspects of games dev on Windows)

    But while we're talking about support for outdated and unpopular software, where the fuck is my DOS?

  24. #24
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    Wow you must argue a lot about these topics because you've raised some skill about it :-).

    You are still missing my point and i don't think there is much else to say. I did my contribution to this thread when i replied at the original question, so i have nothing else to do and as said above, its not wise to feed the trolls.

    Besides you seem to not remember what you're writing...

    Quote Originally Posted by meds
    Who said anything about it being indie friendly?
    Quote Originally Posted by meds in a previous post
    Microsoft has poured millions into indie game dev by way of XNA
    Also
    Quote Originally Posted by meds
    But while we're talking about support for outdated and unpopular software, where the fuck is my DOS?
    Right there, but not thanks to Microsoft :-)

    and
    Quote Originally Posted by meds
    You seem to have a few screws loose in that head of yours
    indeed

  25. #25
    Senior Member
    Join Date
    Dec 2008
    Posts
    337

    Default

    Microsoft has poured millions into indie game dev by way of XNA
    That still doesn't make it indie friendly, I was merely indicating that it is on its way to becoming indie friendly. Heck, XNA practically invented indie gaming on the Xbox. Any fool can make games for the Xbox 360 now.

    indeed
    We should hang out XD

  26. #26
    Senior Member
    Join Date
    Sep 2004
    Location
    San Jose, CA.
    Posts
    1,726

    Default

    Wow, this thread took a dump fast. Quick, someone bring up piracy!

    Quote Originally Posted by Davaris View Post
    Either way I'm done with M$ as they are going in a direction I don't want to go. - the Vis 2010 system requirements are extremely high, as well as requiring a huge download with all the agro that will be involved in installing it. All I want to do is write simple games in Python and C++ to speed up the slow sections, so Visual Studio is overkill.
    Microsoft hate aside, I agree that if you are primarily working in Python there's really no sense in struggling with VS. Your problems are puzzling, but in your case trying to solve them really doesn't buy you anything.
    Peter Young | www.attitudegain.com | Linkedin | Twitter

    Projects:
    Meridian 59: Evolution
    ???
    ???

  27. #27
    Senior Member
    Join Date
    Sep 2004
    Posts
    768

    Default

    There's no hate on my part for M$ at all. The emotion is more like indifference - I feel like we broke up a long time ago and I've long since moved on.

    Case in point I didn't get angry when I couldn't install Vis Studio. I assumed there would be issues and the only difference is this time, I wasn't prepared to put up with it any more.

    PS
    Thanks to Bad Sector for pointing out the impressive Eclipse work bench. It installed with no problems, was easy to learn, has lots of nifty features and tons of plugins. I'm very pleased with it.

    EDIT:
    It has a Python plugin as well!
    Last edited by Davaris; 05-06-2009 at 10:33 PM.

  28. #28
    Senior Member
    Join Date
    Sep 2004
    Location
    San Jose, CA.
    Posts
    1,726

    Default

    Quote Originally Posted by Davaris View Post
    There's no hate on my part for M$ at all. The emotion is more like indifference - I feel like we broke up a long time ago and I've long since moved on.
    I meant the MS hate derailing the thread, nothing you said in particular

    Eclipse is solid... I think it will be a good fit for what you are doing. Good luck!
    Peter Young | www.attitudegain.com | Linkedin | Twitter

    Projects:
    Meridian 59: Evolution
    ???
    ???

  29. #29
    Moderator
    Join Date
    Jul 2004
    Location
    Birmingham
    Posts
    2,118

    Default

    When someone uses "M$" I immediately switch off from what they're saying anyway.

  30. #30
    Senior Member
    Join Date
    May 2005
    Location
    Warsaw, Poland
    Posts
    2,707

    Default

    Quote Originally Posted by luggage View Post
    When someone uses "M$" I immediately switch off from what they're saying anyway.
    But you still reply.

+ Reply to Thread

Posting Permissions

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