ShiftMediaProject/FFmpeg

cant build on vs2022

xengine-qyt opened this issue · 5 comments

Context

Lots of compile errors when i build

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. git clone https://github.com/ShiftMediaProject/FFmpeg.git
  2. open project_get_dependencies.bat and download completed
  3. download nasm and yasm and open install_script.bat with admin
  4. download opengl and ffnvcodec and AMF header file
  5. open ffmpeg_deps.sln build

Your Environment

  • Version Used:2022
  • Operating System and Version:win10 x64
  • Compiler and Version(s):debug dll x64

Possible Fix

Sibras commented

Youll need to post the actual errors. This project is built automatically by a CI which can build with VS2022 just fine so the errors are related to some differences on your end

Youll need to post the actual errors. This project is built automatically by a CI which can build with VS2022 just fine so the errors are related to some differences on your end

the project are load completed.and i compile ffmpeg project,follow this errors:

Started build... 1>------ Build started: Project: libxvidcore, Configuration: DebugDLL x64 ------ 2>------ Build started: Project: libx265, Configuration: DebugDLL x64 ------ 3>------ Build started: Project: libx264, Configuration: DebugDLL x64 ------ 4>------ Build started: Project: libavutil, Configuration: DebugDLL x64 ------ 5>------ Build started: Project: libgmp, Configuration: DebugDLL x64 ------ 6>------ Build started: Project: libvpx, Configuration: DebugDLL x64 ------ 7>------ Build started: Project: libass, Configuration: DebugDLL x64 ------ 1>..\src\bitstream\x86_asm\cbp_mmx.asm 1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\xvid\SMP\obj\DebugDLL\x64\libxvidcore\cbp_mmx.obj" -I"D:\ShiftMediaProject\ source\xvid\SMP\\..\src/" -DWINDOWS -DARCH_IS_X86_64 -DNO_PREFIX -rnasm -pnasm "D:\ShiftMediaProject\source\xvid\src\bitstream\x86_asm\cbp_mmx.asm""Exited with return code -1073741515. 1>Completed generating project "libxvidcore.vcxproj" - failed. 4>..\libavutil\x86\cpuid.asm 2> 3> 5>mpn\x86_64\addlsh1_n.s 6>..\vp8\common\x86\dequantize_mmx.asm 7>..\libass\x86\be_blur.asm 4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libavutil\cpuid.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP\/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\\..\/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\\..\\libavutil\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libavutil\x86\cpuid.asm"" exited with return code 1. 4>Completed generating project "libavutil.vcxproj" - failed. 8>------ Build started: Project: libswscale, Configuration: DebugDLL x64 ------ 9>------ Build started: Project: libswresample, Configuration: DebugDLL x64 ------ 10>------ Build started: Project: libpostproc, Configuration: DebugDLL x64 ------ 5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\gmp\SMP\obj\DebugDLL\x64\libgmp\addlsh1_n.obj" -rraw -pgas "D:\ ShiftMediaProject\source\gmp\SMP\mpn\x86_64\addlsh1_n.s"" exited with return code -1073741515. 5>Completed generating project "libgmp.vcxproj" - failed. 11>------ Build started: Project: libnettle, Configuration: DebugDLL x64 ------ 2> ..\source\common\x86\blockcopy8.asm 8>..\libswscale\x86\input.asm 7>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\libass\SMP\obj\DebugDLL\x64\libass\be_blur.obj" -g -I"D:\ ShiftMediaProject\source\libass\SMP\\..\libass/" -Dprivate_prefix=ass -DHAVE_CPUNOP=0 -DWIN32=1 -DARCH_X86_64=1 -DHAVE_ALIGNED_STACK=1 "D:\ShiftMediaProject\source\libass\libass\x86\be_blur .asm"" exited with return code 1. 7>Completed generating project "libass.vcxproj" - failed. 6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\libvpx\SMP\obj\DebugDLL\x64\libvpx\dequantize_mmx.obj" -I"D:\ShiftMediaProject\ source\libvpx\SMP\/" -I"D:\ShiftMediaProject\source\libvpx\SMP\\..\/" -rnasm -pnasm "D:\ShiftMediaProject\source\libvpx\vp8\common\x86\dequantize_mmx. asm"" exited with return code -1073741515. 3> ..\common\x86\bitstream-a.asm 9>..\libswresample\x86\audio_convert.asm 6>Completed generating project "libvpx.vcxproj" - failed. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\x265\SMP\obj\Debug_10b\x64\libx265bit\blockcopy8.obj" -I"D:\ShiftMediaProject\ source\x265\SMP\\..\source\common\x86/" -DSTACK_ALIGNMENT=16 -DHIGH_BIT_DEPTH=1 -DX265_DEPTH=10 -DBIT_DEPTH=10 -DX265_NS=x265_10bit -DWIN32=1 -DARCH_X86_64=1 -w-macro- params-legacy "D:\ShiftMediaProject\source\x265\source\common\x86\blockcopy8.asm"" exited with return code 1. [D:\ShiftMediaProject\source\x265\SMP\libx265bit.vcxproj] 8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libswscale\input.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP\/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\\..\/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\\..\\libswscale\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libswscale\x86\input.asm"" exited with return code 1. 8>Completed generating project "libswscale.vcxproj" - failed. 3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: command

my dir struct
-- msvc
-- source
image

the project path is source/FFmpeg,and \source\FFmpeg\SMP\project_get_dependencies.bat open information is

bzip2: Existing folder found. Checking for updates...
bzip2: Repository up to date.

fontconfig: Existing folder found. Checking for updates...
fontconfig: Repository up to date.
fontconfig: Found additional dependencies...

freetype2: Existing folder found. Checking for updates...
freetype2: Repository up to date.

libiconv: Existing folder found. Checking for updates...
libiconv: Repository up to date.

libxml2: Existing folder found. Checking for updates...
libxml2: Repository up to date.
libxml2: Found additional dependencies...

liblzma: Existing folder found. Checking for updates...
liblzma: Repository up to date.

zlib: Existing folder found. Checking for updates...
zlib: Repository up to date.

fribidi: Existing folder found. Checking for updates...
fribidi: Repository up to date.

game-music-emu: Existing folder found. Checking for updates...
game-music-emu: Repository up to date.

gnutls: Existing folder found. Checking for updates...
gnutls: Repository up to date.
gnutls: Found additional dependencies...

nettle: Existing folder found. Checking for updates...
nettle: Repository up to date.
nettle: Found additional dependencies...

gmp: Existing folder found. Checking for updates...
gmp: Repository up to date.

harfbuzz: Existing folder found. Checking for updates...
harfbuzz: Repository up to date.
harfbuzz: Found additional dependencies...

lame: Existing folder found. Checking for updates...
lame: Repository up to date.

libass: Existing folder found. Checking for updates...
libass: Repository up to date.
libass: Found additional dependencies...

libbluray: Existing folder found. Checking for updates...
libbluray: Repository up to date.
libbluray: Found additional dependencies...

libcdio: Existing folder found. Checking for updates...
libcdio: Repository up to date.
libcdio: Found additional dependencies...

libcdio-paranoia: Existing folder found. Checking for updates...
libcdio-paranoia: Repository up to date.
libcdio-paranoia: Found additional dependencies...

libgcrypt: Existing folder found. Checking for updates...
libgcrypt: Repository up to date.
libgcrypt: Found additional dependencies...

libgpg-error: Existing folder found. Checking for updates...
libgpg-error: Repository up to date.

libilbc: Existing folder found. Checking for updates...
libilbc: Repository up to date.
libilbc: Found additional dependencies...

libssh: Existing folder found. Checking for updates...
libssh: Repository up to date.
libssh: Found additional dependencies...

libvpx: Existing folder found. Checking for updates...
libvpx: Repository up to date.

mfx_dispatch: Existing folder found. Checking for updates...
mfx_dispatch: Repository up to date.

modplug: Existing folder found. Checking for updates...
modplug: Repository up to date.

opus: Existing folder found. Checking for updates...
opus: Repository up to date.

sdl: Existing folder found. Checking for updates...
sdl: Repository up to date.

soxr: Existing folder found. Checking for updates...
soxr: Repository up to date.

speex: Existing folder found. Checking for updates...
speex: Repository up to date.

theora: Existing folder found. Checking for updates...
theora: Repository up to date.
theora: Found additional dependencies...

ogg: Existing folder found. Checking for updates...
ogg: Repository up to date.

vorbis: Existing folder found. Checking for updates...
vorbis: Repository up to date.
vorbis: Found additional dependencies...

x264: Existing folder found. Checking for updates...
x264: Repository up to date.

x265: Existing folder found. Checking for updates...
x265: Repository up to date.

xvid: Existing folder found. Checking for updates...
xvid: Repository up to date.

all errors information:
Started build...
1>------ Build started: Project: libxvidcore, Configuration: DebugDLL x64 ------
2>------ Build started: Project: libx265, Configuration: DebugDLL x64 ------
3>------ Build started: Project: libx264, Configuration: DebugDLL x64 ------
4>------ Build started: Project: libavutil, Configuration: DebugDLL x64 ------
5>------ Build started: Project: libgmp, Configuration: DebugDLL x64 ------
6>------ Build started: Project: libvpx, Configuration: DebugDLL x64 ------
7>------ Build started: Project: libass, Configuration: DebugDLL x64 ------
1>..\src\bitstream\x86_asm\cbp_mmx.asm
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\xvid\SMP\obj\DebugDLL\x64\libxvidcore\cbp_mmx.obj" -I"D:\ShiftMediaProject\ source\xvid\SMP\..\src/" -DWINDOWS -DARCH_IS_X86_64 -DNO_PREFIX -rnasm -pnasm "D:\ShiftMediaProject\source\xvid\src\bitstream\x86_asm\cbp_mmx.asm""Exited with return code -1073741515.
1>Completed generating project "libxvidcore.vcxproj" - failed.
2>
4>..\libavutil\x86\cpuid.asm
5>mpn\x86_64\addlsh1_n.s
3>
6>..\vp8\common\x86\dequantize_mmx.asm
7>..\libass\x86\be_blur.asm
4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libavutil\cpuid.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\../" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\..\libavutil\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libavutil\x86\cpuid.asm"" exited with return code 1.
4>Completed generating project "libavutil.vcxproj" - failed.
8>------ Build started: Project: libswscale, Configuration: DebugDLL x64 ------
9>------ Build started: Project: libswresample, Configuration: DebugDLL x64 ------
10>------ Build started: Project: libpostproc, Configuration: DebugDLL x64 ------
5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\gmp\SMP\obj\DebugDLL\x64\libgmp\addlsh1_n.obj" -rraw -pgas "D:\ ShiftMediaProject\source\gmp\SMP\mpn\x86_64\addlsh1_n.s"" exited with return code -1073741515.
5>Completed generating project "libgmp.vcxproj" - failed.
2> ..\source\common\x86\blockcopy8.asm
11>------ Build started: Project: libnettle, Configuration: DebugDLL x64 ------
8>..\libswscale\x86\input.asm
7>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\libass\SMP\obj\DebugDLL\x64\libass\be_blur.obj" -g -I"D:\ ShiftMediaProject\source\libass\SMP\..\libass/" -Dprivate_prefix=ass -DHAVE_CPUNOP=0 -DWIN32=1 -DARCH_X86_64=1 -DHAVE_ALIGNED_STACK=1 "D:\ShiftMediaProject\source\libass\libass\x86\be_blur .asm"" exited with return code 1.
7>Completed generating project "libass.vcxproj" - failed.
6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\libvpx\SMP\obj\DebugDLL\x64\libvpx\dequantize_mmx.obj" -I"D:\ShiftMediaProject\ source\libvpx\SMP/" -I"D:\ShiftMediaProject\source\libvpx\SMP\../" -rnasm -pnasm "D:\ShiftMediaProject\source\libvpx\vp8\common\x86\dequantize_mmx. asm"" exited with return code -1073741515.
3> ..\common\x86\bitstream-a.asm
9>..\libswresample\x86\audio_convert.asm
6>Completed generating project "libvpx.vcxproj" - failed.
8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libswscale\input.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\../" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\..\libswscale\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libswscale\x86\input.asm"" exited with return code 1.
8>Completed generating project "libswscale.vcxproj" - failed.
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\x265\SMP\obj\Debug_10b\x64\libx265bit\blockcopy8.obj" -I"D:\ShiftMediaProject\ source\x265\SMP\..\source\common\x86/" -DSTACK_ALIGNMENT=16 -DHIGH_BIT_DEPTH=1 -DX265_DEPTH=10 -DBIT_DEPTH=10 -DX265_NS=x265_10bit -DWIN32=1 -DARCH_X86_64=1 -w-macro- params-legacy "D:\ShiftMediaProject\source\x265\source\common\x86\blockcopy8.asm"" exited with return code 1. [D:\ShiftMediaProject\source\x265\SMP\libx265bit.vcxproj]
10>LINK: fatal error LNK1104: Unable to open file "avutild.lib"
10>Completed generating project "libpostproc.vcxproj" - failed.
11>x86_64\aes-decrypt-internal.s
9>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC \nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libswresample\audio_convert.obj" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\ /" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\../" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\..\libswresample\x86/" -P"config .asm" "D:\ShiftMediaProject\source\FFmpeg\libswresample\x86\audio_convert.asm"" exited with return code 1.
9>Completed generating project "libswresample.vcxproj" - failed.
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\x264\SMP\obj\Debug_10b\x64\libx264bit\bitstream-a.obj" -I"D:\ ShiftMediaProject\source\x264\SMP\..\common\x86/" -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10 -Dprivate_prefix=x264_10 -DSTACK_ALIGNMENT=16 -DWIN32=1 -DARCH_X86_64=1 "D:\ShiftMediaProject\source\x264 \common\x86\bitstream-a.asm"" exited with return code 1. [D:\ShiftMediaProject\source\x264\SMP\libx264bit.vcxproj]
2>
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: Command "if exist ..\config.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del ..\config.h
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist ..\x264_config.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del ..\x264_config.h
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist ..\common\oclobj.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del ..\common\oclobj.h
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if not exist .\common\oclobj.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: echo "Error: Missing oclobj.h, can not regenerate !"
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: exit /b 1
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist "D:\ShiftMediaProject\source\x264\ SMP......\msvc"\include\x264.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del "D:\ShiftMediaProject\source\x264\SMP ......\msvc"\include\x264.h
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist "D:\ShiftMediaProject\source\x264\ SMP......\msvc"\include\x264_config.h (
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del "D:\ShiftMediaProject\source\x264\SMP ......\msvc"\include\x264_config.h
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: MSBuild libx264bit.vcxproj /property:Configuration="Debug_10b" ,Platform="x64",SolutionDir="D:\ShiftMediaProject\source\FFmpeg\SMP\",SolutionFileName="ffmpeg_deps.sln" /verbosity:m /nologo
3>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: :VCEnd” exited with code 1.
3>Completed generating project "libx264.vcxproj" - failed.
11>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\nettle\SMP\obj\DebugDLL\x64 \libnettle\aes-decrypt-internal.obj" -rraw -pgas "D:\ShiftMediaProject\source\nettle\SMP\x86_64\aes-decrypt-internal.s"" exited with return code -1073741515.
11>Completed generating project "libnettle.vcxproj" - failed.
12>------ Build started: Project: libhogweed, Configuration: DebugDLL x64 ------
2> ..\source\common\x86\blockcopy8.asm
12>x86_64\ecc-curve25519-modp.s
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\x265\SMP\obj\Debug_12b\x64\libx265bit\blockcopy8.obj" -I"D:\ShiftMediaProject\ source\x265\SMP\..\source\common\x86/" -DSTACK_ALIGNMENT=16 -DHIGH_BIT_DEPTH=1 -DX265_DEPTH=12 -DBIT_DEPTH=12 -DX265_NS=x265_12bit -DWIN32=1 -DARCH_X86_64=1 -w-macro- params-legacy "D:\ShiftMediaProject\source\x265\source\common\x86\blockcopy8.asm"" exited with return code 1. [D:\ShiftMediaProject\source\x265\SMP\libx265bit.vcxproj]
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: command "if exist ..\source\x265_config.h (
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del ..\source\x265_config.h
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist "D:\ShiftMediaProject\source\x265\ SMP......\msvc"\include\x265.h (
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del "D:\ShiftMediaProject\source\x265\SMP ......\msvc"\include\x265.h
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: if exist "D:\ShiftMediaProject\source\x265\ SMP......\msvc"\include\x265_config.h (
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: del "D:\ShiftMediaProject\source\x265\SMP ......\msvc"\include\x265_config.h
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: )
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: MSBuild libx265bit.vcxproj /property:Configuration="Debug_10b" ,Platform="x64",SolutionDir="D:\ShiftMediaProject\source\FFmpeg\SMP\",SolutionFileName="ffmpeg_deps.sln" /verbosity:m /nologo
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: MSBuild libx265bit.vcxproj /property:Configuration="Debug_12b" ,Platform="x64",SolutionDir="D:\ShiftMediaProject\source\FFmpeg\SMP\",SolutionFileName="ffmpeg_deps.sln" /verbosity:m /nologo
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(151,5): error MSB3073: :VCEnd" exited with code 1.
2>Completed generating project "libx265.vcxproj" - failed.
13>------ Build started: Project: libavcodec, Configuration: DebugDLL x64 ------
12>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\nettle\SMP\obj\DebugDLL\x64\libhogweed\ecc-curve25519-modp.obj" -rraw -pgas "D:\ShiftMediaProject\source\nettle\SMP\x86_64\ecc-curve25519-modp.s"" exited with return code -1073741515.
12>Completed generating project "libhogweed.vcxproj" - failed.
14>------ Build started: Project: libgnutls, Configuration: DebugDLL x64 ------
13>..\libavcodec\x86\ac3dsp.asm
13>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libavcodec\ac3dsp.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\../" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\..\libavcodec\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libavcodec\x86\ac3dsp.asm"" exited with return code 1.
13>Completed generating project "libavcodec.vcxproj" - failed.
14>lib\accelerated\x86\coff\aes-ssse3-x86_64.asm
14>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\yasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC"yasm.exe -Xvc -f win64 -o "D:\ShiftMediaProject\source\gnutls\SMP\obj\DebugDLL\x64\libgnutls\aes-ssse3-x86_64.obj" - D__NASM_VERSION_ID__=0x02030000 -rnasm -pnasm "D:\ShiftMediaProject\source\gnutls\SMP\lib\accelerated\x86\coff\aes-ssse3-x86_64.asm"" exited with return code -1073741515.
14>Completed generating project "libgnutls.vcxproj" - failed.
15>------ Build started: Project: libavformat, Configuration: DebugDLL x64 ------
15>tls_gnutls.c
15>D:\ShiftMediaProject\source\FFmpeg\libavformat\tls_gnutls.c(24,10): fatal error C1083: Unable to open include file: "gnutls/gnutls.h": No such file or directory
15>Completed generating project "libavformat.vcxproj" - failed.
16>------ Build started: Project: libavfilter, Configuration: DebugDLL x64 ------
16>..\libavfilter\x86\scene_sad.asm
16>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\nasm.targets(68,5): error MSB3721: Command ""C:\Program Files\Microsoft Visual Studio \2022\Community\VC\nasm.exe" -Xvc -f win64 -o "D:\ShiftMediaProject\source\FFmpeg\SMP\obj\DebugDLL\x64\libavfilter\scene_sad.obj" -I"D:\ShiftMediaProject\ source\FFmpeg\SMP/" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\../" -I"D:\ShiftMediaProject\source\FFmpeg\SMP\..\libavfilter\x86 /" -P"config.asm" "D:\ShiftMediaProject\source\FFmpeg\libavfilter\x86\scene_sad.asm"" exited with return code 1.
16>Completed generating project "libavfilter.vcxproj" - failed.
17>------ Build started: Project: libavdevice, Configuration: DebugDLL x64 ------
17>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1134,5): error MSB6006: 'link.exe' exited with code 1104.
17>LINK: fatal error LNK1104: Unable to open file "avformatd.lib"
17>Completed generating project "libavdevice.vcxproj" - failed.
18>------ Build started: Project: ffmpeg, Configuration: DebugDLL x64 ------
18>LINK: fatal error LNK1104: Unable to open file "avdeviced.lib"
18>Completed generating project "ffmpeg.vcxproj" - failed.
========== Builds: 0 successful, 18 failed, 27 latest, 0 skipped ==========
========= Build started at 10:02 and took 02.922 seconds ==========

yasm install information:
D:\ShiftMediaProject\source\VSYASM>install_script.bat
Detected 64 bit system...
Using existing vswhere binary...
Visual Studio 2022 environment detected...
Installing VS17 customisations into "C:\Program Files\Microsoft Visual Studio\2022\Community"
Installing build customisations...
Using existing YASM binary...
Installing required YASM release binary...
Finished Successfully

nasm install information :
D:\ShiftMediaProject\source\VSNASM>
D:\ShiftMediaProject\source\VSNASM>
D:\ShiftMediaProject\source\VSNASM>install_script.bat
Detected 64 bit system...
Using existing vswhere binary...
Visual Studio 2022 environment detected...
Installing VS17 customisations into "C:\Program Files\Microsoft Visual Studio\2022\Community"
Installing build customisations...
Checking for existing NASM in NASMPATH...
Using existing NASM binary from ...
Finished Successfully