Looks like openal build problem. It can be cmake related issue. Is it latest cmake from brew?
You can also check if vanilla version https://github.com/kcat/openal-soft builds on your system.
@lieff
Leos-iMac:proton thelmgn$ cmake --version
cmake version 3.12.1
Which is the latest version from brew
Try manual linker run
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -m32 -std=c++11 -O2 -g -D_DEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/alffplay.dir/examples/alffplay.cpp.o CMakeFiles/alffplay.dir/common/almalloc.c.o CMakeFiles/alffplay.dir/common/atomic.c.o CMakeFiles/alffplay.dir/common/rwlock.c.o CMakeFiles/alffplay.dir/common/threads.c.o CMakeFiles/alffplay.dir/common/uintmap.c.o -o alffplay -Wl,-rpath,/Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/tools.win32/lib/libSDL2main.a /Users/thelmgn/Documents/proton/build/tools.win32/lib/libSDL2.dylib -framework Cocoa /usr/local/lib/libavformat.dylib /usr/local/lib/libavcodec.dylib /usr/local/lib/libavutil.dylib /usr/local/lib/libswscale.dylib /usr/local/lib/libswresample.dylib /usr/lib/libz.dylib libopenal.1.18.2.dylib -framework AudioToolbox -framework ApplicationServices -framework AudioUnit -framework CoreAudio -lpthread -ldl -lm
Not sure why it tries build 32bit and do not pass -m32 to the linker.
@lieff
Leos-iMac:proton thelmgn$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -m32 -std=c++11 -O2 -g -D_DEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/alffplay.dir/examples/alffplay.cpp.o CMakeFiles/alffplay.dir/common/almalloc.c.o CMakeFiles/alffplay.dir/common/atomic.c.o CMakeFiles/alffplay.dir/common/rwlock.c.o CMakeFiles/alffplay.dir/common/threads.c.o CMakeFiles/alffplay.dir/common/uintmap.c.o -o alffplay -Wl,-rpath,/Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/tools.win32/lib/libSDL2main.a /Users/thelmgn/Documents/proton/build/tools.win32/lib/libSDL2.dylib -framework Cocoa /usr/local/lib/libavformat.dylib /usr/local/lib/libavcodec.dylib /usr/local/lib/libavutil.dylib /usr/local/lib/libswscale.dylib /usr/local/lib/libswresample.dylib /usr/lib/libz.dylib libopenal.1.18.2.dylib -framework AudioToolbox -framework ApplicationServices -framework AudioUnit -framework CoreAudio -lpthread -ldl -lm
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/examples/alffplay.cpp.o'
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/common/almalloc.c.o'
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/common/atomic.c.o'
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/common/rwlock.c.o'
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/common/threads.c.o'
clang: error: no such file or directory: 'CMakeFiles/alffplay.dir/common/uintmap.c.o'
clang: error: no such file or directory: 'libopenal.1.18.2.dylib'
It must be run from cmake build directory, where CMakeFiles located and 'CMakeFiles/alffplay.dir/examples/alffplay.cpp.o' exists.
@lieff I ran this in build/openal.win32
ld: warning: ignoring file CMakeFiles/alffplay.dir/examples/alffplay.cpp.o, file was built for x86_64 which is not the architecture being linked (i386): CMakeFiles/alffplay.dir/examples/alffplay.cpp.o
ld: warning: ld: warning: ignoring file /usr/local/lib/libavformat.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libavformat.dylibignoring file /usr/local/lib/libavutil.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libavutil.dylibld: warning: ld: warning:
ignoring file /usr/local/lib/libswscale.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libswscale.dylibignoring file /usr/local/lib/libavcodec.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libavcodec.dylibld: warning:
ignoring file /usr/local/lib/libswresample.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libswresample.dylib
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)```
Now it makes more sense, cmake seems found 64bit libs and do not pass -m32. brew installed 64-bit ffmpeg interferes with 32bit build. Seems we need uninstall it or install 32bit version.
Ahh, that'd make sense. I'll uninstall my FFMPEG from Brew
I uninstalled FFMPEG and now I get a different error @lieff
Leos-iMac:proton thelmgn$ ./build_proton.sh
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Could NOT find OSS (missing: OSS_INCLUDE_DIR)
-- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)
-- Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
-- Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR)
-- Could NOT find PortAudio (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR)
-- Could NOT find PulseAudio (missing: PULSEAUDIO_LIBRARY PULSEAUDIO_INCLUDE_DIR)
-- Could NOT find JACK (missing: JACK_LIBRARY JACK_INCLUDE_DIR)
CMake Warning at utils/alsoft-config/CMakeLists.txt:13 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
-- Found unsuitable Qt version "" from NOTFOUND
-- Could NOT find SDL_sound (missing: SDL_SOUND_LIBRARIES SDL_SOUND_INCLUDE_DIR)
-- Checking for module 'libavcodec'
-- No package 'libavcodec' found
-- Checking for module 'libavformat'
-- No package 'libavformat' found
-- Checking for module 'libavdevice'
-- No package 'libavdevice' found
-- Checking for module 'libavutil'
-- No package 'libavutil' found
-- Checking for module 'libswscale'
-- No package 'libswscale' found
-- Checking for module 'libswresample'
-- No package 'libswresample' found
-- Checking for module 'libpostproc'
-- No package 'libpostproc' found
--
-- Building OpenAL with support for the following backends:
-- CoreAudio, WaveFile, Null
--
-- Building with support for CPU extensions:
-- Default, SSE, SSE2, SSE3, SSE4.1
--
-- Installing sample configuration
--
-- Installing HRTF definitions
--
-- Installing AmbDec presets
--
-- Building utility programs
--
-- Building test programs
--
-- Building example programs
-- Building SDL+FFmpeg example programs
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/thelmgn/Documents/proton/build/openal.win32
/opt/local/bin/cmake -H/Users/thelmgn/Documents/proton/openal-soft -B/Users/thelmgn/Documents/proton/build/openal.win32 --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/build_version.dir/build.make CMakeFiles/build_version.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/bsincgen.dir/build.make CMakeFiles/bsincgen.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/makehrtf.dir/build.make CMakeFiles/makehrtf.dir/depend
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/build_version.dir/DependInfo.cmake --color=
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/bsincgen.dir/DependInfo.cmake --color=
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/makehrtf.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/build_version.dir/build.make CMakeFiles/build_version.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/makehrtf.dir/build.make CMakeFiles/makehrtf.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/bsincgen.dir/build.make CMakeFiles/bsincgen.dir/build
cd /Users/thelmgn/Documents/proton/openal-soft && /opt/local/bin/cmake -D GIT_EXECUTABLE=/usr/bin/git -D LIB_VERSION=1.18.2 -D SRC=/Users/thelmgn/Documents/proton/openal-soft/version.h.in -D DST=/Users/thelmgn/Documents/proton/build/openal.win32/version.h -P /Users/thelmgn/Documents/proton/openal-soft/version.cmake
make[2]: Nothing to be done for `CMakeFiles/bsincgen.dir/build'.
make[2]: Nothing to be done for `CMakeFiles/makehrtf.dir/build'.
[ 4%] Built target bsincgen
[ 4%] Built target makehrtf
[ 4%] Built target build_version
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/OpenAL.dir/build.make CMakeFiles/OpenAL.dir/depend
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/OpenAL.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/OpenAL.dir/build.make CMakeFiles/OpenAL.dir/build
make[2]: Nothing to be done for `CMakeFiles/OpenAL.dir/build'.
[ 70%] Built target OpenAL
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/openal-info.dir/build.make CMakeFiles/openal-info.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/alffplay.dir/build.make CMakeFiles/alffplay.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/alrecord.dir/build.make CMakeFiles/alrecord.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/altonegen.dir/build.make CMakeFiles/altonegen.dir/depend
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/openal-info.dir/DependInfo.cmake --color=
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/alrecord.dir/DependInfo.cmake --color=
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/altonegen.dir/DependInfo.cmake --color=
cd /Users/thelmgn/Documents/proton/build/openal.win32 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/openal-soft /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32 /Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/alffplay.dir/DependInfo.cmake --color=
Dependee "/usr/local/include/libavcodec/avcodec.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavcodec/version.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavformat/avformat.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavformat/avio.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavformat/version.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/attributes.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/avconfig.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/avstring.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/avutil.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/buffer.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/channel_layout.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/common.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/cpu.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/dict.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/error.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/frame.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/hwcontext.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/intfloat.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/log.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/macros.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/mathematics.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/mem.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/pixfmt.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/rational.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/samplefmt.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/time.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libavutil/version.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libswresample/swresample.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libswresample/version.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Dependee "/usr/local/include/libswscale/swscale.h" does not exist for depender "CMakeFiles/alffplay.dir/examples/alffplay.cpp.o".
Clearing dependencies in "/Users/thelmgn/Documents/proton/build/openal.win32/CMakeFiles/alffplay.dir/depend.make".
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/openal-info.dir/build.make CMakeFiles/openal-info.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/altonegen.dir/build.make CMakeFiles/altonegen.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/alrecord.dir/build.make CMakeFiles/alrecord.dir/build
Scanning dependencies of target alffplay
make[2]: Nothing to be done for `CMakeFiles/openal-info.dir/build'.
make[2]: Nothing to be done for `CMakeFiles/alrecord.dir/build'.
make[2]: Nothing to be done for `CMakeFiles/altonegen.dir/build'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/alffplay.dir/build.make CMakeFiles/alffplay.dir/build
[ 75%] Built target openal-info
[ 86%] Built target alrecord
make[2]: *** No rule to make target `/usr/local/lib/libavformat.dylib', needed by `alffplay'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 91%] Built target altonegen
[ 92%] Building CXX object CMakeFiles/alffplay.dir/examples/alffplay.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_STRUCT_TIMESPEC -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/Users/thelmgn/Documents/proton/openal-soft/include -I/Users/thelmgn/Documents/proton/openal-soft/common -I/Users/thelmgn/Documents/proton/build/openal.win32 -I/Users/thelmgn/Documents/proton/build/tools.win32/include/SDL2 -I/usr/local/include -std=c++11 -O2 -g -D_DEBUG -Winline -Wall -Wextra -fno-math-errno -fvisibility=hidden -pthread -o CMakeFiles/alffplay.dir/examples/alffplay.cpp.o -c /Users/thelmgn/Documents/proton/openal-soft/examples/alffplay.cpp
/Users/thelmgn/Documents/proton/openal-soft/examples/alffplay.cpp:22:10: fatal error: 'libavcodec/avcodec.h' file not found
#include "libavcodec/avcodec.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/alffplay.dir/examples/alffplay.cpp.o] Error 1
make[1]: *** [CMakeFiles/alffplay.dir/all] Error 2
make: *** [all] Error 2
It tries to access ffmpeg headers. Remove all temporary files and do fresh compilation, so ffmpeg should be cutted at configure step. Or we need 32bit ffmpeg installed if configure require it.
Alright, how would I do that? @lieff
Remove build folder with build/openal.win32 .
Leos-iMac:proton thelmgn$ ./build_proton.sh
./build_proton.sh: line 455: meson: command not found
@lieff
So it's already dxvk build. Install meson/ninja/mingw for this. Not sure if mingw cross-compile goes well on macos at this point check https://github.com/doitsujin/dxvk/issues?utf8=✓&q=macos if there issues too.
@lieff After installing ninja/meson via Brew and minnow via ports
Leos-iMac:proton thelmgn$ ./build_proton.sh
The Meson build system
Version: 0.47.2
Source dir: /Users/thelmgn/Documents/proton/dxvk
Build dir: /Users/thelmgn/Documents/proton/build/dxvk.win32
Build type: cross build
Project name: dxvk
Project version: v0.70
Native C compiler: cc (clang 9.1.0 "Apple LLVM version 9.1.0 (clang-902.0.39.2)")
Cross C compiler: i686-w64-mingw32-gcc (gcc 8.2.0)
Native C++ compiler: c++ (clang 9.1.0 "Apple LLVM version 9.1.0 (clang-902.0.39.2)")
Cross C++ compiler: i686-w64-mingw32-g++ (gcc 8.2.0)
Host machine cpu family: x86
Host machine cpu: x86
Target machine cpu family: x86
Target machine cpu: x86
Build machine cpu family: x86_64
Build machine cpu: x86_64
Library vulkan-1 found: YES
Library d3d11 found: YES
Library dxgi found: YES
Library d3dcompiler_43 found: YES
Library d3dcompiler_47 found: YES
Program glslangValidator found: YES (/Users/thelmgn/Documents/proton/glslang/bin/glslangValidator)
Dependency threads found: YES
Configuring setup_dxvk.sh using configuration
Build targets in project: 10
Found ninja-1.8.2 at /usr/local/bin/ninja
[4/177] Generating 'src/dxvk/src@dxvk@@dxvk@sta/dxvk_clear_buffer_u.h'.
FAILED: src/dxvk/src@dxvk@@dxvk@sta/dxvk_clear_buffer_u.h
/Users/thelmgn/Documents/proton/glslang/bin/glslangValidator -V --vn dxvk_clear_buffer_u ../../dxvk/src/dxvk/shaders/dxvk_clear_buffer_u.comp -o src/dxvk/src@dxvk@@dxvk@sta/dxvk_clear_buffer_u.h
/bin/sh: /Users/thelmgn/Documents/proton/glslang/bin/glslangValidator: cannot execute binary file
[13/177] Compiling C++ object 'src/util/src@util@@util@sta/com_com_guid.cpp.obj'.
ninja: build stopped: subcommand failed.
Yep dxvk do not builds easily on macos, there already issue about this https://github.com/ValveSoftware/Proton/issues/497
@lieff I see, would it be possible to build on a Debian machine and then transfer that to my machine?
I think yes, but as mentioned in above issue, Proton wine doesn't support MoltenVK yet, so it can be helpful with vanilla wine, not Proton.
Had similar error messages. What I did was:
brew uninstall ffmpeg --forcerm -rf build/./build_proton.shI followed some guidelines located here, to replace glslang and fix meson.
glslang can be downloaded from here https://github.com/KhronosGroup/glslang/releases
https://github.com/ValveSoftware/Proton/commit/670a128d6a6d1fe915aa42ccd05463c45832b83d is an alternative to uninstalling ffmpeg from homebrew. Ignore the unintentional dxvk change in that commit.. :)
SDL_SOUND_INCLUDE_DIRx2 2018-09SDL_SOUND_LIBRARIESx2 2018-09SDL_Wx1 2018-09
Hi, I'm trying to build on macOS, but I've hit a brick wall.