Author Topic: How correctly upgrade CB with nightly builds ?  (Read 6764 times)

kiril_k

  • Guest
How correctly upgrade CB with nightly builds ?
« on: March 14, 2006, 04:04:18 pm »
Hello!
1) I've installed Code::Blocks on WinXP ( downloaded here: http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download  )
2) I've compiled wxWidgets-2.6.2, so I have wxmsw26_gcc_custom.dll in the C:\wxWidgets-2.6.2\lib\gcc_dll\ folder.

Code::Blocks works fine but when I try to update it with nightly builds a problem appears:
Editor's area is not loaded (gray) and when i try to open any file for editing nothing happenes.

I try to update CB in the next way:
1) download
CB_20060309_rev2164_win32.7z
wxmsw26u_gcc_cb.7z
2) overwrite CB files with archives contents.

What I'm doing wrong ?

Thanks a lot in advance.

CB debug log:
Quote
Loading lexer_angelscript.xml
Loading lexer_batch.xml
Loading lexer_cg.xml
Loading lexer_cpp.xml
Loading lexer_css.xml
Loading lexer_d.xml
Loading lexer_diff.xml
Loading lexer_f77.xml
Loading lexer_glsl.xml
Loading lexer_gm.xml
Loading lexer_hitasm.xml
Loading lexer_lua.xml
Loading lexer_masm.xml
Loading lexer_matlab.xml
Loading lexer_nsis.xml
Loading lexer_OgreMaterial.xml
Loading lexer_prg.xml
Loading lexer_python.xml
Loading lexer_rc.xml
Loading lexer_xml.xml
[18:10:19.858]: Loading toolbar...
[18:10:20.045]: AStylePlugin: loaded
[18:10:20.108]: CBProfiler: loaded
[18:10:20.170]: ClassWizard: loaded
[18:10:20.170]: Concurrent threads for pool set to 1
[18:10:20.279]: CodeCompletion: loaded
[18:10:20.342]: CodeStatistics: loaded
[18:10:20.420]: Added compiler "GNU GCC Compiler"
[18:10:20.420]: Added compiler "Microsoft Visual C++ Toolkit 2003"
[18:10:20.420]: Added compiler "Borland C++ Compiler 5.5"
[18:10:20.420]: Added compiler "Digital Mars Compiler"
[18:10:20.420]: Added compiler "OpenWatcom (W32) Compiler"
[18:10:20.436]: Added compiler "Intel C/C++ Compiler"
[18:10:20.436]: Added compiler "SDCC Compiler"
[18:10:20.436]: Added compiler "GNU GDC Compiler"
[18:10:20.436]: Added compiler "Digital Mars D Compiler"
[18:10:20.436]: Added compiler "GNU ARM GCC Compiler"
[18:10:20.436]: Compiler: loaded
[18:10:20.436]: copystrings: loaded
[18:10:20.561]: Debugger: loaded
[18:10:20.639]: FilesExtensionHandler: loaded
[18:10:20.717]: DevPakUpdater: loaded
[18:10:20.717]: DragScroll: loaded
[18:10:20.717]: Source Exporter: loaded
[18:10:20.779]: HelpPlugin: loaded
[18:10:20.795]: cbKeyBinder: loaded
[18:10:20.889]: PluginWizard: loaded
[18:10:20.983]: ToDoList: loaded
[18:10:20.983]: wxSmith: loaded
[18:10:20.983]: wxSmithMime: loaded
[18:10:20.983]: wxSmithWizard: loaded
[18:10:20.998]: WindowsXPLookNFeel: loaded
[18:10:20.998]: Source code formatter (AStyle) plugin loaded
[18:10:20.998]: Code profiler plugin loaded
[18:10:20.998]: Class wizard plugin loaded
[18:10:21.014]: Code completion plugin loaded
[18:10:21.014]: Code Statistics plugin loaded
[18:10:21.264]: Compiler plugin loaded
[18:10:21.264]: Copy Strings to clipboard plugin loaded
[18:10:21.733]: Debugger plugin loaded
[18:10:21.733]: Files extension handler plugin loaded
[18:10:21.748]: Dev-C++ DevPak updater/installer plugin loaded
[18:10:21.748]: DragScroll plugin loaded
[18:10:21.748]: Source Exporter plugin loaded
[18:10:21.748]: Help plugin plugin loaded
[18:10:21.748]: Keyboard shortcuts configuration plugin loaded
[18:10:21.748]: Plugin wizard plugin loaded
[18:10:21.779]: To-Do List plugin loaded
[18:10:21.983]: wxSmith plugin loaded
[18:10:21.983]: wxSmith - MIME plugin plugin loaded
[18:10:21.983]: wxSmith - Project Wizard plugin plugin loaded
[18:10:22.108]: Initializing plugins...
[18:10:22.154]: Running startup script
« Last Edit: March 15, 2006, 11:01:36 am by kiril_k »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: How correctly upgrade CB with nightly builds ?
« Reply #1 on: March 14, 2006, 04:10:20 pm »
What I'm doing wrong ?

Quote
2) overwrite CB files with archives contents.

The nightly builds are self-sufficient, and unzipping them on top of RC2 is just asking for config and version trouble. You won't be able to save any config when upgrading from RC2 in any case, so you should either totally clean out the CB directory before extracting, or extract the nightly (and DLL) to a new directory.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

kiril_k

  • Guest
Re: How correctly upgrade CB with nightly builds ?
« Reply #2 on: March 14, 2006, 04:38:30 pm »
Quote
...., or extract the nightly (and DLL) to a new directory.
Did so, and have the same problem. Editor's area is not loaded (gray).
Any hints ?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: How correctly upgrade CB with nightly builds ?
« Reply #3 on: March 14, 2006, 04:52:21 pm »
I assume that this is not because you have no project and no file open and disabled the "start here" page (if that's the case, then it is quite normal that there is no editor).

Can you enable the application's debug log and post here? Maybe there's some useful information.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

kiril_k

  • Guest
Re: How correctly upgrade CB with nightly builds ?
« Reply #4 on: March 14, 2006, 04:59:38 pm »
Quote
I assume that this is not because you have no project and no file open and disabled the "start here" page (if that's the case, then it is quite normal that there is no editor).
I open a project/files (Project-> OpenProject / File->Open), nothing happenes.

Quote
Can you enable the application's debug log and post here? Maybe there's some useful information.
Sorry, how can I enable the application's debug log ?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: How correctly upgrade CB with nightly builds ?
« Reply #5 on: March 14, 2006, 05:05:12 pm »
Right-click on any of the tabs in the message dock window (on bottom) and select it from the "Show/Hide" submenu.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

kiril_k

  • Guest
Re: How correctly upgrade CB with nightly builds ?
« Reply #6 on: March 14, 2006, 05:12:36 pm »
Loading lexer_angelscript.xml
Loading lexer_batch.xml
Loading lexer_cg.xml
Loading lexer_cpp.xml
Loading lexer_css.xml
Loading lexer_d.xml
Loading lexer_diff.xml
Loading lexer_f77.xml
Loading lexer_glsl.xml
Loading lexer_gm.xml
Loading lexer_hitasm.xml
Loading lexer_lua.xml
Loading lexer_masm.xml
Loading lexer_matlab.xml
Loading lexer_nsis.xml
Loading lexer_OgreMaterial.xml
Loading lexer_prg.xml
Loading lexer_python.xml
Loading lexer_rc.xml
Loading lexer_xml.xml
[18:10:19.858]: Loading toolbar...
[18:10:20.045]: AStylePlugin: loaded
[18:10:20.108]: CBProfiler: loaded
[18:10:20.170]: ClassWizard: loaded
[18:10:20.170]: Concurrent threads for pool set to 1
[18:10:20.279]: CodeCompletion: loaded
[18:10:20.342]: CodeStatistics: loaded
[18:10:20.420]: Added compiler "GNU GCC Compiler"
[18:10:20.420]: Added compiler "Microsoft Visual C++ Toolkit 2003"
[18:10:20.420]: Added compiler "Borland C++ Compiler 5.5"
[18:10:20.420]: Added compiler "Digital Mars Compiler"
[18:10:20.420]: Added compiler "OpenWatcom (W32) Compiler"
[18:10:20.436]: Added compiler "Intel C/C++ Compiler"
[18:10:20.436]: Added compiler "SDCC Compiler"
[18:10:20.436]: Added compiler "GNU GDC Compiler"
[18:10:20.436]: Added compiler "Digital Mars D Compiler"
[18:10:20.436]: Added compiler "GNU ARM GCC Compiler"
[18:10:20.436]: Compiler: loaded
[18:10:20.436]: copystrings: loaded
[18:10:20.561]: Debugger: loaded
[18:10:20.639]: FilesExtensionHandler: loaded
[18:10:20.717]: DevPakUpdater: loaded
[18:10:20.717]: DragScroll: loaded
[18:10:20.717]: Source Exporter: loaded
[18:10:20.779]: HelpPlugin: loaded
[18:10:20.795]: cbKeyBinder: loaded
[18:10:20.889]: PluginWizard: loaded
[18:10:20.983]: ToDoList: loaded
[18:10:20.983]: wxSmith: loaded
[18:10:20.983]: wxSmithMime: loaded
[18:10:20.983]: wxSmithWizard: loaded
[18:10:20.998]: WindowsXPLookNFeel: loaded
[18:10:20.998]: Source code formatter (AStyle) plugin loaded
[18:10:20.998]: Code profiler plugin loaded
[18:10:20.998]: Class wizard plugin loaded
[18:10:21.014]: Code completion plugin loaded
[18:10:21.014]: Code Statistics plugin loaded
[18:10:21.264]: Compiler plugin loaded
[18:10:21.264]: Copy Strings to clipboard plugin loaded
[18:10:21.733]: Debugger plugin loaded
[18:10:21.733]: Files extension handler plugin loaded
[18:10:21.748]: Dev-C++ DevPak updater/installer plugin loaded
[18:10:21.748]: DragScroll plugin loaded
[18:10:21.748]: Source Exporter plugin loaded
[18:10:21.748]: Help plugin plugin loaded
[18:10:21.748]: Keyboard shortcuts configuration plugin loaded
[18:10:21.748]: Plugin wizard plugin loaded
[18:10:21.779]: To-Do List plugin loaded
[18:10:21.983]: wxSmith plugin loaded
[18:10:21.983]: wxSmith - MIME plugin plugin loaded
[18:10:21.983]: wxSmith - Project Wizard plugin plugin loaded
[18:10:22.108]: Initializing plugins...
[18:10:22.154]: Running startup script

kiril_k

  • Guest
Re: How correctly upgrade CB with nightly builds ?
« Reply #7 on: March 16, 2006, 03:49:44 pm »
Here is solution:
I cleaned C:\Documents and Settings\Cyril\Application Data\codeblocks\ folder.