Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
HelloWorld Plugin on Ubuntu 11.04
oBFusCATed:
No there isn't :)
Some notes on the wiki and there is a sticky topic on the top of this subforum.
The directory you're looking for is ~/.codeblocks/share/...
Jenna:
Doing what Pecan told you as second possibility is the normal way:
--- Quote from: Pecan on May 28, 2011, 03:06:12 pm ---OR:
You can use Menu>Plugins>Manage plugins>Install new
then navigate to the .cbplugin file and click on it.
--- End quote ---
hibbity:
Okay thank you. Now I have:
~/.codeblocks/share/codeblocks/HelloWorld.zip
~/.codeblocks/share/codeblocks/plugins/HelloWorld.so
meaning the plugin has been installed in its expected location.
How can I make HelloWorld plugin show up in Menu-->Plugins list, or more importantly, make it visible in the Contrib widgets toolbar pallette?
hibbity:
Gave up on the HelloWorld plugin, at least for now.
Compiled wxthings (wxscustombutton)
/usr/bin/codeblocks --debug-log
-------------- Build: default in CustomButton ---------------
Compiling: wxscustombutton.cpp
Linking dynamic library: custombutton.so
Output size is 458.84 KB
Running target post-build steps
zip -j9 custombutton.zip manifest.xml
updating: manifest.xml (deflated 52%)
zip -j9 custombutton.cbplugin custombutton.so custombutton.zip
updating: custombutton.so
(deflated 68%)
updating: custombutton.zip
(deflated 12%)
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings
Then, with Menu-->Plugins-->Manage plugins-->Install new
installed the plugin. But with error message, see attached image file.
There were no command line messages printed to accompany this failed install.
So I don't know why it failed.
oBFusCATed:
Most of the time the library on linux should be called libsomething.so, so try to add the lib prefix to the name.
Also you can try to use the "-z defs" linker option.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version