News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxWidgets 'minimal' sample to work in CodeBlocks 13.12

Started by thor36, February 02, 2014, 02:15:24 PM

Previous topic - Next topic

thor36

Hello. I am beginning to learn wxWidgets, and so have checked documentation for some samples. I would like to start with the 'minimal' sample, that is shipped with wxWidgets 3.0 ( found here ). In a different place, someone has told me : " The wxWIdgets samples come with makefiles to be build from the command line and with project files for Visual Studio. " So my question is, can anyone help me run this sample ( and consequently others ) in my CodeBlocks IDE ? ( this version ). I am not familiar with using command line and building libraries, only basic C++ console app programming in CodeBlocks. Thank you !

ollydbg

Hi, please carefully read this thread: Anyone interrested in CB Projects that compiles wxWidgets samples with wx-config. Tim(stahta01) has create a C::B workspace(and C::B projects) for all the samples in wx3.0, you can follow his way, I have successfully built them, very nice. :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

thor36

Quote from: ollydbg on February 02, 2014, 03:07:24 PM
Hi, please carefully read this thread: Anyone interrested in CB Projects that compiles wxWidgets samples with wx-config. Tim(stahta01) has create a C::B workspace(and C::B projects) for all the samples in wx3.0, you can follow his way, I have successfully built them, very nice. :)

Thank your for this information, ollydbg. I will test my luck and see if I can make it work. Otherwise, I will be posting here again. I am a newcomer, and problems are not doing their best to avoid me  ;)