-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Use extra command to compile failure #38928
Comments
This issue has been closed because it represents a question. Questions are better addressed on StackOverflow. See also our issue reporting guidelines. Happy Coding! |
I think this issue isn't question, it maybe vscode bug, @dbaeumer please re-check this issue |
It doesn't explain what your issue is with the Windows command and the screen shots are not very helpful. What happens if you execute the command in the integrated terminal. E.g. type: |
I have one question, |
By default VS Code uses PowerShell as the command interpreter however this can by customizer using the |
I am try to use cmd ( |
I would think that this is caused by a environment difference between the external and the internal PS instance. But I am neither a gcc nor gmake expert. |
I am try recording output log, type have any chance to fix it? |
I have to say I am still not sure I fully understand what your problem is exactly. Can you create a GitHub repository that I can clone with simple steps to reproduce. Without being able to reproduce the problem we don't know what to fix. |
Okay, setup environment: modifiy compile var: compile command: I think compile this code need build-in compiler, If you still need use GitHub, |
I really would appreciate a GitHub repository I can clone with a Readme of steps how to setup and reproduce. |
This SDK is very large (about 6G, there are include RTOS, arm, dsp, tools... etc.), |
Have you tried to reproduce this with a smaller example with gmake, ... that doesn't need the full SDK. (6GByte sounds huge) |
I think this issue maybe occur at terminal complex output, |
@Tyriar are you aware of the integrated terminal not showing all output of a command ? |
@dbaeumer I was already upload source code to GitHub as below, there are need toolchain, download link as below, the SDK folder structure as below |
Downloading a 6GB SDK and installing it is something I want to avoid. Since you are experienced with this can you try to reproduce this with a smaller setup. My by only gmake or other g++ tools. @Tyriar @jackietw runs something in the integrated terminal and the terminal is missing output compared to a normal terminal. Is this ringing a bell for you. |
My guess would be environment differences. @jackietw could you run |
PowerShell:PS.txt
VS Code Terminal:VS.txt
|
It looks like your Path differs, maybe that's the problem? Bit hard to tell myself as I'm not familiar with the tooling you're using. |
The path looks is same, but VS CODE added some variables. PS Path:
VS CODE Path:
it is differs part:
but this parameter only VS CODE have. |
I don't really have anything else to go on but this looks suspiciously similar to a problem that Python experiences so I'm going to close this in favor of #40199 |
@Tyriar What time can fix this issue? I am try modified "terminal.explorerKind" parameter to external terminal, it seem has same problem, so I am not sure what's happen. But if I don't print anything on integrated terminal, vs code can compile finish correctly. |
Steps to Reproduce:
I am use gcc (gmake) compiler to compile DSP code was failure on Windows version,
but the same code working on linux version haven't this issue,
and I use command to compile also haven't this issue, just only use vs code windows version to compile has this issue,
How can I do?
Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: