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

error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory #14

Open
ryandesign opened this issue Feb 10, 2022 · 0 comments · May be fixed by #15

Comments

@ryandesign
Copy link

#9 (the fix for #8) broke the build when using the 10.9 SDK and older. You now unconditionally include a copy of vecLib.h that came from the macOS 11 SDK, which is substantially different from the version of that file required for earlier OS versions, causing this build failure:

vecLib-760.100.h:48:91: error: Accelerate/../Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h: No such file or directory

(There is no LinearAlgebra.h in 10.9 and earlier.)

Since that macOS 11 version of vecLib.h was added exclusively to fix build failure on the macOS 12 (or later?) SDK, I suggest you only include that file when using the macOS 12 (or later?) SDK. I'll submit a PR to fix it.

ryandesign added a commit to ryandesign/vecLibFort that referenced this issue Feb 10, 2022
Only include the local macOS 11 SDK copy of vecLib.h when using the
macOS 12 SDK or later to prevent build failure when using the OS X 10.9
SDK or older.

Fixes mcg1969#14
@ryandesign ryandesign linked a pull request Feb 10, 2022 that will close this issue
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 a pull request may close this issue.

1 participant