Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
How to build the wxsmith's plugin in the linux?
Jenna:
If you run "./configure --with-contrib-plugins=wxsmith" (I recommend to build all contrib-plugins) and then do a "make" and "make install", wxsmith is build and installed automatically.
You don't have to build wxsmith explicitely.
To test your configuration, you can use "--prefix="" to create a codeblocks directory-tree to test it and avoid conflicts with an older installation.
In "<codeblocks_test_dir>" you can type "bin/codeblocks" to start C::B with the newly build libs and plugins.
wmaxfield:
THANKS!!
I did a make clean, and then a make and a make install after the configuration. That fixed the problem. wxsmith is indeed included. I'm assuming that since I didn't do a make clean before and that is what confused the build process.
Still, loading wxsmith-unix.cbp in C::B does not build. It cannot find -ltxml during the
Linking dynamic library: ../../../devel/share/codeblocks/plugins/libwxsmith.so
step.
Do anyone know how to fix that problem?
Jenna:
Its the tinyXML-library.
You can get it when you build "CodeBlocks-unix.cbp" at first.
It should be in the right-place to be found by "wxsmith-unix.cbp" then.
wmaxfield:
Thanks! That appeared to work. It only compiles one file, though, even after a clean (wxsmithpluginregistrants.cpp)
However, it at least builds part of the project for now without error.
Navigation
[0] Message Index
[*] Previous page
Go to full version