Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 19/05/13 17:45, leo2013 wrote:

Win32 build configuration
-------------------------
          Compiler: msvc
  C-Runtime option: /MD

that is the right runtime flag

        cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W1 /MD /I..
/I..\inc

used here too

        link.exe /nologo /VERSION:2.7 /LIBPATH:bin.msvc /LIBPATH:.\lib /DLL 
/IM                                                                                       
PLIB:bin.msvc\libxml2.lib /OUT:bin.msvc\libxml2.dll int.msvc\c14n.obj

xmlreader.obj : error LNK2001: ??????????????? __imp__vsnprintf
nanohttp.obj : error LNK2019: ??????????????? __imp__strcpy_s???รท????????
_Wspia                                                                                       

... but can't find the runtime functions when linking?

i think this should work via the LIB="$(ILIB)" in the
ExternalProject_xml2.mk, the MSVC link.exe should look in the paths in
the LIB variable for the msvcrt.lib... can you check in config_host.mk
your ILIB variable, it should contain some path where the msvcrt.lib is
located.

if the right path is indeed there you'd need to investigate in libxml's
makefile why it doesn't work.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.