ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
23 stars 5 forks source link

Multiproject - Error Message for Include #63

Closed FerdinandEn closed 2 months ago

FerdinandEn commented 2 months ago

Type: Bug Report

Describe the bug OS and Version: Windows 11 VS Code Version: 1.88 CMSIS Solution 1.34.3

Project Structure

CompleteProject

In uVision the include was set to ..\Common\Include

I got the error

M650: Command completed successfully.

*** ERROR M204: Path not found: '../Common/Include'! error cbuild: error executing 'cbuildgen cmake'

jkrech commented 2 months ago

It would be certainly helpful to have a minimal reproducer. From the above description it is not clear to me, where the additional include has been set. I assume that you have a csolution.yml file. If that file is located in the parent folder of all project-n and the Common folder, and you describe the include in the csolution, then the specified relative paths need to be specified relative to the csolution file Common/Include Or are you automatically converting a uvmpw uVision project using uv2csolution?

FerdinandEn commented 2 months ago

The problem occurred on my home office computer. In my Office computer, I could not find the problem either in my sample project or in the project used on the home office computer. However, I converted the project again and did not use the project with the problem. For the sake of completeness, here is my example project.

Multitest.zip