标签:compiler reference option window ref define mpi toc linker
出错原因:
程序被解析为UI程序,所以要链接UI设置
解决办法:
找到 settings -> compiler settings -> linker settings -> other link options 处,添加 -mwindows 即可
Codeblocks-undefined reference to `GetStockObject@4
标签:compiler reference option window ref define mpi toc linker
原文地址:https://www.cnblogs.com/reverse201/p/10506815.html