Closed luofalei closed 4 years ago
Try downloading another yasm into the root of your SVT-HEVC repo folder and rerun the cmake command with -DYASM=OFF -DCMAKE_ASM_NASM_COMPILER="H:\svt-hevc\yasm.exe"
and rerun
Hi @luofalei , if yasm is put in C:/Windows/System32/, compilation always show error. Just put yasm into a user folder.
Hi @1480c1 and @tianjunwork , thanks for the suggestions. When I move yasm to a user directory included in PATH, compilation goes fine.
Hi @luofalei Falei, you are welcome:)
Related to Pull Request #206 .
For the commits before this pull request, the building goes well on my machine. Specificly, building for the follwing commit is ok.
However, the building of later commits (all commits until the current master branch) would fail in asm files. The error information is as follows:
C:\Program Files\CMake\share\cmake-3.15\Templates\MSBuild\nasm.targets(33,5): error MSB3721: command “"C:/Windows/System32/yasm.exe" - o "HEVC_ASM_SSE2.dir\Release\EbGatherSaoStatistics16bit_SSE2.obj" -fwin64 -I"H:\svt-hevc\Build\mybuild\Source\Lib\ASM_SSE2\" - I"H:\svt-hevc\Source\Lib\ASM_SSE2\" -I"H:\svt-hevc\Source\API\" -I"H:\svt-hevc\Source\Lib\Codec\" -I"H:\svt -hevc\Source\Lib\C_DEFAULT\" -D"WIN32" -D"_WINDOWS" -D"_FORTIFY_SOURCE=2" -D"NDEBUG" -D"CMAKE_INTDIR="Release"" -D"WIN64" "H:\svt-hevc\Source\Lib\ASM_SSE2\EbGatherSaoStatistics16bit_SSE2.asm"”Exited, code 1. [H:\svt-hevc\Build\mybuild\Source \Lib\ASM_S SE2\HEVC_ASM_SSE2.vcxproj]
It seems like that the working directory yasm was not right.