Actually I didn't build those libraries - I just downloaded those versions from the recommended sites.
libxml2: http://www.zlatkovic.com/libxml.en.html libpng: http://sourceforge.net/projects/gnuwin32/files/libpng/ I had to fake up a bunch of pkg-config files in order to get ./configure to run. I ended up just ifdeffing out those 'xmlFree' references and got it to compile. After that I had to deal with a whole bunch of linker errors due to version conflicts between the various static libraries. I solved that by dynamically linking everything. I have a build that works now, but it wasn't easy. It would be really nice if we could get some build instructions with links to the various dependencies. Also, an SVN repository would be nice... Piers. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Cassidy Sent: Thursday, March 11, 2010 9:39 AM To: [email protected] Subject: Re: [swfmill] MingGW builds Hi Piers, On 25 February 2010 23:05, Piers Haken <[email protected]> wrote: > Is there a list of which versions of the various dependancies are > required for building swfmill on windows? > > I’m using the latest version of libxml2 (2.7.6) and libpng (1.2.37) > and I’m getting a bunch of link errors: > > c:/swfmill/src/SWFFile.cpp:216: undefined reference to `xmlFree' > > and > > c:/swfmill/src/swft/readpng.c:210: undefined reference > to `png_set_longjmp_fn' > > Has anyone else seen these? I would hazard a guess that you have built dynamically linked versions of these two libraries but not statically linked versions. swfmill tries to link statically, and if static builds aren’t present you’ll get errors. The other possibility is that the libraries somehow aren’t in your link path. If that doesn’t help, could you post a full log of your build, or at least a bit more detail? It’s hard to say exactly what’s going on without more information. Sorry for not replying sooner. I hope this helps anyway. Dan. _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
