PX4-windows-toolchain icon indicating copy to clipboard operation
PX4-windows-toolchain copied to clipboard

Missing packages after install

Open chrismiller7 opened this issue 3 years ago • 3 comments

After installing v0.8 or v0.9, running "make px4_sitl jmavsim" causes several errors with missing packages. On a fresh install, I have to manually add the packages:

run run-console.bat cd Firmware

pip3 install --upgrade pip pip3 install kconfiglib pip3 install --user jsonschema pip3 install future

make px4_sitl jmavsim

chrismiller7 avatar Jan 21 '22 20:01 chrismiller7

Thanks @chrismiller7

@MaEtUgR Howdy! What's the best way to sort this. We should add these dependencies to the build (can you?), but more importantly are we closer to an updated WSL2 solution that can use the linux PX4 install scripts instead? That would be better because those scripts get tested in CI

hamishwillee avatar Jan 30 '22 21:01 hamishwillee

@chrismiller7 Thanks a lot for reporting this! I would change the toolchain immediately but this issue prevents me from generating new installers: https://github.com/PX4/PX4-windows-toolchain/issues/31. We could at least add the necessary commands to the Cygwin toolchain documentation to enable users in the meantime.

@hamishwillee Yes, I finished writing the basic instructions: https://github.com/PX4/PX4-user_guide/pull/1747 The instructions use 1:1 the existing setup scripts. If you're interested @chrismiller7 you can give this a try. I'm happy to hear any feedback.

MaEtUgR avatar Jan 31 '22 12:01 MaEtUgR

OK, I have created a patch for the cygwin docs in https://github.com/PX4/PX4-user_guide/pull/1755. The note can be removed when this issue is fixed.

hamishwillee avatar Feb 02 '22 03:02 hamishwillee