Windows 安装MinGW, 使用g++ 编译cpp 文件。

总是出现下面的问题:

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingw32.a(setargv.o):(.text+0x33): undefined reference to `__chkstk_ms'

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingwex.a(glob.o):(.text+0x6ef): undefined reference to `__chkstk_ms'

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingwex.a(glob.o):(.text+0x86b): undefined reference to `__chkstk_ms'

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingwex.a(glob.o):(.text+0x8b4): undefined reference to `__chkstk_ms'

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingwex.a(glob.o):(.text+0xa7b): undefined reference to `__chkstk_ms'

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingwex.a(glob.o):(.text+0xc6c): more undefined references to `__chkstk_ms' follow

collect2: ld returned 1 exit status


spursyy
浏览 4678回答 1
1回答

为梦想努力_冬

可能是版本不对
打开App,查看更多内容
随时随地看视频慕课网APP