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

incorrect or hard coded paths in the c_cpp_properites.json #242

Open
GR8Instruments opened this issue Dec 6, 2021 · 1 comment
Open

Comments

@GR8Instruments
Copy link

I loaded up the DaisyExamples at the folder level into VS.Code and got the following 7 errors:

[{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "d:\work\programming\dsp\Eigen\eigen-3.3.8".",
"startLineNumber": 17,
"startColumn": 17,
"endLineNumber": 17,
"endColumn": 60
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples\DaisySP\examples\fastconv".",
"startLineNumber": 20,
"startColumn": 17,
"endLineNumber": 20,
"endColumn": 63
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "D:\WORK\PROGRAMMING\DSP\_DAISY\DAISYEXAMPLES\DAISYSP\EXAMPLES\FASTCONV".",
"startLineNumber": 22,
"startColumn": 17,
"endLineNumber": 22,
"endColumn": 89
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples\DaisySP\tests\fastconv".",
"startLineNumber": 23,
"startColumn": 17,
"endLineNumber": 23,
"endColumn": 60
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples\DaisySP\modules".",
"startLineNumber": 25,
"startColumn": 17,
"endLineNumber": 25,
"endColumn": 53
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "generated_diagnostic_collection_name#1",
"severity": 4,
"message": "String does not match the pattern of "^\d{2}\.\d{1}\.\d{5}\.\d{1}$|^8\.1$".",
"startLineNumber": 39,
"startColumn": 34,
"endLineNumber": 39,
"endColumn": 36
},{
"resource": "/c:/Users/direc/Documents/GitHub/Daisy/DaisyExamples/.vscode/c_cpp_properties.json",
"owner": "c:\Users\direc\Documents\GitHub\Daisy\DaisyExamples",
"severity": 4,
"message": "Cannot find "C:\\Program Files (x86)\\GNU Arm Embedded Toolchain\\9 2020-q2-update\\bin\\arm-none-eabi-g++.exe".",
"startLineNumber": 40,
"startColumn": 29,
"endLineNumber": 40,
"endColumn": 128
}]

@stephenhensley
Copy link
Collaborator

Thanks for bringing this up!

The root folder doesn't really have a use in VS code at the moment (each example has it's own workspace for compiling/debugging), but this definitely shouldn't be cluttered with peoples personal drive paths.

We'll get this sorted out soon.

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

No branches or pull requests

2 participants