Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
BETA - Image Editor plugin
oBFusCATed:
I've found that adding '-z defs' to the linking options of a plugin helps a lot in the debugging undefined references... 8)
Jenna:
What you can (and should do), if a plugin can not be loaded (or other problems occur), is to enable extra logging by setting the parameter of wxLog::EnableLogging at the beginning of OnInit in app.cpp to true.
MortenMacFly:
--- Quote from: oBFusCATed on July 15, 2010, 10:47:03 am ---I've found that adding '-z defs' to the linking options of a plugin helps a lot in the debugging undefined references... 8)
--- End quote ---
True. We should add this to EVERY plugin in fact (I've done this partially already some time back...)
seb_seb0:
Hello,
thank you for everybody who helped.
Jens: I have followed your advice, Code::Blocks is currently recompiling.
Morten & oBFusCATed : once I have a new code::blocks, I will recompile the plugin with this option "-z defs"
I will post the results here.
Sebastien
seb_seb0:
You rock !!!!!!!!!! :D :D :D :D :D :D :D :D :D :D :D
It works now !
I have applied the 2 tips above, and I got a message from Code::Blocks "OnDrawCanvasMouseLeave is not defined", or something like that.
I looked at the code, and I had a #if __WXMSW__ around this method.
Strangely, it was not compiled on Ubuntu.
Now everything is working. Just this simple thing !!
I will update the svn (using Windows, because I have added several files, and I do not want to forget them.
I have to reboot now.
Sebastien
PS : how do we do a screenshot in Ubuntu ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version