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

Windows .exe files depend on MSVCP140.dll #51

Closed
RobertCElliott opened this issue Oct 27, 2017 · 1 comment
Closed

Windows .exe files depend on MSVCP140.dll #51

RobertCElliott opened this issue Oct 27, 2017 · 1 comment

Comments

@RobertCElliott
Copy link

The Windows binaries on https://ci.appveyor.com/project/opcm/pcm/build/artifacts result in this error on a clean Windows system:

pcm-memory.exe - System Error
The code execution cannot proceed because MSVCP140.dll was not found. Reinstalling the program may fix this problem.

That is apparently looking for Visual C++ Redistributable for Visual Studio 2015. However, there is no .msi installer program to help distribute the necessary DLLs. Perhaps there is there a compiler option to make these .exe files work on their own?

@opcm
Copy link
Contributor

opcm commented Oct 30, 2017

I think there is an option for static compilation but then the binaries will get big and no re-use of the MSFT libraries will be possible with other applications. One can just install the redistributable to fix the issue: https://www.microsoft.com/en-us/download/details.aspx?id=48145
I will put the link in the README.

@opcm opcm closed this as completed Oct 30, 2017
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