Closed jmao-denver closed 1 year ago
Are you using c++17 and High Sierra or greater?
This can be fixed in conda-forge (because we ship our own, current libcxx
), but regular users will have to update their MacOS SDK.
Ah wait, I just see this happens on MacOS 13, which is way newer than 10.13. Presumably extra_compile_args.append("-mmacosx-version-min=10.9")
needs to be bumped?
To answer @david-engelmann, yes, the compiler flag is actually already set to use c++17 and my clang is version 14.0.0.
Ah wait, I just see this happens on MacOS 13, which is way newer than 10.13. Presumably
extra_compile_args.append("-mmacosx-version-min=10.9")
needs to be bumped?
This seems to be the issue
@jmao-denver adjusting the compile args in setup.py to -mmacosx-version-min=13.0 should help, I'm not on a mac so I'm not able to confirm
MacOS 13.0 is very new; I think trying to set a more conservative version would be appropriate.
@david-engelmann With -mmacosx-version-min=11.0, I am able to build and test successfully on MacOS 13, and I agree with @devinrsmith on being conservative with minimum version support.
@jmao-denver @devinrsmith 11.0 is perfect, if we wanted to try to build with it set 10.13 that would be the most conservative. Originally, I just said try with 13 to confirm that's the issue. I believe @h-vetinari addressed in conda stock
Hi, @no23reason opened a pull request bumping mmacosx-version-min to 11.0, fixing the error above. Could someone have a look at that, please?
cc: @xhochy
@david-engelmann Any idea whether this fix will be included in v4.5.7 and if yes, when v4.5.7 might be coming out?
@jmao-denver It seems like there are two open prs that need to be merged in to fix everything, @xhochy is the best person to ask this. There is a issue with macos sim links with brew installing that had paused my work on adding in multiple os testing
Got pages of the same error.