Closed Garomek closed 5 months ago
Did you follow the steps one by one? Do you have a macbook? Which OS do you have installed?
git clone https://github.com/prusa3d/Prusa-Firmware
cd Prusa-Firmware
./utils/bootstrap.py
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake
ninja
Hi. I did it step by step. No cmake no ninja
 Pozdrawiam / Best Regards
Roman Gaik @.***
Wiadomość napisana przez 3d-gussner @.***> w dniu 12.12.2023, o godz. 17:26:
Did you follow the steps one by one? Do you have a macbook? Which OS do you have installed?
clone the repository
git clone https://github.com/prusa3d/Prusa-Firmware cd Prusa-Firmware automatically setup dependencies
./utils/bootstrap.py configure and build
mkdir build
- cd build cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake ninja — Reply to this email directly, view it on GitHub https://github.com/prusa3d/Prusa-Firmware/issues/4538#issuecomment-1852380085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXT6KMDZMOIP47D6HXNCIYDYJCASVAVCNFSM6AAAAABARSVX6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGM4DAMBYGU. You are receiving this because you authored the thread.
Yes. I have MacBook Pro with Sonoma 14.2. My steps You can watch on the top.
I may have found the issue. We as developers have cmake, ninja installed on our computers and OS and you probably not so it has not been found.
Please try this. I am not sure if it will work/compile on your MacBook Pro with Sonoma 14.2 as we don't have any Macs to test this.
Also ensure: Python >= 3.6 is also required with the following modules:
pyelftools (package python3-pyelftools)
polib (package python3-polib)
regex (package python3-regex)
Additionally gettext is required for translators.
git clone https://github.com/prusa3d/Prusa-Firmware
cd Prusa-Firmware
./utils/bootstrap.py
../.dependencies/cmake-3.22.5/bin/cmake --version
should show cmake version 3.22.5
or similar../.dependencies/ninja-1.10.2/ninja --version
should show 1.10.2
or similarmkdir build
cd build
../.dependencies/cmake-3.22.5/bin/cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake
../.dependencies/ninja-1.10.2/ninja
Hi. Thank You for Your information. Unfortunately after uploading lines 1-3, line 4 shows the following error: zsh: no such file or directory: ../.dependencies/cmake-3.22.5/bin/cmake—version Unfortunately your idea didn’t work on my computer. Please find a screenshot attached.

Pozdrawiam / Best Regards
Roman Gaik @.***
Wiadomość napisana przez 3d-gussner @.***> w dniu 13.12.2023, o godz. 09:22:
Please try this. I am not sure if it will work/compile on your MacBook Pro with Sonoma 14.2 as we don't have any Macs to test this.
Also ensure: Python >= 3.6 is also required with the following modules:
pyelftools (package python3-pyelftools) polib (package python3-polib) regex (package python3-regex) Additionally gettext is required for translators.
can you change to the folder Prusa-Firmware/.dependecies/cmake-3.22.5/bin and is there a cmake executable? in this folder try cmake --version to see if that works. which folders do you see under Prusa-Firmware? BTW your screenshot has not been added
Please find a screenshot attached.
Please write me step by step lines to enter in the console of my MacBook. I'm not a programmer so maybe I'm typing something wrong
@Garomek I don't know MacOS and can't write exact step by step guide except I have done above.
Try to change to the .dependencies/cmake-3.22.5/bin/cmake folder with multiple cd
commands and run cmake --version
This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.
This issue has been closed due to lack of recent activity. Please consider opening a new one if needed.
automatically setup dependencies
./utils/bootstrap.py
configure and build
mkdir build cd build cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake ninja zsh: command not found: # Klonowanie do „Prusa-Firmware”... remote: Enumerating objects: 49291, done. remote: Counting objects: 100% (1814/1814), done. remote: Compressing objects: 100% (570/570), done. remote: Total 49291 (delta 1335), reused 1602 (delta 1244), pack-reused 47477 Pobieranie obiektów: 100% (49291/49291), 51.32 MiB | 2.18 MiB/s, gotowe. Rozwiązywanie delt: 100% (37422/37422), gotowe. zsh: command not found: # Downloading ninja-1.10.2 Extracting ninja-1.10.2 Downloading cmake-3.22.5 Extracting cmake-3.22.5 Downloading avr-gcc-7.3.0 Extracting avr-gcc-7.3.0 Downloading prusa3dboards-1.0.6 Extracting prusa3dboards-1.0.6 zsh: command not found: # zsh: command not found: cmake zsh: command not found: ninja romek@macbook-pro-1 build % 'cd..' zsh: command not found: cd.. romek@macbook-pro-1 build % gettext gettext: brakujące argumenty