Results 1 to 7 of 7

Thread: Programming with C++ and WxWidgets

  1. #1
    Join Date
    Mar 2005
    Beans
    492
    Distro
    Ubuntu 9.10 Karmic Koala

    Programming with C++ and WxWidgets

    Hello,

    I'm just starting out learning C++ on Linux and so far it is going very well. I was just wondering how to install the needed files under Ubuntu Hoary to start using wxWidgets to create GTK applications.

    Also, after I get used to programming in Linux I want to start to port any applications I make to Windows. I read that this was possible with wxWidgets, but would I need to compile them under Windows, or are their ways to compile the ported apps under Linux? And if there are, what do I need to install to compile Windows apps under Linux?

    Thanks...
    (\ /)
    (O.o)
    (> <)

    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  2. #2
    Join Date
    Mar 2005
    Beans
    492
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Programming with C++ and WxWidgets

    Okay, I think I just had to install these:

    libwxgtk2.5.3
    libwxgtk2.5-dev
    wx2.5-headers


    Now, does anyone know where I can find some good tutorials about how to use these header files to actually make applications in Linux? The tutorials at WxWidgets website are not that great. Or if there are other cross platform compatible tools to do GUI programming in Linux that have good tutorials and use C++, I would be willing to try those out as well.

    Thanks.

    (I always end up giving up at learning how to program in Linux right about now and going back to Windows, because I can never find any tutorials... hopefully this will be different...)
    (\ /)
    (O.o)
    (> <)

    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  3. #3
    Join Date
    Jan 2005
    Location
    Chesterfield UK
    Beans
    139

    Re: Programming with C++ and WxWidgets

    Quote Originally Posted by audax321
    Okay, I think I just had to install these:

    libwxgtk2.5.3
    libwxgtk2.5-dev
    wx2.5-headers


    Now, does anyone know where I can find some good tutorials about how to use these header files to actually make applications in Linux? The tutorials at WxWidgets website are not that great. Or if there are other cross platform compatible tools to do GUI programming in Linux that have good tutorials and use C++, I would be willing to try those out as well.

    Thanks.

    (I always end up giving up at learning how to program in Linux right about now and going back to Windows, because I can never find any tutorials... hopefully this will be different...)
    You could use Glade (http://glade.gnome.org). It's a little tricky to get get used too, but I think it's still worth it. It compiles on windows too I believe...

    Tutorials:
    http://www.kplug.org/glade_tutorial/...roduction.html
    http://wingtk.sourceforge.net/ishan/starting.html
    Last edited by sas; April 23rd, 2005 at 07:18 PM.

  4. #4
    Join Date
    Mar 2005
    Beans
    492
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Programming with C++ and WxWidgets

    sas, thanks i will look into Glade, although i found a hello world example for wxwidgets i'm trying to figure out right now. its not compiling too well though...
    (\ /)
    (O.o)
    (> <)

    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  5. #5
    Join Date
    Apr 2008
    Location
    Wisconsin
    Beans
    766
    Distro
    Ubuntu

    Re: Programming with C++ and WxWidgets

    you could try OpenGL http://www.opengl.org/

  6. #6
    Join Date
    Nov 2006
    Beans
    1,134

    Re: Programming with C++ and WxWidgets

    Quote Originally Posted by Primefalcon View Post
    you could try OpenGL http://www.opengl.org/
    Congratulations! You just resurrected a thread that had been dead for almost 4 years! =D>

  7. #7
    Join Date
    Apr 2006
    Location
    Seattle
    Beans
    2,893
    Distro
    Ubuntu Development Release

    Re: Programming with C++ and WxWidgets

    Congratulations! You just resurrected a thread that had been dead for almost 4 years!
    Let's put this thread to rest by locking it inside a casket and throwing it in the lake.

    Or just by closing it. Yeah, let's go with that.

Bookmarks

Posting Permissions

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