gpt4 book ai didi

c++ - 编译(?)问题。 Visual Studio C++ 2008

转载 作者:太空狗 更新时间:2023-10-29 23:34:43 33 4
gpt4 key购买 nike

我在 XP 上网本上使用一个应用程序来调校汽车。它工作得很好。然后我需要做一个简单的修改(输出到 STDOUT 而不是文件)所以我从作者那里得到了来源。

我的上网本没有编译器的空间。我在 Windows 7 桌面上安装了 Visual Studio C++ 2008。我在桌面上进行了调整、编译和测试,效果很好。然后我将可执行文件复制到上网本,它不会运行

"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem"

原始(预编译)exe 工作正常。为了排除我的更改,我编译了没有 mod 的源代码,但它仍然没有用。可执行文件在 7 机器以及我试过的另一台 Win Vista 机器上运行良好。

所以这显然与 XP 机器和可执行文件的编译方式有关。我真的不知道这些东西是如何工作的,所以我不知道该尝试什么。

最佳答案

几个想法:

正如 Keith 所说,这是 DLL/ list 问题。

  1. 获取 Visual Studio 2008 可再发行版(用于匹配应用程序平台)并将其安装在上网本上。

  2. 如果这没有帮助:使用 Dependency Walker找出您缺少的其他 DLL。

关于c++ - 编译(?)问题。 Visual Studio C++ 2008,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1518480/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com