Thread: Graphical Interfaces

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Graphical Interfaces

    I am a Computer Engineering student and am working on a team with other students.

    I was wondering what anyone of you more experienced programmers would do when working on a project that needs to be built cross platform. The application needs to run on Windows XP, OS X 10.4, and Linux.

    Currently we have a developer release / proof of concept built in Visual Basic but our new lead developer is not used to doing Windows projects so he suggested using GTK.

    If you need more information please ask.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    If you want to port the app to the different platforms, then the genral approach is to isolate platform specific code into separate modeles, then just write the module for each platform and select the correct one at compile time.

    If you want one code base that runs on all platforms you can either use a platform independant language like Java, or find a platform independant C/C++ library like qt or wxWidgets.

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    In the real world, this is much more difficult than you might think. If you go to the computer store, you don't find many programs sold for both Windows and Mac (probably none for all three platforms). When you do find them, you'll often find different versions. i.e. Version 7 for Windows, and version 6 for Mac, because they haven't got it ported yet!

    If this is a requirement you've established for yourself, I'm a little concerned that you will spend more time on the cross-platform issues than on the "real program". If it's an assigned requirement, OK, It's expected that you will spent lots of time on it.

    There other things besides graphics & GUI that could trip you up. Anythingthat's not ANSI/ISO C++ could be a source of trouble. In any case, you might have to assign one team-member for testing & debugging on each platform.

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    196
    When you do find them, you'll often find different versions. i.e. Version 7 for Windows, and version 6 for Mac, because they haven't got it ported yet!
    and the fact that the windows sells more and is better..ugh macs

  6. #6
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    Windows sells more, because Windows is almost always standard on pc's. That's not fair.
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphical debugger for Linux
    By abh!shek in forum C Programming
    Replies: 6
    Last Post: 05-30-2008, 06:13 PM
  2. Replies: 2
    Last Post: 01-08-2008, 04:34 PM
  3. Text engine
    By Death_Wraith in forum Game Programming
    Replies: 18
    Last Post: 11-15-2004, 07:44 PM
  4. Need help with detecting wireless interfaces
    By wikiwest in forum Linux Programming
    Replies: 0
    Last Post: 04-06-2004, 08:31 PM
  5. Replies: 1
    Last Post: 05-31-2003, 09:07 AM