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

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

问题描述

[更新] 我已经成功编译,其他任何人都可以从 这里

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

我正在编译版本 2.06 of lzo,方法是从Visual Studio 命令提示符 (2010)

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

bwin64vc_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位版本?

关于这个问题的一些评论可能会随着问题的改变而过时,但是当它涉及更多内容时,我将其改回原始问题,以便我可以将回复标记为答案>

推荐答案

几乎可以肯定你会使用错误的编译器;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)"发出构建命令,您可以在开始"菜单程序Microsoft Visual Studio 2010Visual Studio 工具中找到该命令.

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

例如

 c:> cd /d h:	emplzo-2.06 
 H:	emplzo-2.06> bwin64vc_dll.bat

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

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