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

6.3.0 doesn't have pgmspace.h #49

Closed
adzenith opened this issue Apr 27, 2017 · 7 comments
Closed

6.3.0 doesn't have pgmspace.h #49

adzenith opened this issue Apr 27, 2017 · 7 comments

Comments

@adzenith
Copy link

I'm trying to compile QMK. It used to work fine with 6.2.0, but it looks like 6.3.0 is missing a required header.
6.2.0 had this file:
/usr/local/Cellar/avr-gcc/6.2.0/avr/include/avr/pgmspace.h
6.3.0 appears to have no equivalent. Am I doing something wrong? I just brew updated.

Thanks!

@ladislas
Copy link
Member

you have to recompile everything from scratch, specifically avr-libc

@larsimmisch
Copy link
Contributor

It would be nice if we could trigger this automatically, but I thought about it a while back and had no good idea how to do it without resorting to very hacky workarounds

@ladislas
Copy link
Member

ladislas commented Apr 27, 2017

this is linked to the fact that we cannot have two versions available at the same time.

someone was talking about sandboxing at some points, it might help solve the problem, but I'm not an expert with homebrew. any ideas?

@ladislas
Copy link
Member

@larsimmisch i'm gonna try that when i get time: https://github.com/cosmo0920/homebrew-avr/blob/e2d70836645309705df172ba0f2e96b5807fef4e/avr-gcc.rb with the resource thing

@adzenith
Copy link
Author

Just to confirm my understanding, it's as simple as:

brew uninstall avr-libc
brew install avr-libc

Is that correct?

@larsimmisch
Copy link
Contributor

Yes, that should do it.

@adzenith
Copy link
Author

Thanks for the help - it worked great. I'm gonna go ahead and close this.

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

3 participants