Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
The first plugin I written : "AutoReadonly"
XayC:
This is probably because you linked the plug-in with a wxWidgets DLL built by yourself. When you install the plug-in with a nightly build or an official release of C:B it won't work.
If this is the case just link the plug-in with the wxWidgets DLL provided with the nightly (or the release). You can do that adding the DLL in the list of libraries for LD linker.
Also check that you are building the plug-in with the same SDK version used by the C:B you are then testing it with.
Regards, XayC
nanyu:
--- Quote from: XayC on February 04, 2009, 09:19:51 pm ---This is probably because you linked the plug-in with a wxWidgets DLL built by yourself. When you install the plug-in with a nightly build or an official release of C:B it won't work.
If this is the case just link the plug-in with the wxWidgets DLL provided with the nightly (or the release). You can do that adding the DLL in the list of libraries for LD linker.
Also check that you are building the plug-in with the same SDK version used by the C:B you are then testing it with.
Regards, XayC
--- End quote ---
thank you . the dll files what you mean is :
wxmsw28u_gcc_cb.dll
wxmsw28u_media_gcc_custom.dll
where in the CodeBlocks folder?
stahta01:
--- Quote from: nanyu on February 05, 2009, 03:00:19 am ---thank you . the dll files what you mean is :
wxmsw28u_gcc_cb.dll
wxmsw28u_media_gcc_custom.dll
where in the CodeBlocks folder?
--- End quote ---
for wxmsw28u_gcc_cb.dll see
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build
dmoore:
Nanyu: attached is a linux project file. your code compiles and loads fine on my ubuntu machine. Setting an open file to read-only seemed to do the right thing. I haven't really had time to test it beyond that.
--- Quote from: stahta01 on February 06, 2009, 03:34:05 am ---
--- Quote from: nanyu on February 05, 2009, 03:00:19 am ---thank you . the dll files what you mean is :
wxmsw28u_gcc_cb.dll
wxmsw28u_media_gcc_custom.dll
where in the CodeBlocks folder?
--- End quote ---
for wxmsw28u_gcc_cb.dll see
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build
--- End quote ---
I recommend setting up a new target, say "nightly", the uses a global variable pointing to the location of the dll's. that'll save some messing around when you want to create different builds.
[attachment deleted by admin]
nanyu:
to dmoore: thanks!
------------------------------
I got it!
Navigation
[0] Message Index
[*] Previous page
Go to full version