Building Meshtastic-dev in PIO

Hello Meshtastics,
could anyone help me with following error:
Cannot find:
/Meshtastic-device/src/esp32-mfix-esp32-psram-cache-issue

this is invoked from:
/Meshtastic-device/.vscode/c_cpp_properties.json
Thx!
Kind regards,
Michael

hmm - can you include the full build log? i.e. what does it say if you type “cd yourmeshtasticdir; pio run” (to make it easier to capture the command output which would otherwise be showing in the IDE".

To make sure discourse doesn’t mess with the formatting, prefix your log with three single ’ and then paste the log, then three single '.

Thank you @geeksville for your help, the error was, that I had to add this to ~/.bashrc on a fresh install:
export PIOROOT=$HOME/.platformio
export PATH=$PATH:$PIOROOT/penv/bin

now the command, pio run from vscode builds the project with success!
:star_struck:

1 Like