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

can not find vsvars.bat #71

Open
nzb15555196162 opened this issue Nov 2, 2022 · 2 comments
Open

can not find vsvars.bat #71

nzb15555196162 opened this issue Nov 2, 2022 · 2 comments

Comments

@nzb15555196162
Copy link

1 when i clone project
2 execute like readme in windows
3 can not fund vsvars.bat,
is it a problem?

@seppestas
Copy link

@nzb15555196162 vsvars.bat was a bat file that comes with Visual Studio. It basically sets up environmental variables to use the Visual Studio compiler / toolchain.

In more recent versions of Visual Studio this was renamed to VsDevCmd.bat, see https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022#developer-command-prompt

More in-depth information: https://renenyffenegger.ch/notes/Windows/development/Visual-Studio/environment-variables/index

The documentation could use an update, though arguably better C testing suites exist now and cmockery should only be used for legacy projects. I recommend Unity, Cgreen or Googletest.

@seppestas
Copy link

Duplicate of #66

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