Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
HelloWorld plugin problems installing
MortenMacFly:
--- Quote from: XayC on December 03, 2007, 05:16:53 pm ---you have to add VENDOR=cb to the makefile options.
--- End quote ---
You should *not* do that. This is deprecated and was the root of many issues. Just leave the vendor as it is (don't provide this for the compilation of wx).
XayC:
--- Quote from: MortenMacFly on December 03, 2007, 06:06:18 pm ---You should *not* do that. This is deprecated and was the root of many issues. Just leave the vendor as it is (don't provide this for the compilation of wx).
--- End quote ---
Ah, ok :oops: good to know.
So how can I build a plugin that will correctly load with a nightly build? And how is wxWidgets built to get the wxmsw28u_gcc_cb.dll file provided with the nightly builds?
Thanks, XayC.
dmoore:
--- Quote from: XayC on December 04, 2007, 05:20:07 pm ---So how can I build a plugin that will correctly load with a nightly build?
--- End quote ---
--- Quote from: dmoore on December 03, 2007, 01:39:40 am ---you need to make sure you link against the codeblocks.dll and wxmswXXXXX.dll in the nightly build and not against those in your compiled cb and wxwidgets sources.
--- End quote ---
you don't have to link against the .a files, you can link directly to the .dll files
--- Quote ---And how is wxWidgets built to get the wxmsw28u_gcc_cb.dll file provided with the nightly builds?
--- End quote ---
Correct me if I'm wrong, but I imagine they do use VENDOR=cb. The point is the C::B devs are the official vendor of that wx build. When you create your own build of wx it is not necessarily compatible with the cb build so you should not give them the same name. It is far easier to diagnose the error of someone trying to run a plugin compiled against one build of a library but run against another incompatible build of that library if they don't share the same name.
MortenMacFly:
--- Quote from: dmoore on December 04, 2007, 07:26:59 pm ---
--- Quote ---And how is wxWidgets built to get the wxmsw28u_gcc_cb.dll file provided with the nightly builds?
--- End quote ---
Correct me if I'm wrong, but I imagine they do use VENDOR=cb.
--- End quote ---
Partially. Killerbot does but he knows exactly what he is doing. I don't and I believe Yiannis and Thomas don't, too. If you compile wx for C::B only you *can* do this but you better shouldn't. Search the forum for more information on vendor=cb.
With regards, Morten.
mandrav:
--- Quote from: XayC on December 04, 2007, 05:20:07 pm ---So how can I build a plugin that will correctly load with a nightly build?
--- End quote ---
Link your plugin to the nightly's wxmsw28u_gcc_cb.dll...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version