Proton: libjpeg-turbo dependency for macOS

Created on 22 Aug 2018  路  8Comments  路  Source: ValveSoftware/Proton

libjpeg-turbo depends on nasm from Homebrew/MacPorts, as it's not natively provided by the Xcode toolchain.

Most helpful comment

This issue should be closed due to no longer having MacOS support

All 8 comments

Other dependencies for macOS seem to be:

  • realpath
  • i686-w64-mingw32-gcc
  • x86_64-w64-mingw32-gcc
  • meson and ninja

meson depends on ninja so just brew install meson will take care of the latter.

You can get realpath using brew install coreutils.

I'm no C developer so I'm not sure how to grab the other two.

brew install mingw-w64 should work for the mingw dependencies.

My build fails on:

FAILED: src/dxvk/src@dxvk@@dxvk@sta/dxvk_clear_buffer_u.h
/Users/henrebotha/dev/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/henrebotha/dev/proton/glslang/bin/glslangValidator: cannot execute binary file

The included glslangValidator binary is compiled for GNU/Linux. I'm now doing brew install glslang & I'll try and use that instead.

I deleted that glslangValidator locally and the build seemed to continue. Not a proper solution obviously, but time was a factor.

Change glslangValidator with proper binaries from https://github.com/KhronosGroup/glslang/releases
Vote for https://github.com/ValveSoftware/Proton/issues/29 to make submodule

Also, you can download Proton3.7 dist for MacOS High Sierra here

This issue should be closed due to no longer having MacOS support

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AwesamLinux picture AwesamLinux  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments

ghost picture ghost  路  3Comments

leifmetcalf picture leifmetcalf  路  3Comments

lucifertdark picture lucifertdark  路  3Comments