本文介绍了c++ graphics.h -lbgi not found的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
我有这个代码:
但我收到此错误:
我将它添加到链接器选项以及其他内容中.
I added it to linker options and also the other things.
我该怎么办?
推荐答案
下载 this 并将其放入 C 编译器的 lib 文件夹中.也不要忘记添加链接器:
Download this and put it in your C compiler's lib folder. Also do not forget to add in the linkers:
执行上述操作后,您将获得属于initgraph()
或其他的实际编译错误.
After doing above, you would get the actual compile error belonging to initgraph()
or other.
它在 Codeblocks 13.12 中对我有用.
It is worked for me in Codeblocks 13.12.
这篇关于c++ graphics.h -lbgi not found的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!