User forums > General (but related to Code::Blocks)

Installing wxwidgets/wxsmith for CodeBlocks 13.x

(1/2) > >>

blipton:
Rookie question, but I can't seem to find any up-to-date method that works for making a wxwidgets project.

I've installed wxMSW-3.0.2_vc90_x86_ReleaseDLL which I thought would have the binaries for CodeBlocks MinGW in Windows... but the project wizard in CodeBlocks didn't find what it's looking for.. perhaps the install was for MS VC9 only? 

So then I found that the pre-built dlls are included with the purchase of the 'C++ Application Development with Code::Blocks' ebook..  but it's a few years old, so would prefer to find something a bit newer.

The wxPack (https://github.com/rjpcomputing/wxpack ) seems like it's more than just the latest wxwidgets dll's.. it's nearly a 1GB download.   Is this what I need to install??

I can build an SDL project using MinGW fine, so I don't think the issue is with CodeBlocks  (although I wish the necessary files had been automatically included!)

oBFusCATed:
The compiler bundled with C::B 13.12 is TDM GCC 4.7 or 4.8 (I'm not sure which version).
So you need a matching binary release of wx widgets.

Keep in mind that the wizard in 13.12 might not be compatible with this release of wxWidgets.
You have to either modify it to suit your release (it is a simple squirrel script you can edit) or you can try a night build.

stahta01:
Step 1. Is the decide on the Compiler you are going to use.
Step 2. Is decide on the version of the Compiler you are going to use.
Edit: Added steps 3 and 4.
Step 3. Is decide on the version of the wxWidgets library you want to use. (CB wxSmith works better with wxWidgets version 2.8 at this time)
Step 4. Is to build or download the wxWidgets binaries

Your post stated two different compilers; vc90 means  the wxWidgets library was compiled with a Microsoft compiler (MSVC) version 9.0 trying to use MinGW GCC will not work because wxWidgets is a C++ library.

You can often mix MinGW GCC and MSVC when using C only code; but, because of C++ name mangling it does NOT work with C++.

FYI: I did post directions somewhere to get CB code wizard to work with wxWidgets 3.0 binaries.
Edit2: The nightly CB Wizard had minor issues working with the wxWidgets 3.0 binaries the last time I tried it under Windows.

Tim S.


blipton:
 Looks like there's at least a simple, but proprietary solution around creating wxwidgets:
http://www.dialogblocks.com

Although this approach suffers from being dependent on the company for updates, rather than updating whenever wxwidgets changes.   I guess it's a matter of deciding if $90 is worth the ease of use?  And/Or why not go with MS Visual Express if getting tied to a commercial solution!




oBFusCATed:
As far as I know DialogBlocks is not an IDE, but an UI editor that spits source files you should compile separately.
So you should first sort out compiling wx based projects and then bother with the UI editor.

Navigation

[0] Message Index

[#] Next page

Go to full version