Skip to content
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

Only use backslash when setting PATH and other related enviroment variables in Windows with Powershell or cmd #463

Closed
traversaro opened this issue Sep 3, 2020 · 0 comments · Fixed by #464

Comments

@traversaro
Copy link
Member

As reported by @S-Dafarra in a internal issue, the default installation instructions of the robotology-superbuild do not work correctly, because the PATH is populate by file paths with the forward slashes, while the PATH env variable apparently supports only backslash:
powershell_wrong

While this is a critical issue, it went unnoticed for the following reason:

  • I (and I guess some other users) also on Windows use the Git Bash, and source the environment using the setup.sh scripts, that due to the conversions in the PATH env variable between the Git enviroment and the Windows enviroment are not affected by this problem.
  • Most of the executables worked fine as they were in the same directory of the .dll they used, the only library that were affected by this were the YARP plugins in bin/YARP, bin/iCub or similar.
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 a pull request may close this issue.

1 participant