Developing Tools?

Discussion in 'Mac Programming' started by mh10190, Aug 13, 2005.

  1. mh10190 macrumors newbie

    Joined:
    Aug 9, 2005
    Location:
    NYC
    #1
    Hi
    im getting into programming
    And i was wondering
    With a mac

    Can i make cross platform programs

    I was wondering about the tools that i would need on a mac
    what are the programs that accomplish the following tasks

    IDE
    GUI Builder
    Compialer
    Libraries

    and is there anything else i would need

    i want to program in Java and C++

    on a side note
    im wondering about scripting

    i want to master one language that will do all my web and program scripting
    what do you suggest
    and what tools would i need

    i have the learning material for almost anyhting at my fingertips
    i just want to make a game plan

    i would really like for the work ill be doing to be cross platform

    btw
    i want to make games, business software, and i want to basically fool around with open source stuff and see what i can do

    thanx
     
  2. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2
    Xcode and the developer tools that come with OS X will do much of what you need. You can use it to code and compile Java or C++ (as well as C, Objective-C, assembler, scripting languages, and other stuff). What you cannot do is code for native Windows applications (using DirectX, Win32, etc.). InterfaceBuilder is an excellent GUI-building app, however it only builds GUIs for Macs. If you don't like Xcode, you can also use a number of Java IDEs such as Eclipse and NetBeans. CodeWarrior is available on Mac and supports a number of languages and platforms, however it's future is uncertain right now. Apple's move to Intel may have effects on the many things for programmers in the next few years.
     
  3. DannySmurf macrumors 6502a

    Joined:
    Jul 7, 2005
    #3
    You can also use RealBasic for cross-platform development, if that floats your boat and you're willing to move away from C++. I personally don't like it, but in theory, you can compile the same source code (GUI and all) for Windows, Mac and Linux.
     
  4. ExoticFish macrumors 6502a

    ExoticFish

    Joined:
    Dec 3, 2002
    Location:
    The inner depths of madness, aka Kent, OH
    #4
    i used RealBasic for a while and liked it a lot as a RAD tool until the day came that i tried to write a database app as only the pro version can compile a program written with database controls (although i have not checked to see if the new version 2005 has changed this or not).
     
  5. gekko513 macrumors 603

    gekko513

    Joined:
    Oct 16, 2003
    #5
    You probably want to go the SDL and OpenGL route for cross platform game programming ... supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX ... SDL is written in C, but works with C++ natively
     
  6. Nutter macrumors 6502

    Joined:
    Mar 31, 2005
    Location:
    London, England
    #6
    Metrowerks have already announced that the next version of CodeWarrior will be the last. And it won't compile for OS X on Intel.
     
  7. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #7
    Maybe they've discovered the 'Internet Explorer effect' that competing with free (i.e. xcode) is nigh on impossible unless your product is an awful lot better than the free one - especially when your product costs $499.
     
  8. mh10190 thread starter macrumors newbie

    Joined:
    Aug 9, 2005
    Location:
    NYC
    #8
    i researched realbasic a little
    im wondering
    what is it good for

    i mean what do we know of that is written in RealBasic
    and i heard that it takes up alot of resources

    what would its main purposes be

    and

    with C++ for example
    lets say i use a mac to write the source, build the GUI, then compile it
    all ill have to do to make it cross platform would be put the source on another platform, write the gui for that, then compile it

    or is it more complicated
     
  9. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #9
    If you design your code well that is indeed all you need to do. If you enfroce strict separation between the logic and the front end that sounds good.

    That would also enable you to have a native look and feel on each platform which users (especially Mac user) like.
     
  10. gekko513 macrumors 603

    gekko513

    Joined:
    Oct 16, 2003
    #10
    If you make an application cross platform using C++ as the language, SDL for input methods (and sound and stuff), Open GL for graphics and glut for the basic windows setup and OS integration, you should ideally be able to use one single source and just do a recompile for a different platform and it that will give you a GUI and everything. The only thing that remains is an installer and/or packaging that will be different for most platforms.

    If you need more advanced cross platform GUI widgets, you can use Qt from Trolltech or some other cross platform GUI toolkit. Qt is free for non-commercial use. Free GUI toolkits
     
  11. ExoticFish macrumors 6502a

    ExoticFish

    Joined:
    Dec 3, 2002
    Location:
    The inner depths of madness, aka Kent, OH
    #11
    for cross platform support you might want to check out this book.
     

Share This Page