A program about C + + compilation cannot run a summary on a new computer

Source: Internet
Author: User

Recently in calling an SDK to debug a motherboard for Dpio.

But the compiled program on the development of the computer run no problem, to the new motherboard built on the computer system on the problem.

Summed up the next to pay attention to a few aspects.

1: There is no problem with the program itself. At least in the development of the computer system environment to run up. It's not much to say.

2: The program depends on the file to have, such as the DLL to be called in the correct directory.

3:c++ Run library. This is not the same as what is needed for different versions of studio development. But there is an easy way.

A, in the use of the VS icon you developed, properties-"Open the file location."

B. Locate the following directory C:\Program Files (x86) \microsoft Visual Studio 8\sdk\v2.0\bootstrapper\packages (I take VS2005 as an example)

This directory has the following files:

The EXE in the Vcredist directory here is the desired C + + runtime. are divided into 64 and 32 bits. So on the new computer only need to install the version you need is OK.

Finish..

A program about C + + compilation cannot run a summary on a new computer

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.