我开始了一个新项目,并尝试在 Microsoft Windows 10 上使用默认值进行编译。我需要针对特定项目为 Windows 98 进行编译。编译器显示以下错误消息[Build Error] [main.o] Error 2816
。
这是的内容main.cpp
:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
我不知道这个错误是什么意思,也没有使用谷歌找到任何东西。有任何想法吗?
编辑 - 编译日志
Compiler: Default compiler
Building Makefile: "C:\Projects\prog\Makefile.win"
Executing make...
make.exe -f "C:\Projects\prog\Makefile.win" all
gcc.exe -c main.c -o main.o -I"C:/Dev-Cpp/include"
gcc.exe main.o -o "prog.exe" -L"C:/Dev-Cpp/lib"
gcc.exe: Internal error: Aborted (program collect2)
Please submit a full bug report.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make.exe: *** [prog.exe] Error 1
Execution terminated