Visual C++/Studio: Application configuration incorrect?

后端 未结 10 1661
执笔经年
执笔经年 2020-12-18 11:11

My C(++) program, written and compiled using Visual C(++)/Visual Studio, runs fine on my own machine, but refuses to run on another machine. The error message I get is \"Thi

10条回答
  •  旧巷少年郎
    2020-12-18 11:55

    Chances are high that you miss the runtime libraries of Visual Studio (CRT amongst others), you can either get rid of those dependencies (link statically) or install the VC redist packages on the target computer.

    Depending on the Visual C++ version you use, you have to install different packages :

    Visual C++ 2005

    Visual C++ 2005 SP1

    Visual C++ 2008

    Warning : those packages only contain release versions of the libraries, if you want to be able to distribute debug builds of your application you'll have to take care of the required DLL yourself.

提交回复
热议问题