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

sdk 1.51 build failed in mac vm #52

Closed
alexheretic opened this issue May 2, 2021 · 3 comments
Closed

sdk 1.51 build failed in mac vm #52

alexheretic opened this issue May 2, 2021 · 3 comments

Comments

@alexheretic
Copy link
Contributor

Build script is failing with a bunch of errors like

.../public/steam/steam_api_common.h:227:54: error: use of undeclared identifier 'nullptr'
@Noxime
Copy link
Owner

Noxime commented May 5, 2021

Can you tell me more about your setup. What version of MacOS are you running, are you on Apple Silicon? From my knowledge this error is more related to a broken C toolchain rather than anything to do with steamworks-rs specifically.

@alexheretic
Copy link
Contributor Author

Sorry yeah that info was a bit sparse. It's a VM running 10.15.7, I raised the issue as it has been working fine for a while so I was hoping for a quick answer.

I'll try to reinstall my llvm/clang bits and see if that helps.

@alexheretic
Copy link
Contributor Author

Ok I installed llvm with brew and added the local llvm/bin to $PATH, plus set $LDFLAGS & $CPPFLAGS as suggested by brew installer.

It seems to build again thanks 👍. I guess it was working before with the system llvm, as it looks like I hadn't brew-ed it.

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