Oh, I see...
I don't have it, I tought I could compile with 2.6.x
Thanks, I will try
The opposite is the case, you should really be using 2.6 -- wxWidgets 2.4 is dead.
The linker error you get is because you try to link against some wxWidgets 2.4 library in your project (wrong setting in link libraries).
Also please note that if you intend to develop
with Code::Blocks (not
for Code::Blocks) then you might consider using wxWidgets 2.8 instead (current official release).
wxWidgets is not source-compatible between releases, you always have to patch many things when moving from one release to the next. Thus, when you're just starting out, you may want to start using 2.8 right away. Migrating at a later time will mean additional pain.