-
Notifications
You must be signed in to change notification settings - Fork 241
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
[BUG] <can't compile MK4 firmware> #3579
Comments
I can confirm this issue. |
It's easy to fix. install virtualenv, then do a |
I appreciate your quick support! |
Update: `C:\Users\USER\Downloads\prusafirmware>python utils/build.py --preset mk4 C:\Users\USER\Downloads\prusafirmware>Collecting ecdsa~=0.18 (from -r C:\Users\USER\Downloads\prusafirmware\requirements.txt (line 2)) |
I pushed a PR #3582 to fix this bug. |
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS" Thanks @bkerler Switching to Buddy's virtual environment. wbr, |
Karl, the exec format error normally only appears if you mix up 64bit vs. 32bit. Also I think you mean "--generate-bbf" ? Prusa themselves seem use this command line (as an example): |
You are right - of course "--generate-bbf" |
It could very be that the problem is arm64 and not 32bit/64bit. I assume the cross-compile tools are only meant to be used with x86/x64. But you could try to emulate a x86/x64 system on the arm64. Otherwise, if you are on an arm64 system you should be able to use cmake directly without cross-compilation needed at all. |
Thanks! |
compilation now runs on x86 and x64 AMD systems (both tested). |
Please, before you create a new bug report, please make sure you searched in open and closed issues and couldn't find anything that matches.
Printer type - [MK4]
Printer firmware version - [5.1.0]
Original or Custom firmware - [Original]
Describe the bug
can't compile MK4 firmware 5.1.0
tryed to compile as user pi:
git clone https://github.com/prusa3d/Prusa-Firmware-Buddy.git - ok
mv Prusa-Firmware-Buddy TEMP/ - ok
cd TEMP/Prusa-Firmware-Buddy - ok
python utils/build.py --generate-bbf - error!
Switching to Buddy's virtual environment.
You can disable this by setting the BUDDY_NO_VIRTUALENV=1 env. variable.
Traceback (most recent call last):
File "/home/pi/TEMP/Prusa-Firmware-Buddy/utils/build.py", line 832, in
main()
File "/home/pi/TEMP/Prusa-Firmware-Buddy/utils/build.py", line 623, in main
bootstrap.switch_to_venv_if_nedded()
File "/home/pi/TEMP/Prusa-Firmware-Buddy/utils/bootstrap.py", line 211, in switch_to_venv_if_nedded
os.execv(str(venv_bin_dir / 'python'),
FileNotFoundError: [Errno 2] No such file or directory
wbr,
Karl
The text was updated successfully, but these errors were encountered: