I (and maybe some others) would like to see the meanwhile libraries made to work with Miranda-IM. I imagine this means creating a Miranda-Meanwhile (like gaim-meanwhile). I started to try to create such a thing, but had lots of trouble even getting the meanwhile library to compile on win32 (sorry, I'm a MS VC++ person).
So anyway, can someone post just the .dll, .lib, and header files for (win32) meanwhile that would be necessary? In other words, can you package files for win32 that would be sort of an API package, so that people familiar with other IM clients can easily incorporate meanwhile into their client?
(I've noticed Jeffrey Knight's offer of help in this post: http://sourceforge.net/forum/forum.php?thread_id=1087400&forum_id=378952. Is that offer still available? And I've seen Stephen Dawkins' efforts in this post: http://sourceforge.net/forum/forum.php?thread_id=1101312&forum_id=378952. Is that up-to-date? With both of these, a pre-compiled .dll and .lib would be enormously helpful, since there's no reason to make everyone re-compile meanwhile when they just want to interface to it...)
Yes. Those are the patches. It looks like someone else in the other thread got it compile somehow. So don't worry about compiling it.
Thanks for all your help.
I'm not sure if meanwhile will compile under MSVC, I've always used gcc undex mingw and a linux/mingw cross compiler.
My builds are now the official win32 builds of meanwhile/meanwhile-gaim. The latest versions of which can be found in the files section.
As for the development files, I've uploaded a tar'ed directory which I create when I build the releases. This includes the meanwhile DLL, which is in the bin/ directory, the headers, which are in the include/ directory, and the .lib, which is in the lib/ directory, and I believe is called libmeanwhile.dll.a.
I have no idea if this'll work under MSVC, but there seems to be some information about MSVC/Mingw DLL's here: http://www.mingw.org/mingwfaq.shtml#faq-msvcdll
Quickly reading the above, It appears you'll need a .DEF file, which isn't currently being produced. I will look into this after I post this.
I have uploaded the files here:
If you have any problems or require any other files, let me know.
I've uploaded a .DEF file here:
thank you! I'll look at it and let you know if I need anything more.
Could someone please post start to finish instruction for compiling meanwhile into a win32 dll using mingw or cygwin? It seems to be a lost art. Or even better, update the code INSTALL file with these instructions.
You should just be able to download the source and do ./configure && make && make install
I personally use Linux with a Windows cross-compiler, so I'm unaware it that still works.
Cygwin wasn't working for me so I have also been trying to cross compile from an Ubuntu linux computer. I don't think I've been able to find the right combination of configure parameters yet.
This does make something that will compile, but not a dll. I thought maybe there was something else I had to do with mingw-dllwrap and the src/.libs/libmeanwhile.a file to get the dll.
The last thing I've tried is:
./configure --host="i586-mingw32msvc" CC="i586-mingw32msvc-gcc" CPP="i586-mingw32msvc-cpp" CPPFLAGS="-I /usr/i586-mingw32msvc/include" LDFLAGS="-L /usr/i586-mingw32msvc/lib"
That result in more yes responses when the configure script runs, but then fails during make with:
In file included from /usr/include/glib-2.0/glib/gthread.h:32,
/usr/include/glib-2.0/glib/gutils.h:100:21: missing binary operator before token "("
Do you have any idea what I'm doing wrong?
I've just built meanwhile under MinGW under Windows, as my Linux build environment is currently broken.
I just did a standard ./configure && make && make install, and it produced a libmeanwhile-1.dll
i586-mingw32 is the one I used under Linux. Remember you need todo the make install as that's when the dll gets created.
I've just tried compiling using MSYS with using MinGW and msysDTK installed on windows. Make says it can't find glib.h. Do you know what I have to install to get glib.h? mpi-types.h in meanwhile uses it.
You can get this from Tor's site:
You'll need glib/pkg-config/libinit/gettext plus the dev packages for them.
Sorry, that should be libiconv not libinit.
While I am curious how to get meanwhile to under windows, my real motivation is trying to get a windows dll with the patches mentioned in this thread [https://sourceforge.net/tracker/?func=detail&atid=656718&aid=1626349&group_id=110565].
Would you be willing to apply the 2 patches mentioned in that thread, do a win32 build and post it somewhere? There is fairly large list of interested users anxiously waiting for a dll to use.
Pretty Please :-)
So you want a build with: