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

Build error for default example project in GUIX studio #3

Closed
xiongyu0523 opened this issue May 27, 2020 · 2 comments
Closed

Build error for default example project in GUIX studio #3

xiongyu0523 opened this issue May 27, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@xiongyu0523
Copy link

Latest VS 2019. GUIX Studio is installed. Double click a example project .sln under Build and start build. I got following error.

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(448,5): warning MSB8003: The VCToolsInstallDir property is not defined. Some build tools may not be found.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(449,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found.
1>TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.
@xiongyu0523 xiongyu0523 changed the title Build error for default example project in GUIX Build error for default example project in GUIX studio May 27, 2020
@jdeere5220
Copy link

jdeere5220 commented May 27, 2020

Hello xiongyu0523- Visual Studio contains (or doesn't include) many different compilers and tools. From your error message, it doesn't look like the C compiler has been installed. If you use Help|About, you should see a list of the installed components:
vs_help_about

If you don't see the C/C++ compiler in the list, try running the Visual Studio installer again. Even if it does show up in the list, it really looks like somehow the installation didn't work correctly, and my first attempt would again be to re-run the VS 2019 installer and tell it to update/re-install the C/C++ tools for native Windows app development.

@xiongyu0523
Copy link
Author

Appreciate for your help.

I have this show up but I did not install Desktop C++ toolchain before. After install this component, everything is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants