Great. Thanks.
one final question, since i never build CB before. When building the SVN/GIT sources, will I end up with all plugins?
I am asking because when installing from the PPAs I first installed
sudo apt install codeblocks
Then I was surprised to see the IDE pretty lean. It was missing all plugins including Thread Search and wxSmith. After using
sudo apt install codeblocks codeblocks-contrib codeblocks-wxcontrib-dev
I got the full IDE. Then saw the repo had a lot more packages like codeblocks-common, wxsmith, some xxx-headers and other xxx-devs. They seem to be sensivite to the version - I got in apt mixup trouble between two 16.01 builds.
you can try this instruction:
https://github.com/bluehazzard/codeblocks_sf/wiki/build_linux_mint_18
WARNING: this will build codeblocks with wx30
i do not know how to switch to wx2.8 if you have installed wx30 and wx28 with ./configure
to answer your question, you have to add --with-contrib-plugins=all
to your configure line
please report if it worked...
[Edit:] i updated with a section to build with wx2.8
Thanks for the update of that section.
I got errors on ./bootstrap
configure.ac warning: macro 'AM_OPTIONS_WXCONFIG' not found in library
configure.ac warning: macro 'AM_PATH_WXCONFIG' not found in library
..
configure.ac error: possible undefinded macro: AM_PATH_WXCONFIG
Does that ring any bells?
EDIT: I am using the trunc tarball from sourceforge
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux)
Edit2: The above links gives two fixes; I normally do this one on Debian.
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
I have tested this on a fresh xubuntu installation. I did not had this error, but i installed wxWidgets first from the official ubuntu repo. Maybe that made a difference... If you find a working fix, please let me know
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux)
Edit2: The above links gives two fixes; I normally do this one on Debian.
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
I am not sure if this works, because wx-config can probably not be found if you use the --with-wx-config configure option later and don't use a "installed" wxWidgets installation. You probably have to use the full path to your temporary wxWidgets installation...
so something like this
export ACLOCAL_FLAGS="-I /home/USERNAME/wxWidgets/install/share/aclocal"
if you have used --prefix=/home/USERNAME/wxWidgets/install
at the configuration process of wxWidgets