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: C++ requires a type specifier for all declaration #114

Closed
muschellij2 opened this issue Mar 19, 2020 · 1 comment
Closed

error: C++ requires a type specifier for all declaration #114

muschellij2 opened this issue Mar 19, 2020 · 1 comment

Comments

@muschellij2
Copy link
Collaborator

Not a bug (the fix is update rcpp to the github one for now), but if you run into this error:

In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/ITKR/libs/include/ITK-5.1/itkImageFileReader.h:173:
In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/ITKR/libs/include/ITK-5.1/itkImageFileReader.hxx:29:
In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/ITKR/libs/include/ITK-5.1/itksys/SystemTools.hxx:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:658:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/gethostuuid.h:39:17: error: C++ requires a type specifier for all declarations
int gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_NA);

See thread at
RcppCore/Rcpp#1046

@muschellij2
Copy link
Collaborator Author

Solution:

remotes::install_github("RcppCore/Rcpp")

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