编译64位版本lzo.dll的 [英] compile 64-bit version of lzo.dll

查看:486
本文介绍了编译64位版本lzo.dll的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[更新] 我一直以来编制成功和别人追逐这些可执行文件可以从的这里

[Update] I've since compiled successfully and anyone else chasing these binaries can download from here

我编译版本 LZO 2.06从发出以下命令Visual Studio命令提示符(2010)

I'm compiling version 2.06 of lzo by issuing the following command from the Visual Studio Command Prompt (2010)

b\win64\vc_dll.bat

产生lzo2.dll没有任何错误,但是这并不像它确实产生了64位的DLL作为我的32位的C#应用​​程序仍然可以参考和调用方法(成功)

which produces lzo2.dll without any errors, however this doesnt look like it really did produce the 64-bit dll as my 32bit C# app can still reference and call methods (successfully)

我如何编译64位版本?

How can I compile the 64bit version?

一些在这个问题上的意见可能会过时,因为改变的问题,但我从此改变了它回到原来的问题时,有更多的参与,所以我可以标记响应作为答案

推荐答案

几乎可以肯定,你将使用一套编译器错误的; 64位汇编不是由命令行标志控制 - 这是一个完全不同的工具集;

Almost certainly you will be using the wrong set of compilers; 64bit compilation isn't controlled by a command line flag - it's a completely different toolset;

发出从Visual Studio中的x64 Win64的命令提示符(2010),你会发现在开始菜单生成命令\程序\微软的Visual Studio 2010 \ Visual Studio工具。

Issue the build commands from the "Visual Studio x64 Win64 Command Prompt (2010)" which you will find in the Start Menu\Programs\Microsoft Visual Studio 2010\Visual Studio Tools.

例如。

 c:\> cd /d h:\temp\lzo-2.06 
 H:\temp\lzo-2.06> b\win64\vc_dll.bat

这篇关于编译64位版本lzo.dll的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆