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

Build issues with latest release version 4.4.7 on M1 #529

Open
asdafa3 opened this issue Jan 4, 2023 · 1 comment
Open

Build issues with latest release version 4.4.7 on M1 #529

asdafa3 opened this issue Jan 4, 2023 · 1 comment

Comments

@asdafa3
Copy link

asdafa3 commented Jan 4, 2023

Issue

Building the release version checking out the release tag release/v4.4.7 on M1 mac leads to compiler errors like the following

/Applications/IDEs/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk/usr/include/c++/v1/__algorithm/upper_bound.h:31:36: error: no
      member named 'distance' in namespace 'std::__1'
    difference_type __len = _VSTD::distance(__first, __last);

so apparently the chosen compiler version is wrong. Is it possible that my provided XCode version is too recent or I need to fallback to another version and if yes, what is the latest supported version?

Building is done step by step accoding to the instructions in the BUILDING.md.

System Configuration

XCode: 14.2 (14C18)
CLT: 14.1.0.0.1.1666437224
Used Compiler: Apple clang version 14.0.0 (clang-1400.0.29.202)
CMake: 3.25.1

@mtehver
Copy link
Contributor

mtehver commented Jan 5, 2023

Thanks for reporting this. Should be fixed now in master branch.

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

No branches or pull requests

2 participants