build libXML2 with ARM64 configuration

Jinde, Arathi - Dell Team 20 Reputation points
2023-02-27T08:37:43.24+00:00

hi,

The third party library libxml2 source code is downloaded from here github

I am trying to build with ARM64 configuration ,by copying win32 build folder , replacing win32 with ARM64, facing issues

  1. with build "libxml2_a_mt.lib" not generated
  2. there is linker error

build commands

C:\libxml2-v2.10.3\libxml2-v2.10.3\ARM64>cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib iconv=no

nmake /f Makefile.msvc

source code

https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.3

built with below commands there is linker error

link.exe /nologo /VERSION:2.10 /LIBPATH:bin.msvc /LIBPATH:c:\opt\lib /OUT:bin.msvc\testThreads.exe libxml2.lib wsock32.lib ws2_32.lib kernel32.lib int.utils.msvc\testThreads.obj

LINK : fatal error LNK1561: entry point must be defined

please suggest

Community Center Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.