libxml2 crash
2015-08-07 15:43
295 查看
在 xmlParseFile
就那么挂在里面了
只有一个dll 和一堆头文件
没法调试
有如下猜想(感谢fb 和 array)
这是一个unhandled exception可以catch看看
也许是编码问题 所以空 来试试
以上两条路都走不通,空白xml都crash
尝试重新加载libxml2
这就需要编译他的win32版本了
要用nmake
cmd
cd .......
(加环境变量 for nmake.exe)
nmake.exe /f makefile.msvc
http://www.cnblogs.com/imlucky/archive/2012/10/29/2744992.html
there is no script engine for file extension .js
http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html
但其实我去了这个地方http://www.microsoft.com/zh-cn/download/details.aspx?id=24392
装了这三个就好了
然后nmake又坏了
nmake is not recognized as an internal or external command
感觉是环境变量忽然失效了....
重启之后就好了
接下来 按照这几步来做
1.进入Visual Studio 2013Command Prompt;
2.cd c:\libxml2-2.6.7\libxml2-2.6.7\win32
3.输入cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib debug=yes,回车执行。(生成config.msvc)
4.最后使用nmake命令进行编译,输入nmake /f Makefile.msvc并回车。
接下来他说:
io.h no such file or directory
=================
to be continue....
今天周一,我忽然发现个问题。。。就是编译这个win32版本 有文档!!!还很长,我就说这么麻烦的事情怎能全靠我猜 谁能猜到还要cscript configure.js....
看到这个文档,我简直热泪盈眶...这个小故事告诉我们安装库一定要看文档。
那个io.h的问题按照文档所说,就是因为没装visual studio .net导致没有msvcr70.dll && msvcr71.dll && 头文件
装了就可以,
前面我所有的困惑所有的坑,文档里都有列出
==========================
需要下载安装visual studio .net
搜了一下发现,这东西原来就是第二代vs ,visual studio .net 2003
他的msvcr70.dll 估计这个东西在新版本上就是 80 90 10 110 120。。。。
我去哪找这么老的vs 配它的.h 啊。。。。那些不付费的软件太折磨人了
就那么挂在里面了
只有一个dll 和一堆头文件
没法调试
有如下猜想(感谢fb 和 array)
这是一个unhandled exception可以catch看看
也许是编码问题 所以空 来试试
以上两条路都走不通,空白xml都crash
尝试重新加载libxml2
这就需要编译他的win32版本了
要用nmake
cmd
cd .......
(加环境变量 for nmake.exe)
nmake.exe /f makefile.msvc
http://www.cnblogs.com/imlucky/archive/2012/10/29/2744992.html
there is no script engine for file extension .js
http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html
但其实我去了这个地方http://www.microsoft.com/zh-cn/download/details.aspx?id=24392
装了这三个就好了
然后nmake又坏了
nmake is not recognized as an internal or external command
感觉是环境变量忽然失效了....
重启之后就好了
接下来 按照这几步来做
1.进入Visual Studio 2013Command Prompt;
2.cd c:\libxml2-2.6.7\libxml2-2.6.7\win32
3.输入cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib debug=yes,回车执行。(生成config.msvc)
4.最后使用nmake命令进行编译,输入nmake /f Makefile.msvc并回车。
接下来他说:
io.h no such file or directory
=================
to be continue....
今天周一,我忽然发现个问题。。。就是编译这个win32版本 有文档!!!还很长,我就说这么麻烦的事情怎能全靠我猜 谁能猜到还要cscript configure.js....
看到这个文档,我简直热泪盈眶...这个小故事告诉我们安装库一定要看文档。
那个io.h的问题按照文档所说,就是因为没装visual studio .net导致没有msvcr70.dll && msvcr71.dll && 头文件
装了就可以,
前面我所有的困惑所有的坑,文档里都有列出
==========================
需要下载安装visual studio .net
搜了一下发现,这东西原来就是第二代vs ,visual studio .net 2003
他的msvcr70.dll 估计这个东西在新版本上就是 80 90 10 110 120。。。。
我去哪找这么老的vs 配它的.h 啊。。。。那些不付费的软件太折磨人了
相关文章推荐
- SQLserver 用户进程堵塞解决方案;
- LoadRunner的简单使用《第一篇》
- securecrt 使用说明
- 我的产品观
- Nginx详解-服务器集群
- android sdk下载更新不了问题解决
- SlickEdit 简单使用教程
- Akka---分配器
- iOS 第八课 iOS开发常用尺寸
- 48、ViewFlow ---- 滑动广告页
- Java构造和解析Json数据的两种方法
- 数据库表的查询操作实践演练(实验三)
- uva 12558 Egyptian Fractions (HARD version)
- prestoDB搭建小得
- JQuery中$.ajax()方法参数详解
- HTML5 中的 Web SQL Database 来构建应用程序
- 分享下多年积累JAVA程序员成长之路
- uva11082 Matrix Decompressing (最大流)
- ios网络请求 get——post 区别
- 彻底解决android中Textview控件文本自动换行问题