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

rp2040-dmxsun - system compilation error #59

Closed
trinityworld opened this issue Nov 17, 2022 · 12 comments
Closed

rp2040-dmxsun - system compilation error #59

trinityworld opened this issue Nov 17, 2022 · 12 comments

Comments

@trinityworld
Copy link

window system :-

I am getting complication error when run this command "make -j$(($(nproc)+1)) " and also window has issues finding libraries (lwip)

C:\Users\pico\Downloads\rp2040-dmxsun\pico-sdk\lib\tinyusb\lib\networking\dhserver.h:38:10:
fatal error: lwip/err.h: No such file or directory

i cant find .uf2 file in this repo. it will be helpful..

rp2040

@peternewman
Copy link
Member

peternewman commented Nov 17, 2022

Have you loaded the git submodules?

i cant find .uf2 file in this repo. it will be helpful..

See https://github.com/OpenLightingProject/rp2040-dmxsun#how-can-i-try-it-out-without-spending-much the artifacts for the run has them.

@kripton
Copy link
Member

kripton commented Nov 17, 2022

The lwIP module is integrated as a submodule and it looks like you didn't clone them. Either run a 'git submodule update --init' or remove your working copy and run the clone again with the '--recursive' parameter

@kripton
Copy link
Member

kripton commented Nov 17, 2022

You're right, the recursive parameter is missing in the Readme, I will add that.

Regarding the UF2 file from the actions: The problem is that they expire and they are only available to logged in users. I hope GitHub keeps the artefacts when they are linked to a release. Which we don't have yet but will soon.

However, there should be some recent jobs with build artefacts attached. Just scroll down on a job's page

@peternewman
Copy link
Member

Regarding the UF2 file from the actions: The problem is that they expire and they are only available to logged in users.

You could push them to GitHub pages a bit like I'm doing here if you wanted to offer bleeding edge ones easily for people:

https://github.com/mjemmeson/Date-Holidays-GB/pull/14/files

Although I guess anyone that wants bleeding edge probably has a GitHub account and can grab them...

I hope GitHub keeps the artefacts when they are linked to a release. Which we don't have yet but will soon.

It does for normal release files, hopefully you can attach them in the same way then.

kripton added a commit that referenced this issue Nov 17, 2022
@kripton
Copy link
Member

kripton commented Nov 17, 2022

@trinityworld
Copy link
Author

code run successfully and also get .uf2 file but webui not generate..

@kripton
Copy link
Member

kripton commented Nov 18, 2022

Okay, that's already some good progress!
Yep, the way the Web-UI compilation is integrated is a bit of a mess (acknowledged as #61). Do you have NodeJS installed? If so, which version and is the "node" command in your %PATH%?

@trinityworld
Copy link
Author

yes, i installed Nodejs.
version is - v18.12.1 and also add "node" command in %PATH%.

rp2040_

@kripton
Copy link
Member

kripton commented Nov 29, 2022

Hi, sorry, forgot to reply. Even though you seem to be using Ubuntu by now (#62), I would like to understand why this fails. Most probably since the Web UI is currently built by calling https://github.com/OpenLightingProject/rp2040-dmxsun/blob/main/build-webui.sh. And since there is no bash and some commands in that file will fail on the "Windows command line", this currently just doesn't work. Looks like a limitation of the current solution and tracked by #61.

@trinityworld
Copy link
Author

when i compiled this repo in Ubuntu then web ui generated.now got proper "uf2" file.

@kripton Thank u so much..

@kripton
Copy link
Member

kripton commented Nov 30, 2022

Glad to hear. You're welcome :) As I said, Linux is only currently supported build environment and it's cool that you managed in the VM!

@kripton
Copy link
Member

kripton commented Jan 5, 2024

Closing as resolved

@kripton kripton closed this as completed Jan 5, 2024
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