User forums > Help

CodeBlocks freezes during startup.

(1/5) > >>

adorlith:
  I got a strange thing this morning. I start CodeBlocks, it shows the splash screen, ask to choose the default compiler and freezes in minimized state :( . When I click on the taskbar it doesn't maximize. So I used the task managerto maximized it, and I see that it loaded the last project (CodeBlocks-wx2.6.0.cbp) - RC2, but everything is freezed.
  I'm still able to start CodeBlocks using the official binary package(RC1-1) downloaded from SourceForge, but it doesn't load any project.
Where is stored the last project that should be loaded at startup ?

OS: WinXP

Note: I'm talking about CodeBlocks RC2 compiled with wxWidgets 2.6.1.

tiwag:

--- Quote from: adorlith on October 10, 2005, 05:12:01 pm ---...  I'm still able to start CodeBlocks using the official binary package(RC1-1) downloaded from SourceForge, but it doesn't load any project.

--- End quote ---
there was a change in the project file (*.cbp) format
notice the "::" between "Code" and "Blocks"

CodeBlocks RC1 *.cbp format

--- Code: ---<?xml version="1.0"?>
<!DOCTYPE Code::Blocks_project_file>
<Code::Blocks_project_file>
    ...
</Code::Blocks_project_file>
--- End code ---


CodeBlocks actual CVS version *.cbp format

--- Code: ---<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
    ...
</CodeBlocks_project_file>
--- End code ---


if you open an old (<=RC1) project file with a new (CVS) version of Codeblocks,
then the project file is updated to the new format
and the old (<=RC1) Codeblocks cannot read the new project file format.

if you want to open this project with CB-RC1, you have to edit the project file by hand

replace

--- Code: ---CodeBlocks_project_file
--- End code ---
with

--- Code: ---Code::Blocks_project_file
--- End code ---

tiwag:

--- Quote from: adorlith on October 10, 2005, 05:12:01 pm ---...Note: I'm talking about CodeBlocks RC2 compiled with wxWidgets 2.6.1.

--- End quote ---

btw: i'm using the same wxWidgets version as you and never had a freeze  :?
strange - but i have read elsewhere from that freezing too

you could try to start CodeBlocks (RC2) with the following commandline:


--- Code: ---<Path_to_Codeblocks>\codeblocks --clear-configuration
--- End code ---

and look, if you get the freeze afterwards too.

adorlith:
Is not that the problem. I'm using CB RC2 and the project file I used last time is CodeBlocks-wx2.6.0.cbp from the RC2, so there's no incompatibility.
 I renamed the project so CB cannot find it, but it still freezes. I maximize it using the task manager and I see it shows the start page. The last message is:
"Found 9 plugins: AStylePlugin..... WindowsXPLookNFeel"
 Should be any other messages written following this one during a normal startup ? A never paid attention to the startup messages.

adorlith:

--- Quote from: tiwag on October 10, 2005, 05:42:17 pm ---
--- Quote from: adorlith on October 10, 2005, 05:12:01 pm ---...Note: I'm talking about CodeBlocks RC2 compiled with wxWidgets 2.6.1.

--- End quote ---

btw: i'm using the same wxWidgets version as you and never had a freeze  :?
strange - but i have read elsewhere from that freezing too

you could try to start CodeBlocks (RC2) with the following commandline:


--- Code: ---<Path_to_Codeblocks>\codeblocks --clear-configuration
--- End code ---

and look, if you get the freeze afterwards too.


--- End quote ---

I cleared the config but it still freezes showing the Start here page.

Everything went ok the previous days, I compiled some wxWidgets test app. Strange :(

Navigation

[0] Message Index

[#] Next page

Go to full version