**已关闭。**此问题需要debugging details。当前不接受答案。
编辑问题以包括desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem。这将有助于其他人回答问题。
4天前关闭。
Improve this question
我试图使用2015 XP工具集制作一个程序,以便它与windows xp及更高版本兼容,但我甚至无法编写基本代码,而不会在运行时抛出构建错误。有人有任何建议吗?toolset image hereerror image here
我试过使用2017年的工具集,也不起作用。
错误内容为:“存在生成错误。是否继续并运行上次成功的生成?”
控制台输出:
- “link.exe”已退出,代码为1104。*
- 无法打开文件'kernel32.lib'*
#include <iostream>
#include <string>
int main() {
std::string input;
std::cout << "Test";
std::cin >> input;
};
1条答案
按热度按时间toiithl61#
没关系伙计们,我想通了。我忘记安装这个组件了。enter image description here