[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Linking libxml with VC++ 6
- From: "Kaarle Kaila" <kaarle kaila iki fi>
- To: "Igor Zlatkovic" <igor zlatkovic com>
- Cc: <xml gnome org>
- Subject: Re: [xml] Linking libxml with VC++ 6
- Date: Mon, 2 Feb 2004 22:15:26 +0200
Thank you for the advice.
The linker complained about "LINK : warning LNK4098: defaultlib "MSVCRT"
conflicts with use of other libs; us
e /NODEFAULTLIB:library"
and after some guesswork I added /NODEFAULTLIB:LIBCMT.LIB to the command
and I did get a library
It could have been easier and I guess without help and my poor knowledge of
the link.exe it would have taken longer.
regards
Kaarle
--
Kaarle Kaila
email: kaarle dot kaila at iki dot fi
www.iki.fi/kaila
----- Original Message -----
From: "Igor Zlatkovic" <igor zlatkovic com>
To: "Kaarle Kaila" <kaarle kaila iki fi>
Cc: <xml gnome org>
Sent: Monday, February 02, 2004 2:16 PM
Subject: Re: [xml] Linking libxml with VC++ 6
> Kaarle Kaila wrote:
>
> > I use "This is libxml2, version 2.6.4, binary package for the native
> > Win32/IA32
> > platform." with my VC++ 6 MFC application. If I link my application with
the
> > shorter
> > lib file libxml2.lib it works OK but requires the libxml2.dll, iconv.dll
and
> > zlib.dll.
> >
> > I would prefer including all files with the application but if I use as
> > linker library modules
> > libxml2_a.lib iconv_a.lib zlib_a.lib then the linker displays following
> > errors. What is wrong here?
>
> You must copile your app with the /MD C-runtime. Alternatively, you can
> recompile libxml, iconv and zlib with the /MT runtime.
>
> In both cases you will have to add winsock to to list of required
libraries.
>
> Ciao,
> Igor
> _______________________________________________
> xml mailing list, project page http://xmlsoft.org/
> xml gnome org
> http://mail.gnome.org/mailman/listinfo/xml
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]