Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: LonelySTar on September 22, 2007, 12:58:36 pm

Title: Inavlid Manifest on my plugin
Post by: LonelySTar on September 22, 2007, 12:58:36 pm
Hello,

I am trying around with developing a plugin.
I compile the plugin - compiles fine.
I try to install it:
ERROR: Invalid manifest file for: K

K is only the first letter of my plugin.
I did not make any changes to manifest.xml.

Any Ideas?
Thanks!
Nathan
Title: Re: Inavlid Manifest on my plugin
Post by: mandrav on September 22, 2007, 01:57:52 pm
Without more info it is hard for us to tell anything...
Title: Re: Inavlid Manifest on my plugin
Post by: LonelySTar on September 22, 2007, 02:15:03 pm
This is how I reproduce the error:

- Start C::B (no projects open)
- Make new project (Code::Blocks plugin)
- Options: Plugin Type=tool, provides no configuration dialog, wxWidgets 2.8, GNU Gcc Compiler
- Build the plugin: here I get an error:
usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: .objs/Test.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
.objs/Test.o: could not read symbols: Bad value
- Add -fPIC to Compiler Settings/Other options
- Rebuild
- Install plugin via "Manage Plugins" - "Install new"
- The log says:
[14:13:33.997]: ERROR: Invalid manifest file for: T
[14:13:33.999]: Failed

I have:
- C::B svn 4484
- wxGTK 2.8.5

Both installed manually on a gentoo system.

Thanks,
Nathan