nullclient problems with MSVC

View: New views
3 Messages — Rating Filter:   Alert me  

nullclient problems with MSVC

by Philip Kucheev :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message



i ,I have some problems with nullclient on  MSVC .
I built pidgin with CygWin like instructions on http://developer.pidgin.im/wiki/BuildingWinPidgin
When I created  a MSVC app and  included nullclient.c and defines.h
After that I built libpurple.lib  by lib.exe and files libpurple.dll and libpurple.def
And included to linker .
There are some errors after compilation .
 1) signal(SIGCHLD, SIG_IGN)   error C2065: 'SIGCHLD' : undeclared identifier
    I replaced for signal(SIGINT,SIG_IGN),but i dont know is it right
        How to solve this?SIGCHLD is not defined for Win
 2) I replaced function getpass() by it is not critical

Then app was run but some protocols was not available like xmpp and icq. After debuging i found xmpp.dll
and icq .dll unloading immediately after loading. Why??
After signing nullclient app stop and do nothing
What do you think  about this ??


_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

Re: nullclient problems with MSVC

by datallah :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

2009/7/8 Филипп Кучеев <kphilip@...>:

>
>
> i ,I have some problems with nullclient on  MSVC .
> I built pidgin with CygWin like instructions on http://developer.pidgin.im/wiki/BuildingWinPidgin
> When I created  a MSVC app and  included nullclient.c and defines.h
> After that I built libpurple.lib  by lib.exe and files libpurple.dll and libpurple.def
> And included to linker .
> There are some errors after compilation .
>  1) signal(SIGCHLD, SIG_IGN)   error C2065: 'SIGCHLD' : undeclared identifier
>    I replaced for signal(SIGINT,SIG_IGN),but i dont know is it right
>        How to solve this?SIGCHLD is not defined for Win
>  2) I replaced function getpass() by it is not critical

nullclient is known not to work out of the box on Windows - it is just
an example, not something that you'd really use.

> Then app was run but some protocols was not available like xmpp and icq. After debuging i found xmpp.dll
> and icq .dll unloading immediately after loading. Why??

What does the debug output say?

> After signing nullclient app stop and do nothing
> What do you think  about this ??

I think that you haven't overridden the giochannel implementation -
the same as this thread:
http://pidgin.im/pipermail/support/2009-July/thread.html#4486

-D

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

nullclient problems with MSVC

by Philip Kucheev :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message



Thanks for response !

> nullclient is known not to work out of the box on Windows - it is just
> an example, not something that you'd really use.

But how I can run nullclient?
I need use MinGW to build it,right? Oherwise i can use MSVC?
> What does the debug output say?
>
About jabber debug output say:
'nclient.exe': Loaded 'C:\lib\pidgin-2.5.6\libpurple\example\nclient\nclient\plugin\libjabber.dll', Binary was not built with debug information.
'nclient.exe': Unloaded 'C:\lib\pidgin-2.5.6\libpurple\example\nclient\nclient\plugin\libjabber.dll'
Same about libicq.dll and others...
Complite output info is in attach ,if you interesting.











_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

attach.zip (1K) Download Attachment