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

fatal error: 'vector' file not found on macos after upgrading #1252

Open
kylebaron opened this issue Nov 10, 2024 · 0 comments
Open

fatal error: 'vector' file not found on macos after upgrading #1252

kylebaron opened this issue Nov 10, 2024 · 0 comments

Comments

@kylebaron
Copy link
Collaborator

A couple of reports of errors like this after upgrading OS on mac. The solution was to update Xcode.

> library(mrgsolve)
> mod <- modlib("pk1")
Building pk1 ... error.

---:: stderr ::---------------------------------------------
using C++ compiler:Apple clang version 16.0.0 (clang-1600.0.26.4)’
using SDK:MacOSX15.1.sdkIn file included from pk1-mread-source.cpp:3:
In file included from ./pk1-mread-header.h:11:
/Users/i0568108/Library/R/arm64/4.3/library/mrgsolve/base/mrgsolv.h:25:10: fatal error: 'vector' file not found
   25 | #include <vector>
      |          ^~~~~~~~
1 error generated.
make: *** [pk1-mread-source.o] Error 1
------------------------------------------------------------
Error: the model build step failed.
------------------------------------------------------------
Error: the model build step failed.
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

1 participant