Open olekolek1000 opened 2 months ago
QUICK UPDATE:
Can be temporarily fixed by copying nasm.exe
to nasm
in C:\Users\user\.conan2\p\nasm82fc2c9a305c1\p\bin
.
Further configuration steps are failing anyways, like not finding openh264 via pkg-config.
Description
Installing ffmpeg with with_openh264=True or with_libdav1d=True causes nasm-related compilation failure.
Interestingly, nasm is properly detected by Meson:
Program nasm found: YES
.Package and Environment Details
Conan profile
Host profile: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=14 os=Windows
Build profile: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=14 os=Windows
Steps to reproduce
Logs
Click to expand log
``` openh264/2.3.1: RUN: meson setup --native-file "C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release/conan/conan_meson_native.ini" "C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release" "C:/Users/user/.conan2/p/b/openheee399916c7ba/b/src" --prefix=/ The Meson build system Version: 1.4.1 Source dir: C:/Users/user/.conan2/p/b/openheee399916c7ba/b/src Build dir: C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release Build type: native build Project name: openh264 Project version: 2.3.1 C compiler for the host machine: gcc (gcc 14.2.0 "gcc (Rev1, Built by MSYS2 project) 14.2.0") C linker for the host machine: gcc ld.bfd 2.42 C++ compiler for the host machine: g++ (gcc 14.2.0 "g++ (Rev1, Built by MSYS2 project) 14.2.0") C++ linker for the host machine: g++ ld.bfd 2.42 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-class-memaccess: YES Compiler for C++ supports arguments -Wno-strict-aliasing: YES Run-time dependency threads found: YES Library m found: YES Program nasm found: YES Found pkg-config: YES (C:/Users/user/.conan2/p/pkgcoe905804c6b50c/p/bin/pkgconf.exe) 2.2.0 Build targets in project: 8 openh264 2.3.1 User defined options Native files: C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release/conan/conan_meson_native.ini prefix : / Found ninja-1.11.1 at C:/Users/user/.conan2/p/ninjae2ad385cd85df/p/bin/ninja.EXE openh264/2.3.1: Meson build cmd: meson compile -C "C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release" -j16 openh264/2.3.1: RUN: meson compile -C "C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release" -j16 INFO: autodetecting backend as ninja INFO: calculating backend command to run: C:/Users/user/.conan2/p/ninjae2ad385cd85df/p/bin/ninja.EXE -j 16 ninja: error: 'C:/Users/user/.conan2/p/nasm82fc2c9a305c1/p/bin/nasm', needed by 'codec/common/libcommon.a.p/cpuid.o', missing and no known rule to make it openh264/2.3.1: ERROR: Package '247c82a7ffee9cb8cee8b17216f90a338f3de7b6' build failed openh264/2.3.1: WARN: Build folder C:/Users/user/.conan2/p/b/openheee399916c7ba/b/build-release ERROR: openh264/2.3.1: Error in build() method, line 88 meson.build() ConanException: Error 1 while executing ```