Closed Katawann closed 4 years ago
Hi Katawann,
It looks like your installation of the Toolchain worked fine but you installed an old version. The error is not occuring during the installation process but during the process of building the firmware.
I had the same issue and discovered that it was due to an old link here (https://dev.px4.io/v1.9.0/en/setup/dev_env_windows_cygwin.html) which points to PX4 Cygwin Toolchain v0.5. Make sure that you install the most current version (v0.8) from here https://github.com/PX4/windows-toolchain/releases.
I suggest removing the old link pointing to an old version of the toolchain on S3 here https://dev.px4.io/v1.9.0/en/setup/dev_env_windows_cygwin.html.
The PX4 docs are versioned. That means that https://dev.px4.io/v1.9.0/en/setup/dev_env_windows_cygwin.html points to a version of the toolchain that will work with v1.9.
if you want to build for v1.11 (unreleased) you would look at the docs in master version of docs: https://dev.px4.io/master/en/setup/dev_env_windows_cygwin.html - they point to a version of the toolchain you can download that will work with the latest code.
I suggest removing the old link pointing to an old version of the toolchain on S3 here https://dev.px4.io/v1.9.0/en/setup/dev_env_windows_cygwin.html.
As above, no :-). Use the correct docs for the version you want to build.
Hello both,
thank you for your answers! Forgot to update this issue. My error stops to show after I used the proper path for the folder (now C:\PX4 and before it was in my documents). Not sure if the run_console.bat could not find the proper Python version otherwise (maybe because of the setup_environnement.bat?).
I did not have the time to go further in debugging but it works after the PX4 folder has been moved to root C:
Hello,
I have Windows 10.
I installed the windows toolchain, I fetch the repository and I try to build the simulation but the installation stop with this error:
If I write
python --version
with the run-console.bat I have the output "python 2.7.14"The same command with the shell give me "Python 3.8.1"...
Do I need to change something to allow the run-console.bat to find Python properly ? In the setup-environment.bat ?