Kurosu wrote: > Hello, > > Kyle a écrit : >> 1. Is there a reason you don't link against zlib.lib? It's needed by >> libpng, and by default not a part of libpng.lib. Also, both libcurl.lib >> and curl.lib are required for my build to work (curl.lib is not linked >> against in the project). > > I have several problems currently in fact: > - the SDL_image lib needs libjpeg and libpng with a particular name, so > dlls have to be duplicated > - the prebuilt libcurl I'm using uses zlibwapi.dll (not sure if it can > be rebuilt to use zlib1.dll) > - I'm using gtkmm and gtk+ win32 SDK from > http://sourceforge.net/project/showfiles.php?group_id=98754 > http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/ (I think, > since it changed from the last time I visited the original URL: > http://www.pcpm.ucl.ac.be/~gustin/ ) > > So, the packages one uses really change what is needed in the visual > project. For instance, when I run: > pkg-config.exe --libs libpng > I get back: > -Lc:/dev/gtk/lib -lpng12 > > So that's why I didn't add zlib, all the more since it does link. > > For libcurl, I guess it really depends on the version one uses. > Unfortunately, trying to not depend on zlibwapi.dll, I switched packages > up to the point where I don't know which one I'm using (header says 7.14.1). > > This mess really needs to be sorted out, but the only solution I can > imagine is having a wormux SDK archive for the external stuff (ie not > including gtk/glibmm) such as SDL and friends, libcurl, ... >
If you would like some help with this, I should be able to assist. I used the gtk+ SDK from the Glade for Windows project (http://gladewin32.sourceforge.net/), then compiled everything else by hand. Curl, for instance, I got from http://curl.haxx.se and compiled without SSL. Glib is version 2.12.13, and Glibmm is 2.12.10. I assume I can simply zip up all the .lib and .dll files that are needed, though fishing all the .dll files out of the System32 directory will be pain. Libraries like libpng and zlib I also compiled myself, so there is no zlibwapi.dll or such. Of course, it would be much nicer is if libxml++ didn't have such a heavy dependency on glibmm just for ustring's. kyle _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev