PX4 / PX4-windows-toolchain

Repo containing all scripts to install and use the PX4 Toolchain for Windows.
BSD 3-Clause "New" or "Revised" License
31 stars 100 forks source link

Missing packages after install #30

Open chrismiller7 opened 2 years ago

chrismiller7 commented 2 years ago

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

hamishwillee commented 2 years ago

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

MaEtUgR commented 2 years ago

@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.

hamishwillee commented 2 years ago

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.