Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Installing Plugin fails

(1/2) > >>

rpirpag:
Hello,

I try to install the HelloWorld Plugin from the Wiki into C::B, but it fails with the error:
c:\codeblocks/share/codeblocks/plugins/HelloWorld.dll: not loaded (missing symbols?)

I downloaded C::B source and compiled it with C::B 10.05 to get the libraries needed.
wxWidget is is version 2.8 from wxPack_v2.8.8.04.
I searched the Wiki and Web, but did not found anything.

What do I wrong?

Thank you,
Reinhard

ollydbg:
How did you do this?

--- Quote ---c:\codeblocks/share/codeblocks/plugins/HelloWorld.dll: not loaded (missing symbols?)
--- End quote ---
where does this message log output?

Codeblocks' source code contains many plugins, so I think you can just look at one plugin.
cb_trunk\src\plugins
and contributed plugins were in:
cb_trunk\src\plugins\contrib

rpirpag:

--- Quote from: ollydbg on April 06, 2011, 03:08:31 pm ---How did you do this?

--- Quote ---c:\codeblocks/share/codeblocks/plugins/HelloWorld.dll: not loaded (missing symbols?)
--- End quote ---
where does this message log output?


--- End quote ---

it is shown in the Code::Blocks log in the IDE.

Jenna:
The plugin can not be run with C::B 10.05, if it is compiled with source from trunk.

If you try to use it from the trunk sources and it still fails, you can change

--- Quote ---    wxLog::EnableLogging(false);

--- End quote ---
to

--- Quote ---     wxLog::EnableLogging(true);

--- End quote ---
at the beginning of OnInit() in src/app.cpp to get a more meaningful output.

rpirpag:

--- Quote from: jens on April 06, 2011, 03:56:08 pm ---The plugin can not be run with C::B 10.05, if it is compiled with source from trunk.

If you try to use it from the trunk sources and it still fails, you can change

--- Quote ---    wxLog::EnableLogging(false);

--- End quote ---
to

--- Quote ---     wxLog::EnableLogging(true);

--- End quote ---
at the beginning of OnInit() in src/app.cpp to get a more meaningful output.

--- End quote ---

I am right that I have to compile downloaded C::B source first and use this to compile the plugins?

Thank you,
Reinhard

Navigation

[0] Message Index

[#] Next page

Go to full version