OpenLightingProject / rp2040-dmxsun

RP2040-based USB DMX dongle with integrated web server
GNU General Public License v3.0
95 stars 16 forks source link

rp2040-dmxsun - system compilation error #59

Closed trinityworld closed 9 months ago

trinityworld commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Just for reference, latest UF2 is here: https://github.com/OpenLightingProject/rp2040-dmxsun/suites/9370700870/artifacts/441397266

trinityworld commented 1 year ago

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

kripton commented 1 year ago

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 commented 1 year ago

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

rp2040_

kripton commented 1 year ago

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 commented 1 year ago

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

@kripton Thank u so much..

kripton commented 1 year ago

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 commented 9 months ago

Closing as resolved