Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
CodeBlocks crashes after installing HelloWOrld Pluigin
threeS:
Good day!
After I checkout codeblocks from svn, I followed the instruction on building codeblocks on the BUILD txt file inside the svn folder. I also following the instruction of building the wxGTK on these site: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux.
And both of them working so well.
After that i followed these simple tutorial on HelloWorld Plugin
http://wiki.codeblocks.org/index.php?title=Creating_a_simple_%22Hello_World%22_plugin.,
I just copied everything on it to try if I can create a plugin on my codeblocks build.
After that I tried to install, it but something went wrong and make my build codeblocks crash. It makes my IDE looks not so good (see attachment image)., I tried to follow:
--- Quote ---oBFusCATed:
Try starting codeblocks with gdb or valgrind
--- End quote ---
from
http://forums.codeblocks.org/index.php?topic=13699.0;wap2 but it wont work.,
I tried to unistall and recompile codeblocks using:
--- Quote ---make uninstall
&
make clean
make distclean
make clean-bin
make clean-zipfiles
& recompile using the tutorial from BUILD txt
--- End quote ---
but it seems nothing changes.
Here's the error message when i run codeblocks using the terminal:
--- Quote ---(codeblocks:3222): GLib-GObject-WARNING **: cannot register existing type 'GtkPizza'
(codeblocks:3222): GLib-GObject-WARNING **: invalid cast from 'GtkPizza' to '<invalid>'
(codeblocks:3222): GLib-GObject-WARNING **: cannot register existing type 'GtkPizza'
(codeblocks:3222): GLib-GObject-WARNING **: invalid cast from 'GtkPizza' to '<invalid>'
(codeblocks:3222): GLib-GObject-WARNING **: cannot register existing type 'GtkPizza'
(codeblocks:3222): GLib-GObject-WARNING **: invalid cast from 'GtkPizza' to '<invalid>'
--- End quote ---
Anyone can help please?
Im using by the way Ubuntu 14.04, latest version of gcc and svn 9903 build.
MortenMacFly:
Did you run the update script?
threeS:
i run the update script
--- Quote ---$ ./update_revision.sh
Using 'svn --xml info' to get the revision
Found revision: '9903' '2014-09-02 05:50:58'
--- End quote ---
but still the same.
When i look into the codeblocks logs, i got something like these:
--- Quote ---...
Loading lexer_objc
Loading lexer_registry
Configured 0 tools
Scanning for plugins in /home/threes/.codeblocks/share/codeblocks/plugins
/home/threes/.codeblocks/share/codeblocks/plugins/SamplePlugin.so: not loaded (missing symbols?)
No plugin manifest file in resource: /home/threes/.codeblocks/share/codeblocks/testPlugin.zip
No plugin manifest file in resource: /home/threes/.codeblocks/share/codeblocks/SamplePlugin.zip
Loaded 1 plugins
Scanning for plugins in /usr/local/lib/codeblocks/plugins
No plugin manifest file in resource: /usr/local/share/codeblocks/wxsmith.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/ReopenEditor.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/scriptedwizard.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/IncrementalSearch.zip
...
--- End quote ---
Jenna:
--- Quote from: threeS on September 06, 2014, 07:37:24 pm ---i run the update script
--- Quote ---$ ./update_revision.sh
Using 'svn --xml info' to get the revision
Found revision: '9903' '2014-09-02 05:50:58'
--- End quote ---
but still the same.
When i look into the codeblocks logs, i got something like these:
--- Quote ---...
Loading lexer_objc
Loading lexer_registry
Configured 0 tools
Scanning for plugins in /home/threes/.codeblocks/share/codeblocks/plugins
/home/threes/.codeblocks/share/codeblocks/plugins/SamplePlugin.so: not loaded (missing symbols?)
No plugin manifest file in resource: /home/threes/.codeblocks/share/codeblocks/testPlugin.zip
No plugin manifest file in resource: /home/threes/.codeblocks/share/codeblocks/SamplePlugin.zip
Loaded 1 plugins
Scanning for plugins in /usr/local/lib/codeblocks/plugins
No plugin manifest file in resource: /usr/local/share/codeblocks/wxsmith.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/ReopenEditor.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/scriptedwizard.zip
No plugin manifest file in resource: /usr/local/share/codeblocks/IncrementalSearch.zip
...
--- End quote ---
--- End quote ---
That's not the correct update-script (it does what the name says, it updates the revision in some build-files, so the svn-revisoin is known in the build C::B).
Try running the script named update in the src-folder.
threeS:
Ah! sorry.,
--- Quote ---Try running the script named update in the src-folder.
--- End quote ---
i run the update and these are the results.
--- Quote ---threes@alyssa:~/codeblocks/src$ ./update
Updating Linux version.
Creating output directory tree
Compressing core UI resources
Compressing plugins UI resources
Packing core UI bitmaps
Packing plugins UI bitmaps
Copying files
cp: cannot stat ‘devel/codeblocks’: No such file or directory
cp: cannot stat ‘devel/*.so’: No such file or directory
cp: cannot stat ‘devel/share/codeblocks/plugins/*.so’: No such file or directory
Stripping debug info from output tree
strip: 'output/codeblocks': No such file
strip: 'output/*.so': No such file
strip: 'output/share/codeblocks/plugins/*.so': No such file
Creating launch-scripts
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version