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_helper_win64.bat compiling in debug mode instead of release #16

Open
JaMa-95 opened this issue May 15, 2023 · 0 comments
Open

build_helper_win64.bat compiling in debug mode instead of release #16

JaMa-95 opened this issue May 15, 2023 · 0 comments

Comments

@JaMa-95
Copy link

JaMa-95 commented May 15, 2023

I compiled the project with the build_helper_win64.bat script and included all libs and dlls to my project.
When using my executable on another system I got the following error: vcruntime140d.dll and ucrtbased.dll missing (https://answers.microsoft.com/en-us/windows/forum/all/missing-msvcp140ddll-vcruntime140ddll-and/46d00f17-4050-4fbe-b46f-3791fbc28311)(https://stackoverflow.com/questions/59494854/c-program-not-running-on-windows-systems-without-vs-installed-vcruntime140-dl).

This error results from a dependency being compiled in debug mode, which requires additonal vc runtimes on the system to execute the debug mode.

I tracked the error down to the mcl_core.dll, mcl_connectivity.dll and mcl_deployment.dll. After compiling this dlls by hand with code generation Multi-threaded DLL /MD everything worked fine.

I was not able to adapt this changes to the build_helper_win64.bat script.
It would be nice if you could do so.

Thanks.

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

1 participant