Quote:
Originally Posted by xpi0t0s View Post
Your best bet will be to talk to the people who already know libpurple. There may be a good reason why instructions to build it with Visual Studio aren't included (i.e. a reason other than cost or it being from MS). Maybe the code will need non-trivial modifications to work in VS. But this may already have been done; doesn't Pidgin use libpurple, and I know that works on Windows.

But if you just want to do it yourself and find out what needs doing, best way to start is by looking at the error and the code it comes from and trying to determine what is causing the error. Is there a missing bracket before a *? What exactly is the code that fails? The next error complains about socklen_t: again, what is the code; the error suggests it could be trying to use something that hasn't been defined yet. Googling socklen_t finds it's part of the Unix header sys/socket.h - the way sockets work on Unix and Windows have significant differences (e.g. lack of OOB support on Windows) and you may have to modify libpurple substantially so that it can work with both implementations.
Damn I wrote a long text, submitted and the forum said I was not logged in. Lost all the post I was going to submit. I'm going for a shorter reply now.

I'm following this link:

http:\\pidgin.im\pipermail\devel\2007-May\001041.html

It should work on visual studio.
pidgin.im is for bug report and my problem is not a bug.
Am I missing libs? Maybe it gives different error?
Maybe I need to add some paths.
This path I think was made after the install.
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include
Going to try but I'm sure it will not help.
Please give me some advice.

/Anders