我正在尝试从源代码构建这个项目。以下是直接从GitHub出发的方向:
git clone https://github.com/jpcima/ysfx.git cd ysfx git submodule update --init --recursive mkdir build cd build cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. cmake --build .
我安装了最新的CMake for Winx64以及Git。一切都很好,直到我到达cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
输入该命令后,我会看到:
-- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at cmake.wdl.txt:21 (message): Cannot find nasm, required in a MSVC x64 configuration Call Stack (most recent call first): CMakeLists.txt:63 (include)
我不确定nasm
是什么,以及如何满足似乎缺失的依赖关系。
如何修复此问题以便进行编译?
非常感谢任何帮助。