perl 配置 VC-WIN32 --perfix=E:\TBuild\Libraries\openssl\Release

perl Configure VC-WIN32 --perfix=E:\TBuild\Libraries\openssl\Release

首先我安装的工具是:

1) Windows 10 Pro 企业版 10.0.10240 内部版本 10240

2) Visual Studio 企业 2015

3) Windows SDK 10

4) 草莓 perl 5.22.1.3

最近我尝试使用 Telegram API 创建一个电报项目。经过一些谷歌搜索后,我从 github and followed the Build instructions for Visual Studio 2015 下载了源代码。 前三个命令成功执行但第四个命令未成功执行,并出现以下错误: 我提到的命令是:

perl Configure VC-WIN32 --prefix=D:\TBuild\Libraries\openssl\Release

错误:

'perl' is not recognized as an internal or external command, operable program or batch file.

我发现,发布文件夹不存在。我的第一个问题是我需要先构建 openssl 项目吗?如果是那么如何?我需要为该命令安装额外的工具吗?

第二个问题是我需要为其他指令安装任何东西吗?

错误是由您的命令解释器发出的,因为它找不到 Perl 可执行文件。从您的 Strawberry Perl 发行版中找到 perl.exe 并指定它的完整路径,例如"c:\Program Files\strawberry\bin\perl.exe" Configure VC-WIN32 --prefix=D:\TBuild\Libraries\openssl\Release。请注意,您的确切路径可能与我的样本不同;我还没有检查 Strawberry 将文件放在哪里。