mingw下用g++编译的问题
ege娘吧
全部回复
仅看楼主
level 3
脸滚键盘C
楼主
编译不通过,老是提示错误
怎么破,求解
2012年10月16日 11点10分
1
level 11
EGE娘
至于在MinGW下的编译问题,会麻烦一些,如果你懂使用命令行编译,那么需要用如下指令编译:
g++ yourfile.cpp -lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows
其中yourfile.cpp是你要编译的cpp文件
2012年10月16日 15点10分
3
level 3
脸滚键盘C
楼主
thanks
2012年10月19日 10点10分
4
1