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

Ompiler error using script #3

Closed
loewal opened this issue Jun 24, 2023 · 5 comments
Closed

Ompiler error using script #3

loewal opened this issue Jun 24, 2023 · 5 comments

Comments

@loewal
Copy link

loewal commented Jun 24, 2023

Hi,
The script gives this error:
In file included from /opt/portapack-mayhem/firmware/baseband/sd_over_usb/scsi.c:23:
/opt/portapack-mayhem/firmware/baseband/sd_over_usb/scsi.h:32:10: fatal error: libopencm3/lpc43xx/m4/nvic.h: No such file or directory
32 | #include <libopencm3/lpc43xx/m4/nvic.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Before that I tried the manual instructions. Same result.

Please help?

@loewal
Copy link
Author

loewal commented Jun 24, 2023

tried on 3 different machines...all the same error

@gullradriel
Copy link
Owner

You have to use git clone correctly, you obviously didn't clone the submodules like mentioned in the wiki:
git clone --recurse-submodules https://github.com/eried/portapack-mayhem.git

@loewal
Copy link
Author

loewal commented Jun 25, 2023 via email

@loewal
Copy link
Author

loewal commented Jun 25, 2023 via email

@gullradriel
Copy link
Owner

It's my script. But it's only here so people have an idea of how to set up their env.
And I confirm after tests that you didn't use the git clone --recurse-submodules https://github.com/eried/portapack-mayhem.git .
Or you're trying to build on another copy of the repo.

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