Code::Blocks Forums

User forums => Help => Topic started by: AkiraDev on August 21, 2005, 01:04:56 pm

Title: CVS version compiles, but won't run
Post by: AkiraDev on August 21, 2005, 01:04:56 pm
Hello all, ever since I started to use wxWidgets 2.6.1 under Windows, I never managed to successfully run the CVS HEAD.

It will invariably crash on startup, with this error description:
AppName: codeblocks.exe    AppVer: 0.0.0.0    ModName: wxmsw26_gcc_cb.dll
ModVer: 2.6.1.0    Offset: 000604b7

I followed the instructions to compile exactly, and didn't forget to run update.bat.

I'm using MinGW 3.4.4, with Mingw32-make version 3.80.

The only change I made to the project was to ignore $(WX_DIR)\*$(WX_CFG) folders, since I don't use Unicode yet.
No matter how many times I clean/uninstall/reinstall wxWidgets, I keep getting the same end result.

Please help, it's becoming frustrating...  :(

Thank you for any suggestion
Title: Re: CVS version compiles, but won't run
Post by: tiwag on August 21, 2005, 01:44:34 pm
i didn't get any error's when building the cvs version
here are my batchfile to build wxWidgets and my used codeblocks project file to build C::B (cvs) with C::B (RC1)

the only source of errors a had sometimes, when i did build wxWidgets from the same directory where i had build another configuration of wxWidgets i.e. previous i built static libs, afterwards then shared libs.
sometimes the make <option> clean doesnt work as expected, which led me to the solution to unzip a virgin directory of wxWidgets, build the libs there and copy the lib\gcc_dll directory then to my working copy of wxWidgets and delete the build copy if everything works as expected.

[update]
i use the same gcc and make version as you
wxWidgets wxMSW2.6.1 and wxWidgets-2.6.1-Patch01

 $(WX_DIR)\*$(WX_CFG) folders is not only used for unicode builds,
it reflects the install directory and VENDOR option setting


[attachment deleted by admin]
Title: Re: CVS version compiles, but won't run
Post by: AkiraDev on August 21, 2005, 02:04:37 pm
Thank you for the quick response :)

Yes, my wxWidgets is also patched. I'll try your project file as soon as I can.
Title: Re: CVS version compiles, but won't run
Post by: AkiraDev on August 21, 2005, 02:32:17 pm
Hi again...

:( Exact same thing... I have no idea what could be wrong...
Title: Re: CVS version compiles, but won't run
Post by: tiwag on August 21, 2005, 02:42:05 pm
have you tried to rebuild wxWidgets from a fresh unzipped wx261 directory too ?
Title: Re: CVS version compiles, but won't run
Post by: AkiraDev on August 21, 2005, 02:59:23 pm
I made a clean "by hand" and am rebuilding wx right now.

If this doesn't work, I'll re-re-reinstall and try your project file again (you're using a few different flags, maybe it makes a difference).
Title: Re: CVS version compiles, but won't run
Post by: mandrav on August 21, 2005, 03:37:40 pm
Also, try running "codeblocks.exe --clear-configuration". There have been some cases where an unknown part of older configuration made C::B HEAD act wierd...

Yiannis.
Title: Re: CVS version compiles, but won't run
Post by: AkiraDev on August 21, 2005, 05:01:07 pm
OK, I recompiled wxWidgets, cleaned everything, and cleared the configuration, but it still crashed afterwards...
Title: Re: CVS version compiles, but won't run
Post by: rickg22 on August 21, 2005, 05:17:07 pm
CVS_HEAD is falling behind regarding stability.

Try branch VERSION_1_0 .
Title: Re: CVS version compiles, but won't run
Post by: mandrav on August 21, 2005, 05:21:57 pm
CVS_HEAD is falling behind regarding stability.

Try branch VERSION_1_0 .


True.
Strange as it sounds, VERSION_1_0 is more current than HEAD. That's why we 're gonna merge them...

Yiannis.