Skip to content

WSL error troubleshooting#6146

Merged
DzikuVx merged 1 commit intomasterfrom
dzikuvx-cmake-on-wsl
Sep 24, 2020
Merged

WSL error troubleshooting#6146
DzikuVx merged 1 commit intomasterfrom
dzikuvx-cmake-on-wsl

Conversation

@DzikuVx
Copy link
Member

@DzikuVx DzikuVx commented Sep 24, 2020

closes #6139

@DzikuVx DzikuVx added this to the 2.6 milestone Sep 24, 2020
@DzikuVx DzikuVx merged commit fecc907 into master Sep 24, 2020
@DzikuVx DzikuVx deleted the dzikuvx-cmake-on-wsl branch September 24, 2020 08:50
@Scavanger
Copy link
Contributor

Scavanger commented Oct 25, 2020

There is an easier solution:

Add this

[Interop]
appendWindowsPath = False

to /etc/wsl.conf

@stronnag
Copy link
Collaborator

Documentation PRs are welcome ....

@DarkSoulRL
Copy link

Not help.

venq@venq:~/inav/inav/build$ export | grep "PATH"
declare -x PATH="/usr/lib/ccache:/home/venq/ardupilot/Tools/autotest:/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:/home/venq/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
venq@venq:~/inav/inav/build$ make MATEKF722
Generating MATEKF722/settings_generated.h, MATEKF722/settings_generated.c
/bin/sh: 1: Syntax error: "(" unexpected
make[3]: *** [src/main/target/MATEKF722/CMakeFiles/MATEKF722.elf.dir/build.make:63: src/main/target/MATEKF722/MATEKF722/settings_generated.h] Error 2
make[2]: *** [CMakeFiles/Makefile2:32740: src/main/target/MATEKF722/CMakeFiles/MATEKF722.elf.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:32586: src/main/target/MATEKF722/CMakeFiles/MATEKF722.dir/rule] Error 2
make: *** [Makefile:13313: MATEKF722] Error 2
venq@venq:~/inav/inav/build$

@DarkSoulRL
Copy link

fixed. Need again run

mkdir build
cd build
cmake ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with building in Windows 10 with Linux Subsystem

4 participants