wxwigets and wxsmith

This is a discussion on wxwigets and wxsmith within the C++ Programming forums, part of the General Programming Boards category; Can some one please tell me the step by step process of how to configure wxwigets on codeblocks using mingw. ...

  1. #1
    Infant of C
    Join Date
    May 2010
    Location
    Karachi, Pakistan
    Posts
    118

    wxwigets and wxsmith

    Can some one please tell me the step by step process of how to configure wxwigets on codeblocks using mingw. I have googled a lot (even wasted my whole day chasing this) but found no guide for a new user... Please help me...

  2. #2
    Registered User
    Join Date
    Nov 2012
    Location
    Some rock floating in space...
    Posts
    32
    Codeblock's default project settings for some reason don't include the correct Linker settings to link against fltk or wxwidgets... You'll have to add those to your linker settings for both the Debug and Release targets of your project in order to properly link an executable....

    For example... for FLTK, you'll have to add the library fltk so that programs link against it when compiled. You have to do this for both the Debug and Release target of a given project.

    It should be very similar for wxWidgets... Just go through your project settings and look for Linker settings and flags... You should see a place to add libraries to the project settings... Remember that you have to do this for both the Debug and Release targets of a given project.

    Hope this helps,
    Twiki

  3. #3
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,438
    Code block's' project wizard is a pain for all but the basic types- You are really better off learning to link the libraries etc yourself. Quite ironic considering that cb is written with wxwidgets. By the way I think it is a massively bloated method that i abandoned ages ago in favour of FLTK
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

Popular pages Recent additions subscribe to a feed

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