필터 지우기
필터 지우기

libeng.dll problem with using Matlab to C/C++

조회 수: 24 (최근 30일)
Hyeon yeong Kim
Hyeon yeong Kim 2021년 1월 4일
답변: Srishti Sahni 2022년 5월 18일
First, I am using Windows 10 pro 64bit, visual studio 2019, and Matlab R2020b.
I wanted to use Matlab in C++ and followed the common ways of the Internet.
The following error occurred when debugging.
error : "The program can't start because libeng.dll is missing form your computer. Try reinstalling the program to fix this problem"
The first way I followed the link's solution, but it wasn't solved.(https://kr.mathworks.com/matlabcentral/answers/100603-how-can-i-compile-a-matlab-engine-application-using-microsoft-visual-studio-9-0-or-10-0?s_tid=srchtitle)
The second method downloaded 'libeng.dll' from the Internet and copied it to "C:\Windows\System32", "C:\Windows\SysWOW64", but the following error occurred.
error : "The application was unable to start correctly (0xc000007b). Click OK to close the application."
To solve the error 0xc000007b, I decided to use the Dependency Walker to see if there was a problem with the libeng.dll.
I don't know why, but on my computer, the Defendency Walker didn't work and I used the open-source Modern Defense Walker. (https://github.com/lucasg/Dependencies)
The libeng.dll on System32 and SysWOW64 was scanned, but no problems were found.
And I checked the .exe file of the project, I found that 'libmx.dll' and 'libeng.dll' are the problems.
What should I do here?

답변 (1개)

Srishti Sahni
Srishti Sahni 2022년 5월 18일
This error indicates that the file libeng.dll is missing from your MATLAB installation directory.
This can occur if certain antivirus software is installed (Webroot, etc.) and it quarantines the file.
To resolve the issue, open the antivirus software and restore the quarantined file libeng.dll.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by