Author Topic: Huge sized codeblocks.dll  (Read 24909 times)

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #15 on: September 16, 2011, 06:07:50 pm »
Yup it works except the qtworkbench plugin but that I know that is compiled before the cb API changed. I want to use the nightlies because I don't want to build the whole cb and plugins for myself every time a new nightly comes out. ;)

Error msg is 'One or more plugins were not loaded. This usually happens when a plugin is built for a different version of the Code::Blocks SDK. Check the application log for more info. List of failed plugins: AutoVersioning.dll'!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #16 on: September 16, 2011, 06:45:03 pm »
And what is written in the log? Its title is Code::Blocks (probably this should be modified)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #17 on: September 16, 2011, 06:54:30 pm »
Sry, where do I find the log?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #18 on: September 16, 2011, 06:56:00 pm »
In the log pane...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #19 on: September 16, 2011, 07:00:52 pm »
Sry again, I misunderstood. It says:
Code
Scanning for lexers in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in C:\GNU\CodeBlocks/share/codeblocks/lexers/...
Found 43 lexers
Loading lexer_A68k
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/plugins
SDK version mismatch for QtWorkbench (1.11.12). Expecting 1.12.6
Loaded 1 plugins
Scanning for plugins in C:\GNU\CodeBlocks/share/codeblocks/plugins
C:\GNU\CodeBlocks/share/codeblocks/plugins/AutoVersioning.dll: not loaded (missing symbols?)
SDK version mismatch for QtWorkbench (1.11.12). Expecting 1.12.6
Tools Plus Plugin: Registering shell type Piped Process Control
Loaded 48 plugins
Loading:
Abbreviations
AStylePlugin
Autosave
BrowseTracker
BYOGames
CB_Koders
Cccc
ClassWizard
CodeCompletion
CodeSnippets
CodeStat
Compiler
copystrings
CppCheck
Cscope
Debugger
FilesExtensionHandler
DevPakUpdater
cbDragScroll
EditorTweaks
EnvVars
Exporter
FileManager
HeaderFixup
HelpPlugin
HexEditor
IncrementalSearch
cbKeyBinder
lib_finder
MouseSap
NassiShneidermanPlugin
OpenFilesList
Profiler
ProjectsImporter
RegExTestbed
ReopenEditor
ScriptedWizard
SymTab
ThreadSearch
ToDoList
ToolsPlus
wxSmithMime
wxSmithAui
wxSmithContribItems
WindowsXPLookNFeel
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #20 on: September 16, 2011, 07:11:16 pm »
It looks pretty strange.
What happens if you copy the QtWorkbench plugin in you full cb build and try to start it.?
Do you see the same log/problem?

What happens if you remove the QtWorkbench plugin?

p.s. keep in mind that the api in the debugger's branch is changing with every nightly, so you won't be able to use old plugins. Why don't you try to build the QtWorkbench yourself?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #21 on: September 16, 2011, 08:08:07 pm »
That's the log when I copy the qtworkbench plugin to my custom cb build:
Code
Scanning for lexers in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in D:\Coding\Projects\codeblocks\branches\wxpropgrid_debugger\src\output/share/codeblocks/lexers/...
Found 43 lexers
Loading lexer_A68k
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/plugins
C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/plugins/QtWorkbench.dll: not loaded (missing symbols?)
Loaded 0 plugins
Scanning for plugins in D:\Coding\Projects\codeblocks\branches\wxpropgrid_debugger\src\output/share/codeblocks/plugins
D:\Coding\Projects\codeblocks\branches\wxpropgrid_debugger\src\output/share/codeblocks/plugins/QtWorkbench.dll: not loaded (missing symbols?)
Loaded 14 plugins
Loading:
Abbreviations
AStylePlugin
Autosave
AutoVersioning
ClassWizard
CodeCompletion
Compiler
Debugger
FilesExtensionHandler
OpenFilesList
ProjectsImporter
ScriptedWizard
ToDoList
WindowsXPLookNFeel
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
It gives the same version error. That's the log on 15 August nightly when I delete the 'qtworkbench.dll':
Code
Scanning for lexers in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in C:\GNU\CodeBlocks/share/codeblocks/lexers/...
Found 43 lexers
Loading lexer_A68k
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in C:\Users\scarphin\AppData\Roaming\CodeBlocks/share/codeblocks/plugins
SDK version mismatch for QtWorkbench (1.11.12). Expecting 1.12.6
Loaded 1 plugins
Scanning for plugins in C:\GNU\CodeBlocks/share/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
Loaded 48 plugins
Loading:
Abbreviations
AStylePlugin
Autosave
AutoVersioning
BrowseTracker
BYOGames
CB_Koders
Cccc
ClassWizard
CodeCompletion
CodeSnippets
CodeStat
Compiler
copystrings
CppCheck
Cscope
Debugger
FilesExtensionHandler
DevPakUpdater
cbDragScroll
EditorTweaks
EnvVars
Exporter
FileManager
HeaderFixup
HelpPlugin
HexEditor
IncrementalSearch
cbKeyBinder
lib_finder
MouseSap
NassiShneidermanPlugin
OpenFilesList
Profiler
ProjectsImporter
RegExTestbed
ReopenEditor
ScriptedWizard
SymTab
ThreadSearch
ToDoList
ToolsPlus
wxSmithMime
wxSmithAui
wxSmithContribItems
WindowsXPLookNFeel
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'

p.s. keep in mind that the api in the debugger's branch is changing with every nightly, so you won't be able to use old plugins. Why don't you try to build the QtWorkbench yourself?
I think there's a misunderstanding here, I don't care if the qtworkbench plugin works or not, what I'm after is the autoversioning plugin which I made a custom build and giving the 'missing symbols' error when I try to use it with the 15 August nightly. What does that 'missing symbols' mean?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #22 on: September 16, 2011, 08:43:29 pm »
It is just a guess, what the reason might be.
Looks like the autoversion plugin is loading when you remove the qtWorkbench, am I right?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #23 on: September 16, 2011, 08:54:46 pm »
It works on my custom build whether I remove qt plugin or not. I tried removing the qt plugin on the 15 August nightly and load my custom autoversioning build without success as always. It says:
Code
C:\GNU\CodeBlocks/share/codeblocks/plugins/AutoVersioning.dll: not loaded (missing symbols?)
I think it's related with the missing symbols message, maybe I'm doing something wrong during compilation.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #24 on: September 16, 2011, 09:10:19 pm »
Add -z defs to the linker options and if the compilation is successful, you can be sure that there are no missing/undefined symbols.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #25 on: September 17, 2011, 12:51:29 am »
That didn't work out too, I ran out of ideas. Thnx for the help.

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #26 on: September 17, 2011, 11:24:11 am »
Some more debugging, I defined the 'cb' variable as '\branches\wxpropgrid_debugger\src\sdk' in the global variables. Is that correct? Also there is a 'codeblocks' entry in the linked libraries under linker settings of the autoversioning plugin. From where can I see where this entry points to and where should it point to?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #27 on: September 17, 2011, 12:47:37 pm »
See the search paths...
The plugin should be setup for using the currently built codeblocks in ($svnroot)/src/devel ...

BTW: Why don't you provide a patch for the autoversion which could be committed in the svn?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 640
Re: Huge sized codeblocks.dll
« Reply #28 on: September 17, 2011, 03:23:42 pm »
See the search paths...
The plugin should be setup for using the currently built codeblocks in ($svnroot)/src/devel ...
So the 'codeblocks' entry in the linker settings of the plugin should point to my local 'branches/wxpropgrid_debugger/src/devel' folder? Where is it defined I can't find it?

BTW: Why don't you provide a patch for the autoversion which could be committed in the svn?
I already provided 2 but autoversioning seems abandoned. ;) It would be great if the first 1 is committed though. And the 2nd patch provides a better output format imo. They are attached to the autoversioning thread.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Huge sized codeblocks.dll
« Reply #29 on: September 17, 2011, 04:46:55 pm »
So the 'codeblocks' entry in the linker settings of the plugin should point to my local 'branches/wxpropgrid_debugger/src/devel' folder? Where is it defined I can't find it?
Yes, Have you tried "Project -> Build options -> src target -> Search dirs -> Linker"?

I already provided 2 but autoversioning seems abandoned. ;) It would be great if the first 1 is committed though. And the 2nd patch provides a better output format imo. They are attached to the autoversioning thread.
Post them on the berlios patch tracker. In the forum there is a chance to be forgotten.
Unfortunately, I don't use the autoversion plugin, so I can't review your patches.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]