Error: Unable to load DLL "hdevenginecpp": The specified module could not be found

Error: Unable to load DLL "hdevenginecpp": The specified module could not be found

When using the halcon engine, the error shown in the following figure occurred during the operation after the DLL file was correctly quoted:

In the resolution process, the following reasons that may cause this error are summarized:

1. Forgot to configure the environment variables of the computer after installing the Halcon software.

Solution: Right-click on My Computer—Properties—Advanced System Settings—Environment Variables, find Path in the system variables, and add the two paths in the figure below.

2. Check whether halcon.dll, halconcpp.dll, halcondotnet.dll, hdevenginedotnet.dll, halconc.dll are placed under the project file.

Solution: Place the dll file shown below in the Debug directory of the project file

The above two methods should be able to solve this problem, if there is a better method, welcome to add~

Guess you like

Origin blog.csdn.net/Kevin_Sun777/article/details/112888400