-
Notifications
You must be signed in to change notification settings - Fork 468
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
CMakePresets fail to load on RedHat. Error on Output: Invalid variable reference ${which_declare} #3961
Comments
Tested the vsix provided on #3959 (comment) and it does not solve the problem. Same error. |
@pilarArr I'm curious if you have some answers that might help investigate. Where is this ${which_declare} defined? Is it defined as an environment variable itself? |
@gcampbell-msft I found these mentions to BASH_FUNC_which%%=() { ( alias;
eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}
which_declare=typeset -f |
Is this defined in the environment variables for the linux installs? |
that would be the default environment on login |
@pilarArr Based on the file information you provided for CMakePresets.json, we are unable to surface your issue on Linux platform and we can Configure success. In order to better solve your problem, could you provide me your reproduction file and reproduction steps? Thank you in advance! |
Brief Issue Summary
Issue Related to #1841
I'm not able to produce an example repo.
But I'll try to layout a MWE.
Since it's the presets loading that fails. I don't think the rest of the project does matter.
My project layout would be somethin like this
This would be my CMakePresets.json file:
CMake Tools Diagnostics
Debug Log
Additional Information
Using CMakeTools 1.18.19 works.
EDIT: pressed enter before finishing issue.
The text was updated successfully, but these errors were encountered: