---
title: "libxml编译"
author: "helpbs"
date: "2012-03-10T15:31:00Z"
tags: []
slug: "libxml"
draft: false
lastmod: "2012-04-24T08:48:29Z"
id: 1495913
url: "https://helpbs.iteye.com/blog/1495913"
---

Libxml2.7.8  
1、修改win32/configure.js 31~63行之间只保留withHtml = true;withXpath = true;withTree = true;withPush = true;其他均为false。67行MD改为MT，71行改为buildStatic = true  
2、在win32目录下执行cscript configure.js  
3、修改win32/Makefile.msvc，把74、75、76三行前面的加号去掉  
4、在vs2008命令行下，然后执行nmake -f Makefile.msvc libxmla