Code::Blocks Forums

User forums => Help => Topic started by: Pix3l on October 23, 2006, 05:13:08 pm

Title: Xchat windows plugin
Post by: Pix3l on October 23, 2006, 05:13:08 pm
I have a problem compiling an xchat plugin, i create the DLL project and add the files (xchat-plugin.h, myplugin.c).

When i compile it i have no problem but when i try to load it in xchat i get this message :

 No xchat_plugin_init symbol; Are you sure that are really an xchat plugin?
 (or something like this, because i translate this message from italian)

I read the doc for make plugin in C at the xchat official site (http://www.xchat.org/docs/plugin20.html) and i compile the example but it doesn't work correctly!

Please are there someone can help me on make an xchat plugin (it's a dll).
Title: Re: Xchat windows plugin
Post by: MortenMacFly on October 23, 2006, 05:20:51 pm
I read the doc for make plugin in C at the xchat official site (http://www.xchat.org/docs/plugin20.html) and i compile the example but it doesn't work correctly!
I fail to see how this is related to C::B at all. You'd better ask the XChat guys... don't you?!
With regards, Morten.
Title: Re: Xchat windows plugin
Post by: Pix3l on October 23, 2006, 07:41:39 pm
The only thing i can ask to xchat guy is how to make a plugin, but him can't help me on how to compile it with code::blocks!

The only thing i need to know is how i can compile a DLL (plugin for xchat) with code::blocks and maybe how to link a def file for it!

I try to compile the a plugin with Dev-Cpp without success and with code::blocks too!

Maybe are there a bug in the compiler or in the code::blocks envirioment?
Title: Re: Xchat windows plugin
Post by: David Perfors on October 23, 2006, 07:54:39 pm
Compiling a DLL could be done by making a new DLL (Dynamic Link Library) project. How you can link a def file I don't know...
Title: Re: Xchat windows plugin
Post by: mandrav on October 23, 2006, 08:36:41 pm
I try to compile the a plugin with Dev-Cpp without success and with code::blocks too!

Maybe are there a bug in the compiler or in the code::blocks envirioment?

Yes, you can't compile it anywhere and it's a C::B bug. Right...
Title: Re: Xchat windows plugin
Post by: Pix3l on October 23, 2006, 08:42:34 pm
ok thanks for the reply!

I try to compile the plugin with other compiler and let you know if they have success!