wxWidgets, OpenWatcom and Code::Blocks

Hello Everybody,

This week I’m posting wxWidgets Wizard update alongwith a number of other feature improvements that has been added in Code::Blocks.

A number of users had complained about the support of OpenWatcom in Code::Blocks. The support was there but it was broken as it was written quite a while ago. Thus I rewrote some of the parts to improve the support. Now it has been tested with OpenWatcom 1.6 and found to be working perfectly with different types of projects.

After improving OpenWatcom support the goal was set to make the wxWidgets Wizard compatible with OpenWatcom. It has been updated to work with latest OpenWatcom release. I’ve personally tested it with OpenWatcom 1.6 and found to be working perfectly. OpenWatcom support for wxWidgets Wizard has been added in Revision 3660.

Till date if anyone wishes to develop wxWidgets based application with OpenWatcom makefile was the only option. Latest Nightlies of Code::Blocks have changed the equation. The OpenWatcom support is also available in 3rd-Party GUI builder integration part of wxWidgets Wizard.

One feature is presently lacking in OpenWatcom support in wizard. It does not support PCH files. But soon this limitation will be resolved.

Another interesting feature addition to wizard is support for wxSmith, the default GUI builder in Code::Blocks. I’m thankful to Byo for his support making the integration possible.

I hope you’ll all find the latest changes more interesting and useful.

Thanks for visiting the Blog. Please visit again for more updates. :)

wxWidgets Wizard Update: 27th Feb 07

An interesting feature has been added in the wxWidgets Project Wizard of Code::Blocks. Support for external GUI builder. Presently wxFormBuilder is supported. Code::Blocks also comes with an integrated GUI builder named wxSmith. Next release of this wizard will be focusing on integrating wxSmith.

So what more user need to do to enable this feature? Truly speaking, not much. User have to select an option which asks which GUI builder to use (See the following screenshot for more details). There is another option to generate either wxDialog based or wxFrame based app.

wxwiz_gui_sel_page.png

Screenshot showing GUI builder selection page

Selecting No GUI Builder will create an working project with sample code.

Changelog:

  • Wizard now supports creation of wxDialog / wxFrame based app.
  • Wizard now supports wxFormBuilder to be selected as 3rd-Party GUI Builder alongwith wxDialog / wxFrame option.
  • PCH include header has been reverted to wx_pch.h and PCH Pre-Processor definition is changed to WX_PRECOMP
  • EVT_CLOSE has been added in all templates to ensure proper exit.

The new wizard will be available from Revision 3645 onwards and it has been released with 26th February 2007 Nightly Release. Download it from -

http://forums.codeblocks.org/index.php/topic,5289.0.html
:)

Site downtime issue

The webhost is having some problem with their server which is keeping this site down sometimes. I am very sorry if you’ve encountered any issue accessing this site.

I am already making necessary arrangements to move this blog to another paid host so that I can get better service. But the process will take about a weeks time.

Till then you may face some problem reading my blog. But please keep visiting. :)

wxWidgets Wizard Update: 20th Feb 07

Hello Everybody,

There has been couple of significant changes to wxWidgets project wizard of Code::Blocks. The update will help advanced users who want to debug their application in Debug mode but linking with Release library of wxWidgets. Yes! this is now possible but only for GCC. Other compilers may not support this feature and thus it has been internally disabled.

Changelog:

  • Set Target Types option has been renamed to Configure Advanced Options. (See screenshot 1)
  • Now wizard can setup debug target using Release wxWidgets lib and without __WXDEBUG__. Please remember that this is available only for GCC in Windows. (See screenshot 2)

This option was requested by several developer of Code::Blocks. This option will enable a developer to compile application in debug mode (using -g flag to be particular) but using release lib of wxWidgets to avoid mixing of bugs. Please remember that this option will not work for any other compilers other than GCC.

wxwiz_renamed_opt_page.png
Image1: Renamed Option
wxwiz_adv_opt_gcc_page.png
Image 2: Advanced Option for GCC

Committed in revision 3610

Welcome to New Site

Hello Everybody,

I have moved my blog to this new domain. WordPress mirror (http://biplab.wordpress.com) and Blogger mirror (http://bkmodak.blogspot.com) will not be updated anymore. All my newer posts will be available in this site (http://biplab.in) from now on.

Please update your bookmarks.

Thanks & Regards,

Biplab :)

wxWidgets Wizard Update: 11th Feb 07

Latest changes are:

  • Library selection page in Linux have been redesigned. Options have been regrouped (See the screenshot below).
  • Now it’s possible for users to create a project with default wx lib configurations present in Linux.

wxwiz_renamed_opt_page.png
Regrouped Options in Windows
wxwiz_adv_opt_lin.png
Regrouped Options in Linux

Please download Code::Blocks Nightly Revision 3577 onwards to get these changes.

wxWidgets Wizard Update: 6th Feb 07

There are a number of changes made to it last week.

Changes:

  • Bugfix restoring PCH support for GCC. A bug was introduced in Revision 7 which disabled the PCH support.
  • Warning message added for Empty Project Creation.
  • Added option to use customised PCH header.
  • Grouped the various options in wxWidgets lib Configuration page.

The changes will be available with Revision 3570 of Code::Blocks (http://www.codeblocks.org) and onwards.

It’s Official Now!

You may be aware that I was working on improving the old wxWidgets Project wizard. I had released the 7th revision of the new wizard on 29th January 2007.

Now the Code::Blocks development team has merged the 7th revision with their latest Nightly Release (Released on 30th January 2007). That means now you don’t have to manually install it.

Any further revisions / modifications will be merged to the main repository directly. So there won’t be any code release through my blog. But you’ll be kept up-to-date on the changes made.

If you are using any old Nightly Build of Code::Blocks, then I would request you to upgrade to 30th January 2007 Nightly or Onwards to get the benefit of latest wxWidgets Project Wizard. Nightly builds are available from the following forum.

http://forums.codeblocks.org/index.php?board=20.0

Have a nice experience with Code::Blocks.

Revision 7 of Modified wxWidgets Project Wizard of Code::Blocks

Revision 7 of wxWidgets project wizard of Code::Blocks is released.

Changes:

  • Creation of Empty Project is now possible.
  • Wizard now generates customised header/source files. Filenames are generated on the basis of project name.
  • Wizard now accepts Author name, email and website to customise header/source files generated by the wizard.
  • Wizard now generates resource file in Windows. Default wx icon is used. XP theme support is also enabled using wx.rc file.
  • Wizard now remembers following preferences.
    • wxWidgets configuration settings
    • Author details

Free Image Hosting
Screenshot showing option to create empty project in WindowsFree Image Hosting
Screenshot showing option to create empty project in Linux

Free Image Hosting
Screenshot showing Author Details Page


Known Issues:

  • Resource file is not customised now and available only in Windows.
  • Does not remember additional wx lib selection (Work is in progress).

Download it from:http://biplab.quotaless.com/wxwidgets_wizard_Rev7.zip

A detailed discussion on this topic can be found in Code::Blocks forum (http://forums.codeblocks.org/index.php?topic=4768.0). Please post your feedback and suggestions in Code::Blocks forum.

Revision 6 of Modified wxWidgets Project Wizard of Code::Blocks

Revision 6 of wxWidgets Project wizard is now available. This revision comes with several new features.

Changes:

  • Added support (partial) for Linux and Mac (Untested). It’s now possible to select different wxWidgets version present in Linux system.
  • Added option to select Static/Dynamic, ANSI/Unicode build of wxWidgets in Linux.
  • Added option to select Application Target Type in Windows (For Advanced users only)
  • Wizard now checks the presence of wx configuration, selected for project, precisely in Windows. Expect almost No false warning.
  • Couple of minor fixes and code clean-up.


New options available in Linux


Check the Highlighted option to change target type


Change Target Type here, but be cautious.

Tested in:

  • OpenSUSE 10.2 with GCC 4.1.2, wxGTK-2.6.3 & 2.8.0 Dynamic-(Debug/Release)-Unicode-Monolithic build of lib.

Known Issues:

  • Does not check the presence of wxWidgets lib in Linux system. So be careful to select correct lib configuration otherwise the generated project will fail to compile.
  • Checked with Monolithic builds in Linux; it may give you trouble if you are using non-monolithic builds in Linux.

Important Note:
Please be careful while changing Target Type. For GCC there shouldn’t be any problem. But with BCC you’ll have to manually change some compiler settings otherwise it won’t link.

The new features may come with Gift of Hidden Bugs. Please share that gift once you get that. Wink Download the latest release from the following link.

http://biplab.quotaless.com/wxwidgets_wizard_Rev6.zip

Also please post your comments, feedbacks.

Hope you’d enjoy this new release. Very Happy