"Unable to start the program because *. dll is lost in the computer" Run EXE error Solution

Source: Internet
Author: User

I copied the compiled Win32 release EXE file to another computer, but found that the program could not run. The error is as follows:

The error message "pcl_common_release.dll" indicates that the dynamic link library is missing. Why does the computer generated in the compilation not mention that the dynamic link library is missing, but is missing on another computer?

Because I have written the folder where pcl_common_release.dll is located in the path of the system environment variable, and this does not exist on another computer because the PCL node cloud library is not installed. DLL file, and the location of the file where the dynamic link library is located is not written in the environment variable.

There are two solutions:

1. If the computer is running and the required PCL library is installed, you only need to check whether the DLL file location is written to the path of the system environment variable. On the author's computer, the location is in C: \ Program Files (x86) \ PCL 1.6.0 \ bin, add it to the environment variable, run the EXE, and the same error no longer occurs. If other libraries are missing, install the same method.

2. For computers that do not have a PCL library installed or do not want to add environment variables, you can find the missing DLL files, put it in the same folder of the EXE file to be run, because the system's search location contains the directory where the EXE file is located and the Directories specified in the environment variable path, this solves this problem. After adding the library, you may be prompted to missing other libraries before running the program. Install the same method and add it in sequence. When running on any computer, you only need to copy the EXE file and all the files in the folder to the same folder on the other computer, and there will be no missing DLL errors.

"Unable to start the program because *. dll is lost in the computer" Run EXE error Solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.