Skip to content

Run failure with VS2017 backend

The traceback is not very helpful, but the issue might be related to the path definitions. No issue using the ninja backend or without -Dtestdata_tests=true.

Build operation and output:

C:\Users\rzumer\Projects\dav1d-test>meson build --backend=vs2017 -Dbuild_tests=true -Dtestdata_tests=true
The Meson build system
Version: 0.48.2
Source dir: C:\Users\rzumer\Projects\dav1d-test
Build dir: C:\Users\rzumer\Projects\dav1d-test\build
Build type: native build
Project name: dav1d
Project version: 0.0.1
Native C compiler: cl (msvc 19.15.26730)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Check usable header "stdatomic.h": NO
Check usable header "unistd.h": NO
Checking for function "getopt_long" : NO
Checking for function "posix_memalign" : NO
Checking for function "_aligned_malloc" : YES
Compiler for C supports arguments -fvisibility=hidden: NO
meson.build:157: WARNING: Compiler does not support -fvisibility=hidden, all symbols will be public!
Compiler for C supports arguments -Wundef: NO
Compiler for C supports arguments -Werror=vla: NO
Compiler for C supports arguments -Wno-maybe-uninitialized -Wmaybe-uninitialized: NO
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: NO
Compiler for C supports arguments -Werror=missing-prototypes: NO
Compiler for C supports arguments -fomit-frame-pointer: NO
Compiler for C supports arguments -ffast-math: NO
Compiler for C supports arguments -mpreferred-stack-boundary=5: NO
Compiler for C supports arguments -mpreferred-stack-boundary=4: NO
Compiler for C supports arguments -mstack-alignment=32: NO
Configuring config.h using configuration
Configuring config.asm using configuration
Program nasm found: YES (C:\Binaries\nasm.EXE)
Configuring dav1d.rc using configuration
Library m found: NO
Build targets in project: 12

meson test output:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Python37-32\Scripts\meson-script.py", line 11, in <module>
    load_entry_point('meson==0.48.0', 'console_scripts', 'meson')()
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mesonmain.py", line 392, in main
    return run(sys.argv[1:], launcher)
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mesonmain.py", line 302, in run
    return mtest.run(remaining_args)
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mtest.py", line 778, in run
    return th.doit()
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mtest.py", line 526, in doit
    self.run_tests(tests)
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mtest.py", line 672, in run_tests
    res = single_test.run()
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mtest.py", line 266, in run
    return self._run_cmd(wrap + cmd + self.test.cmd_args + self.options.test_args)
  File "c:\program files (x86)\python37-32\lib\site-packages\mesonbuild\mtest.py", line 319, in _run_cmd
    preexec_fn=preexec_fn if not is_windows() else None)
  File "c:\program files (x86)\python37-32\lib\subprocess.py", line 756, in __init__
    restore_signals, start_new_session)
  File "c:\program files (x86)\python37-32\lib\subprocess.py", line 1155, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Edited by Raphaël Zumer