portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.01k stars 518 forks source link

"Permission denied" when compiling with WSL2 #2169

Open myval opened 1 month ago

myval commented 1 month ago

What happened?

Hi, I have tried this How to compile faster with WSL 2 https://github.com/portapack-mayhem/mayhem-firmware/wiki/How-to-compile-faster-with-WSL-2 but I am getting this error and not sure how to fix it, can someone help please?

[100%] Built target application.elf [100%] Generating application.bin copy from application.elf' [elf32-littlearm] toapplication.bin' [binary] /bin/sh: 1: ../../../firmware/tools/export_external_apps.py: Permission denied firmware/application/CMakeFiles/application.dir/build.make:60: recipe for target 'firmware/application/application.bin' failed make[2]: [firmware/application/application.bin] Error 126 make[2]: Deleting file 'firmware/application/application.bin' CMakeFiles/Makefile2:920: recipe for target 'firmware/application/CMakeFiles/application.dir/all' failed make[1]: [firmware/application/CMakeFiles/application.dir/all] Error 2 Makefile:94: recipe for target 'all' failed make: [all] Error 2

Your hardware

No response

Tests

gullradriel commented 2 weeks ago

Maybe ask on discord too