I would still put my money on an Compiler Configuration/Installation type problem.
The things I do to keep my Compilers working right.
The ONLY Compilers I keep to the Windows System Path is MS Visual Studio.
All others, I remove them from the PATH Environmental Variable.
NOTE, I also remove Cygwin from PATH Environmental Variable.
I then test the above using which/where cmd commands.
http://gnuwin32.sourceforge.net/packages/which.htm
which mingwm10.dll
which gcc.exe
which g++.exe
which codeblocks.dll
which wxmsw28u_gcc_cb.dll
The above should then find no (one at most) copies of the dll/exe (except in current folder).
Note, getting only one result for each of the above would be OK along as they are only the ones used by your Code::Blocks installation.
Tim S.
Thanks for the replies!
I tried out your suggestions, but have not gotten it to work yet.
I first built the sample c::b wxwidgets project with the new wxwidgets (2.8.10), using my old codeblocks.exe. Worked like a charm.
I tried running 'which', found 0 or 1 versions of the dlls you suggested:
which mingwm10.dll
> c:\c++\mingw\bin\mingwm10.dll
which gcc.exe
> c:\c++\mingw\bin\gcc.exe
which g++.exe
> c:\c++\mingw\bin\g++.exe
which codeblocks.dll
(not found)
which wxmsw28u_gcc_cb.dll
(not found)
I have a codeblocks.dll in both the old and new codeblocks folder, but not in the path.
My wxwidgets dll is called wxmsw28u_gcc_custom.dll, not wxmsw28_gcc_cb.dll.
Though I do have MSYS and Cygwin, they are not in my PATH or Path.
I tried running dependency walker, and that complains it cannot find 'ieshims.dll" and "wer.dll", and that "mpr.dll" has a problem. However, I get that same message when i run dependency walker on my working cb. Anyway, these are delay-loaded, so I guess they should not cause startup crash?
Any ideas for how to proceed?
I just compiled the Code::Blocks SVN using MinGW GCC 3.4.5 and wx 2.8.10
I did not do the Contrib Plugins.
Edit 1:I just used this build of Code::Blocks to build all of Code::Blocks including Contribs.
Edit 1:I saw no problem.
svn build rev 6187 (2010-03-07T21:51:38.234863Z) gcc 3.4.5 Windows/unicode - 32 bit
Compiler used
gcc version 3.4.5 (mingw-vista special r3)
Tim S.