English 中文(简体)
在VC2005/08和Mac汇编LbXML2 Os env
原标题:compiling LibXML2 in VC2005/08 and Mac Os env

I am writing a C application which uses LibXML2 for XML parsing and Validation. Compiling it in Linux was pretty easy, though compiling it in Windows and Mac seems to be exacting.

关于Windows,我正在使用VC2005/08(我基本上有两份复印件,因此会更容易使用。 我需要与Libxml2和其他图书馆一道汇编我的申请书。 我需要与MSVCRT一起汇编。 DLL, and not with other CRT DL Libraries such MSVCRT71.dll et...

I need to build this for Mac Os as well.

请就如何做到这一点提出建议?

问题回答

Once upon a time I setup a Visual C++ 2005 project file to build libxml2 from source. Amazingly I kept instructions on how I did some of it. This is for 2.7.4, so it may be different for the current version.

首先,你们必须管理书写;我是cscript configure.js iconv=no,因为我不想使事情与另一个依赖(原文)。 这产生了一些主人档案,界定了该建筑可选择哪些办法。

然后,你们需要创建项目档案,并增加所有校准物源文档。 我把地雷建成一个固定的图书馆,与静态C运行时间挂钩,尽管你可能希望改变这种状况以满足你们的需要。 我不得不在我的项目档案中增加一些定义,以便它能够形成某种方式;研究我的项目文件I,见_REENTRANT;HAVE_WIN32_THREADS。 我不记得这些意思,但我或许会从档案中看到这些意思。

这确实是所有事情要做的;召集、增加档案并确定一些定义。





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签