编译此开源应用程序时出现问题

Issue in compiling this open source application

我正在尝试设置 运行 LibreCAD and I am following their Build From Source Guide

在某些时候,在安装 QT and boost 之后,我到达了这样的步骤:

To change these default settings you have to create the file scripts/custom-windows.bat and overwrite the different settings without effect to the SCM (git). Example for scripts/custom-windows.bat:

   set Qt_DIR=C:\Qt.4
   set NSIS_DIR=C:\PROGRA~2\NSIS
   set MINGW_VER=mingw491_32

所以我创建了一个 custom-windows.bat 文件并覆盖了设置。现在,由于我正在处理 64 位 Windows,他们说我需要这样做:

There are issues with the NSIS_DIR path on 64 Bit Windows. When NSIS is installed in the Program Files (x86) folder and NSIS_DIR is added to the PATH, something goes wrong in the build process.

In this case use the command dir /X \ and get an output like this:

   09/02/2014  09:50 PM    <DIR>          PROGRA~1     Program Files
   10/27/2014  12:33 PM    <DIR>          PROGRA~2     Program Files (x86)
   08/16/2014  10:49 PM    <DIR>          Qt

但这意味着什么? “..使用命令 dir /X \ 并获得输出..” 在哪里以及如何?如果有人能告诉我如何解决这个问题,我将不胜感激。

打开命令提示符并按字面键入 dir /X \。输出将显示短文件夹名称和长文件夹名称之间的映射。

您的目标是在 NSIS_DIR 中使用 Program Files (x86) 的正确缩写形式表示,因为它并不总是 PROGRA~2。根据文件系统的历史,它可能因文件系统而异。