Web lists-archives.org

[Mingw-users] advice needed




Hi,

Was trying to build some Open Source applications that were purported to 
work on Windows and am having all kinds of trouble.  Was hoping some other 
developers who have done this kind of thing or are doing it might share some 
tips and help.

Both mingw and msys are working great.  However, to get some of my programs 
to compile, I need to get their dependent libraries to compile.  Have been 
downloading libraries from all over and they just don't seem to want to 
coexist nicely.  I downloaded some of the Gnuwin32 libraries.  I think I got 
libintl and readtext from there.  Downloaded the gtk libraries from the 
gtk.org site.  Downloaded some of the libraries directly from the sites that 
maintain them like the jpeg, zlib and png libraries.  Downloaded libdl from 
Google Code site.  Had to add the patch mentioned at their site for that 
one.  Am having trouble specifically with libintl.  The fix was to add 
#define libintl_printf printf, but you'd think libintl_printf wouldn't be 
undefined.  Read it was a problem between a version of libintl and another 
library (maybe readtext).  Suggestions on how to correct this permanently or 
which versions of libraries to use to avoid the problem would be appreciated.

Also, is it better to build executables on Windows with dlls or build as all 
one executable?  I kind of prefer the executable with everything in one file 
on Windows, but seems like some programs insist on using the dlls if they 
are available, even if I use --enable-static and --disable-shared.  Any tips 
on this?  With the fltk library especially, if I had dlls for any of the 
graphics libraries in my path, it used them instead of building programs 
statically.

Is there any place to share Open Source executables (along with their source 
code of course)?  I've tried going back to people maintaining some of the 
programs I'm compiling and some just don't seem interested in maintaining a 
Windows version.  In other cases, no one may be maintaining the code.  Some 
of the programs seem pretty nice though, so I'd like to be able to build 
them and share them with others.

I managed to get some of the programs that use fltk to build and work on 
Windows.  fldiff seems like a nice tool for developers.  Needs the diff 
utilities from gnuwin32 to work on top of though.  Some of the other 
programs I'm trying to build at the moment are claws-mail and flxine 
(xine).  Having some issues though. I did manage to get the latest version 
of aspell to build (with 3 changes), but it looks like it's producing a 
static version only.  Built a spell-checker utility based on the aspell 
library to plug in to programming editors like scite ( 
http://www.distasis.com/cpp/scitetip.htm#spell ).  Also got some other 
miscellaneous programs to build.  However, there are some I'm still stuck on.

Would love to hear from other developers on this issue?  Any advice on 
setting up one's system with mingw and msys to build Open Source libraries 
and programs more easily?  Any other tips on the subject?

Thanks.
Sincerely,
Laura
http://www.distasis.com/cpp


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users