Thanks for the reply Martin. I was able to build libxml2. The problem is I think it gets linked with iconv.dll instead of the static iconv.lib. The sample program (http://xmlsoft.org/examples/index.html#testWriter.c) when built gives the __imp__ errors related to iconv. I am using visual studio 2005, libxml2-2.6.30, and iconv-1.9.2
--- On Sat, 6/20/09, Martin (gzlist) <[email protected]> wrote: > From: Martin (gzlist) <[email protected]> > Subject: Re: [xml] Building libxml2 with static iconv.lib on windows > To: "john blair" <[email protected]> > Cc: [email protected] > Date: Saturday, June 20, 2009, 2:22 PM > On 20/06/2009, john blair <[email protected]> > wrote: > > > > The __imp__ prefix means that it is still looking for > iconv.dll > > Can someone tell me how to build libxml2.lib with > static iconv.lib? > > I'm not a build expert, but I'd need more details about the > exact > steps you're taking to have any chance of helping. What > version of > msvc, libiconv and so on are you using? Have you tried > trunk libxml2? > > I have no trouble building a 2.5MB xmllint with libiconv > 1.11.1 that's > only linked against wsock32, kernel32, and msvcrt. > > Martin > _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
