User forums > General (but related to Code::Blocks)
wxWidgets Samples
BMB:
How can I load the wxWidgets samples or demos into C::B? They seem to be made only for MSVC++. And how can I compile them? I'm using C::B with MinGW, but have almost no experience.
Thnx
thomas:
wxWidgets does not support Code::Blocks, thus you have only the following two choices:
1. import the MSVC project
2. add the sources to a new project by hand
If you decide to go (1) then please do note that the MSVC importer is not perfect, in particular it often misses the required link libraries... you'll have to look over it by hand.
Jeisson:
I think it would be valuable to try build a wx-ready C::B release, in a similar fashion to wxDevC++. C::B is more versatile than wxDevC++, but people who try to start in wx developing finds naturally abstruse the installation process. I am one of them, and I am still starting in this splendid evironment.
I think if wxWidgets team included CB projects files for each example, moreover, a CB project for compiling all the library, it would be fabulous!.
These are only ideas, I know they requires a lot of effort to be accomplished.
Thanks, thanks for this laudable work!
MortenMacFly:
--- Quote from: thomas on October 07, 2007, 09:10:28 pm ---1. import the MSVC project
--- End quote ---
I tried that with the wx libs one time... and ended up very frustrated and without results. Anyway - I agree it's not impossible and would be *GREAT*! But it's not easy to do...
hd:
Hi,
I prepared a project file for wx-minimal. You may get it from http://www.dynaset.org/dogusanh/download/wxminimal-cb.zip (2Kb).
It has relase, debug, dll targets for mingw, bcc, dmc, vc8 compilers.
Targets named as:
rgc - gcc release
dgc - gcc debug
rvc - vc release
rgcl - gcc release dll etc.
Temporary files created at cb/.orgc etc.
Binaries created at cb/bin.
To use it copy project file to samples/minimal directory.
Hope it helps.
--
Regards,
Hakki Dogusan
Navigation
[0] Message Index
[#] Next page
Go to full version