Closed niklaut closed 1 year ago
The errors during build are due to a long-standing (but low priority) bug in which some unit tests try to initialize Vulkan during compilation during what's supposed to just be a pass to enumerate what test cases are available. But for some reason this init (which normally just wastes a bit of time) is failing.
The failure with ngscopeclient and the tests is the same, MoltenVK isn't initializing right. Try running ngscopeclient with --debug to dump more information that might help us narrow down the problem.
Hm ok, interesting. If I check the "System Global Installation" checkbox in the Vulkan SDK installer and then not export
any paths, the build succeeds. Or maybe the reboot fixed it? Well… it's running now, thank you!
I'm following the install instruction on macOS 13.6 on an ARM64 MBA M2. I installed the Homebrew and Vulkan SDK successfully. Cloned the scopehal-apps and set the exports correctly (also verified the paths).
experiences multiple errors during build:
But it does produce a
ngscopeclient
binary, which then fails with the same error.I tried googling this error, but my complete lack of graphics understanding (I work on microcontrollers) makes this difficult to fix. For example: I tried
export VK_ICD_FILENAMES=$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json
from here, but that did nothing.Is this because of my own config? Maybe a conflicting homebrew install?
Output of `brew list`
``` $ brew list ==> Formulae abseil fastcdr gtkmm3 libogg libzip openjpeg sdl2 adwaita-icon-theme fastdds gts libomp lima openldap sigrok-cli ant fastddsgen harfbuzz libpng little-cms2 openssl@1.1 six aom ffmpeg hicolor-icon-theme libqalculate llvm@16 openssl@3 snappy aribb24 flac hidapi librist lua opus speex arm-gcc-bin@12 flock highway librsvg luajit p11-kit sqlite arm-gcc-bin@9 fontconfig hiredis libsamplerate lz4 pango srt arm-gcc-xpack@12 foonathan-memory hunspell libsigc++@2 lzo pangomm@2.46 svt-av1 asio freetype icu4c libsigrok m4 pcre tcl-tk assimp frei0r imath libsigrokdecode mavsdk pcre2 telnet astyle fribidi isl libslirp mbedtls picocom tesseract atk gcc jasper libsndfile md4c pixman texinfo atkmm@2.28 gd jpeg-turbo libsodium meson pkg-config theora autoconf gdbm jpeg-xl libsoxr mosquitto protobuf tinyxml2 automake gdk-pixbuf jsoncpp libssh mpdecimal px4-sim-jmavsim tree boost genromfs kconfig-frontends libssh2 mpfr py3cairo uchardet brotli gettext lame libtasn1 mpg123 pygobject3 unbound c-ares giflib leptonica libtiff mpv python-certifi vapoursynth ca-certificates glew libarchive libtool mujs python-setuptools vde cairo glfw libass libunibreak mutagen python@3.11 webp cairomm@1.14 glib libavif libunistring ncurses python@3.12 wget capstone glibmm@2.66 libb2 libusb netpbm python@3.8 x264 catch2 gmp libbluray libuv nettle qalculate-gtk x265 ccache gnu-sed libcerf libvidstab ninja qemu xorgproto cjson gnu-tar libelf libvmaf nmap qt xvid cloc gnuplot libepoxy libvorbis node qt@5 xz cmake gnutls libevent libvpx numpy radare2 yaml-cpp colima gobject-introspection libftdi libwebsockets open-ocd rav1e yarn confuse gradle libgit2@1.6 libx11 openblas re2 yt-dlp curl graphite2 libidn2 libxau opencore-amr readline z3 dav1d graphviz liblinear libxcb openexr ripgrep zeromq dbus grpc libmng libxdmcp openjdk rtmpdump zimg double-conversion gsettings-desktop-schemas libmpc libxext openjdk@11 rubberband zstd dtc gtk+3 libnghttp2 libxrender openjdk@17 rust ==> Casks 1password bettertouchtool gitx istat-menus multipass segger-jlink sublime-text vlc aldente discord google-drive iterm2 obsidian slack utm xquartz android-platform-tools docker gtkwave kicad saleae-logic spotify visual-studio-code zerotier-one ```