标签:mamicode -- command win32 spl make iconv 2-2 too
1.下载libxml2库
ftp://xmlsoft.org/libxml2/libxml2-sources-2.9.9.tar.gz
2.
将下载后的文件解压到如下目录
E:\osg\libxml2\libxml2-2.9.9
3.
新建E:\osg\libxml2\libxml2目录
把安装libiconv生成的iconv.lib、iconv.h文件夹拷贝到E:\osg\libxml2\libxml2文件夹下的lib和include文件夹
4.编译配置
打开X64 Native Tools Command Prompt for VS 2019程序
cd E:\osg\libxml2\libxml2-2.9.9\win32
cscript configure.js compiler=msvc prefix=E:\osg\libxml2\libxml2 include=E:\osg\libxml2\libxml2\include lib=E:\osg\libxml2\libxml2\lib debug=no iconv=yes
4.编译
nmake /f Makefile.msvc install > releasex.log
-----------------------------------------
标签:mamicode -- command win32 spl make iconv 2-2 too
原文地址:https://www.cnblogs.com/gispathfinder/p/12152249.html