newbie asking:how to use wxcode exactly

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
SamHu
Earned a small fee
Earned a small fee
Posts: 20
Joined: Tue Sep 20, 2011 7:52 am

newbie asking:how to use wxcode exactly

Post by SamHu »

I never figure it out how to use these additions.
I use codelite+mingw+wxpack
It is quite easy to do the setting
However,
when I want to use the wxctb, I get stuck.
I have no idea how to add it to wxwidgets. Coping all the source to src and all the head file to include/wx under wxwidgets will not do it.
should I compile it to a ".dll" first ??
I need to use the wxctb like right now
How do I get it go with the other parts of wxwidgets under codelite.
Coding is not funny.
It is nothing but a pain.
While people like me still get obessed to it.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: newbie asking:how to use wxcode exactly

Post by Auria »

Hi,

there is no generic answer. Ideally, each component from wxCode should come with its own documentation on how to use it.

Generally, it will be :
1) for very small add-ons, just add the files to your own project and build
2) for bigger add-ons, you generally need to first build it as a library (static or dynamic). Ideally the addon would contain instructions as to the build system being used


For wxCTB specifically, the docs are http://wxcode.svn.sourceforge.net/viewv ... iew=markup . Unfortunately for you, it looks like the author of wxCTB did not write a build system for Mingw. So your choices are to either go "way 1" as described above, either try to fix the makefile to work with mingw, or use your favorite build system.

EDIT: actually there appears to be a file named 'makefile.mingw', it's just not documented. Try that one
"Keyboard not detected. Press F1 to continue"
-- Windows
Post Reply