Can we use same wsl2 for both px4 and ardupilot?

Hi,

I want to know if there are any limitations- if I use the same wsl2 for both px4 and ardupilot?

I see they have a different gcc version, but somehow, when I tried, it worked. How is this tackled in the build system?

It’s like using any other computer with more than one application on it. The build scripts will use the correct libraries and versions for their respective projects. If there are conflicts, the build will fail, and you will have to resolve those appropriately.

You said it worked…so the configuration you’re using should be fine.

Thanks for the reply.

But after the Ardupilot setup- I saw the pip update to 24. But this broke the PX4 - setup workflow.

So, I thought to check what recommendations- do the Ardupilot community give

Downgrade pip? Or ask the PX4 folks why updating pip breaks their stuff?

Moreover, maybe segregate your environments with venv or docker.

1 Like

I tried with venv, but it breaks the setup workflow for Ardupilot.

Unsupported since virtual environments already isolate package installations.