Hi Jens-
I am up and running with the sample wxWidgets code.
If you are having trouble setting up wxwidets, I put together a few
steps I took to get my project working.
Please read the disclaimer at the bottom of this post.http://forums.codeblocks.org/index.php/board,20.0.htmlI went to nightly builds and downloaded a very recent build of codeBlocks.
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRefRead the QuickRef link and run the wizard for a new project.
Add a global variable (Settings ->Global variable) named wx which is the base of the wxWidgets install.
I used a "wxPack"
http://wxpack.sourceforge.net/Main/Downloads install and my base directory looked like this:
C:\SourceCode\Libraries\wxWidgets2.8
I also downloaded from the mingw site :
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/downloadAdd the setting to point to mingw dir in Settings ->Compiler ->Toolchain executable tab.
Here are my settings:Project->Build Options->Search directories:
Under Compiler (search directories):
$(#wx)\include
Under Linker (search directories):
$(#wx)\lib\gcc_dll
I copied the 2 dll files per the nightly build instructions and put them
with codeblocks.exe in the same directory. I included the dir containing codeblocks.exe
in my win xp path variable (search how to set an environment variables in xp if you don't know).
I received a message it couldn't run my application and was looking for wxmsw28u_gcc.dll.
What I did to fix that was made an extra copy of wxmsw28u_gcc_cb.dll (one of the files from the
nightly build download) and just rename it to wxmsw28u_gcc.dll.
Now I have these 3 dll's in my codeblocks.exe directory.
1.) wxmsw28u_gcc.dll (copy of #2) and then rename)
#2) wxmsw28u_gcc_cb.dll (nightly build download)
3.) mingwm10.dll (nightly build download)
These steps worked for me but I am a beginner and there may be a better way.
I hope it is ok I posted the steps I followed with Jens and it helps another cb user.If Jens or another more experienced user follows up and doesn't like the steps I took,
please disregard.
Thanks,
3rdshiftcoder