Author Topic: wxWidgets 'minimal' sample to work in CodeBlocks 13.12  (Read 5396 times)

Offline thor36

  • Multiple posting newcomer
  • *
  • Posts: 32
wxWidgets 'minimal' sample to work in CodeBlocks 13.12
« on: February 02, 2014, 02:15:24 pm »
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 !

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5906
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxWidgets 'minimal' sample to work in CodeBlocks 13.12
« Reply #1 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. :)
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.

Offline thor36

  • Multiple posting newcomer
  • *
  • Posts: 32
Re: wxWidgets 'minimal' sample to work in CodeBlocks 13.12
« Reply #2 on: February 02, 2014, 03:13:10 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  ;)