Author Topic: How to install plugin??  (Read 4532 times)

coding

  • Guest
How to install plugin??
« on: April 02, 2008, 08:41:29 am »
hi all.
i'v installed wxGTK & codeblocks under Linux(FC7), and i want to install wxSmith.
i found the source at ....../codeblocks-8.02/src/plugins/contrib/wxSmith
but how to install it ?

thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to install plugin??
« Reply #1 on: April 02, 2008, 10:22:17 am »
I'm not a fedora-user, but there should be a codeblocks-contrib rpm, which includes wxSmith.

Works only if installed from rpm, if it is selfcompiled you have to run ./configure with --with-contrib-plugins=all to build all plugins (they can be disabled one by one in the plugins menu).

Offline Ecologisto

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to install plugin??
« Reply #2 on: April 04, 2008, 02:29:21 pm »
Hi,

I did
./configure --with-contrib-plugins=all
make
make install

but even though I can't see the plugins from contrib in the plugin manager.

How can I manually add them, without recompiling the whole codeblocks soft ?

Thanks

barth

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to install plugin??
« Reply #3 on: April 04, 2008, 02:45:40 pm »
How did you install C::B ?
If it's from source you should recompile it with plugins enabled and with the correct prefix (the same you used before, see "./configure --help" for possible parameters).
If you installed a rpm install the appropriate codeblocks-contrib rpm (that should place all files in the right directories).

To avoid possible trouble you should not mix C::B and (contrib-)plugins compiled with different compilers and/or libs.
This can work, but it can also break your C::B installation.

Offline Ecologisto

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to install plugin??
« Reply #4 on: April 04, 2008, 03:00:03 pm »
I installed from source.
When I recompiled, I did it with plugins enabled and with the default prefix (like first time).

I will try later to do it again, just to be sure that I didn't do something wrong.

Thanks for your help

barth

Offline Ecologisto

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to install plugin??
« Reply #5 on: April 07, 2008, 11:52:43 am »
For your information I finally succeeded in having all the plugins by doing :
./configure --enable-contrib --with-contrib-plugins=all

In fact I even had to explicitely exclude wxsmith which didn't compile :
./configure --enable-contrib --with-contrib-plugins=AutoVersioning,BrowseTracker,byogames,cbkoders,codesnippets,codestat,dragscroll,envvars,help,keybinder,libfinder,profiler,regex,exporter,symtab

Hope it can help others.

barth