inpyjama / c-ninja-listings

Lower level assembly and C baremetal programming on RISC-V CPUs. Source code listings from the C-Ninja, in Pyjama! book.
https://inpyjama.com
96 stars 480 forks source link

Error in make command in Windows. #7

Closed Yuva-Adhithyan closed 1 month ago

Yuva-Adhithyan commented 1 year ago

image

streetdogg commented 1 year ago

@ Yuva-Adhithyan: Hello! The make command needs to be run from within the docker terminal. From the screenshot, I see that the command was executed from the windows environment.

@freaX22 - was wondering if you have any inputs for this?

therustyengineer commented 1 year ago

Can you try these two things

1- launch docker desktop and verify if your container is running or not

Use the below command docker exec -it c-ninja-linux /bin/zsh -c "touch ~/.zshrc; cd /home/c-ninja/Documents; zsh -i"

To launch the container and get linux shell running in docker

Then you should be able to launch make.

If the problem exists can you share screenshot pf your docker-desktop screen

streetdogg commented 1 year ago

@Yuva-Adhithyan - Can you confirm if the steps in https://github.com/in-pyjama/c-ninja-listings/issues/7#issuecomment-1732289986 helped?

mahussain1 commented 1 year ago

For me, https://github.com/inpyjama/c-ninja-listings/issues/7#issuecomment-1732289986 works perfectly well.