Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Monterey compilation issues #80

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Jorgemagic
Copy link
Contributor

I compiled ShaderConductor on MacOS Monterey version 12.4 and I found some issues in the process.

The CMakeList.txt file set c++ version as c++1z but I needed to set c++14 because DirectXShaderCompiler had errors with deprecated code in c++17 or high. I read in the official repo in the building source section that it required c++14.

On the other hand, in Source/Core/ShaderConductor.cpp the compiler throw an error in the line 293
std::atomic m_ref = 0;

I changed for this and the error disappeared
std::atomic m_ref = {0};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant