Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: fenixk19 on July 23, 2008, 05:12:15 pm

Title: Missing symbols
Post by: fenixk19 on July 23, 2008, 05:12:15 pm
I can't install my fresh compiled plugin. Compiles ok, without any warnings. When I try to load, it tells error and writes to log console:

/home/fenixk19/.codeblocks/share/codeblocks/plugins/GetoptSimplifier.so: not loaded (missing symbols?)
Loaded 2 plugins

At first stages of development it installed ok. What happened?
Title: Re: Missing symbols
Post by: fenixk19 on July 23, 2008, 11:03:15 pm
wxWidgets && Codeblocks update didn't help
Title: Re: Missing symbols
Post by: Pecan on July 24, 2008, 12:21:55 am
http://forums.codeblocks.org/index.php/topic,6871.msg52796.html#msg52796
Title: Re: Missing symbols
Post by: fenixk19 on July 24, 2008, 01:00:05 am
Sorry, but i still don't understand what to do. I'm already using wxWidgets 2.8.8 and Codeblocks 5156, so it is not versioning problem.
Title: Re: Missing symbols
Post by: Pecan on July 24, 2008, 01:19:22 am
A missing symbol error may be caused by a missing linklib or the wrong library liinked with the plugin.

In order to find what the missing symbol is, it's necessary to re-compile CodeBlocks with the patch shown in the previous message.

wxWidgets will then issue a messageBox with the name of the missing symbol when the plugin is loaded by CodeBlocks.

Title: Re: Missing symbols
Post by: fenixk19 on July 24, 2008, 02:25:48 am
Thanx, it helped. Now i can see, what functions are missing. It would be great to make codeblocks determine this in usual build, or even on compile&link stage of making plugins. But it seems to be hard to make