Author Topic: CVS version compiles, but won't run  (Read 8233 times)

Offline AkiraDev

  • Multiple posting newcomer
  • *
  • Posts: 71
CVS version compiles, but won't run
« 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

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: CVS version compiles, but won't run
« Reply #1 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]
« Last Edit: August 21, 2005, 01:49:45 pm by tiwag »

Offline AkiraDev

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: CVS version compiles, but won't run
« Reply #2 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.

Offline AkiraDev

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: CVS version compiles, but won't run
« Reply #3 on: August 21, 2005, 02:32:17 pm »
Hi again...

:( Exact same thing... I have no idea what could be wrong...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: CVS version compiles, but won't run
« Reply #4 on: August 21, 2005, 02:42:05 pm »
have you tried to rebuild wxWidgets from a fresh unzipped wx261 directory too ?

Offline AkiraDev

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: CVS version compiles, but won't run
« Reply #5 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).

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CVS version compiles, but won't run
« Reply #6 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.
Be patient!
This bug will be fixed soon...

Offline AkiraDev

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: CVS version compiles, but won't run
« Reply #7 on: August 21, 2005, 05:01:07 pm »
OK, I recompiled wxWidgets, cleaned everything, and cleared the configuration, but it still crashed afterwards...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CVS version compiles, but won't run
« Reply #8 on: August 21, 2005, 05:17:07 pm »
CVS_HEAD is falling behind regarding stability.

Try branch VERSION_1_0 .

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CVS version compiles, but won't run
« Reply #9 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.
Be patient!
This bug will be fixed soon...