-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 VSCode "'.' is not recognized as an internal or external command" when adding library to lib_deps in platformio.ini #124
Comments
Hi, I get the same issue on Windows 10. The . comes from https://github.com/micro-ROS/micro_ros_platformio/blob/e87705fab34ff23f2d117d0185f19fc8698ff081/microros_utils/library_builder.py#L103C29-L103C31 I don't know why neither "source" nor "." are recognized in the environment that the commands run in. Hopefully we can keep each other updated as we troubleshoot this and maybe we'll find a solution. |
I just found another potential issue: micro_ros_platformio/extra_script.py Line 97 in e87705f
After editing the library_builder.py and extra_script.py files to use the activate file within the Scripts directory I get a new error:
If anyone is looking at this, please let me know if I can provide more information. I'm just trying to get any micro ros example to compile in PlatformIO in windows |
It could be that Micro-ROS is not intended to be compiled on Windows? For your application, is there a specific need to use VSCode on Windows or would WSL2 Ubuntu suffice? |
Issue template
Hardware description:
Windows 11 PC running Visual Studio Code 1.85.1 with PlatformIO 6.1.11 extension.
Installation type:
Adding the lines:
to the platformio.ini file.
Unsure how to check this, I got the URL from the "https://github.com/micro-ROS/micro_ros_platformio" webpage using the Code > Clone > HTTPS button on 12/19/2027. It appears that the default is iron, but I don't know how to confirm that.
Steps to reproduce the issue
Note: this procedure works fine on Ubuntu 22.04.
Expected behavior
Project should configure properly.
Actual behavior
Get the error:
Additional information
The full output is below:
The text was updated successfully, but these errors were encountered: