-
Notifications
You must be signed in to change notification settings - Fork 53
Building issue #27
Comments
Hello Przasa! If I use
Let me know. |
Hello shperplata Moreover, building the project the second (and nth) time, leads to some problems:
I would be grateful for receiving advise. Best Regards, |
Great, I will add this to the docs.
I can't really see what is your complete folder structure. What is your workspace (current) working directory? 'c_cpp_properties.json' paths should be relative to cwd - workspace root directory.
This is not an error, just a notification of make.exe - nothing to do, project is already in the latest build state.
As it says, change to correct interface, and see if other errors will be resolved. Following lines ( Also, switch to previous version of compiler. I didn't check the latest version, but there were some issues reported here. |
I have followed your instruction, but i still struggling with files linking. After implementing basic instruction to main.c, VSCode is showing some errors also. Also the cortex dubugger is not able to run: I am sending the full project here. Please help me to find the issue. |
Yeah, I see the problem now. I wasn't paying attention before, since my autocomplete/go to definition worked. What you are seeing is already reported VS Code bug (#3912), but it shouldn't affect the build process. IDE indeed shows error squigles, but paths are actually resolved when build process is run. Is it true, your build task is successfully executed?
This issue is a little more complex as it seems, and I can't give you instructions how to solve it - I don't have any STM32F1 board. Anyway, don't give up yet, here are a couple of clues:
Just as a precaution: as *.json fields can be edited manually, it is easy to make mistake and not update all the relevant fields in all *.json files. The safest way is to just use updatePaths.py script while changing workspace settings. |
Thank you for spending time for my case. I'll try to expirements with your clues. In the meanwhile i switched to platform.io where everything works fine. Since it's a pretty similar project, i should compare the differences between them. If i'll get the solution, I'll share it hare. |
Hi. I encountered a problem during building the code. It's seems, I am not able to lounch the "make.exe". Probably there is something missing in json.files, but I can't find the reason (everything look fine).
I was able to run "make.exe" from cmd but, i don't know how to move forward with VS.
I'll be really grateful for receiving an advice.
The text was updated successfully, but these errors were encountered: