Author Topic: Missing symbols  (Read 5327 times)

Offline fenixk19

  • Multiple posting newcomer
  • *
  • Posts: 15
Missing symbols
« 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?

Offline fenixk19

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Missing symbols
« Reply #1 on: July 23, 2008, 11:03:15 pm »
wxWidgets && Codeblocks update didn't help

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2774

Offline fenixk19

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Missing symbols
« Reply #3 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.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2774
Re: Missing symbols
« Reply #4 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.


Offline fenixk19

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Missing symbols
« Reply #5 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