Skip to content

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

@JaMa-95

Description

@JaMa-95

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions