在编译程序期间,它显示错误“目标'的配方'mainn.o'f [英] during compilation of a program its showing error that "recipe for target 'mainn.o' f

查看:290
本文介绍了在编译程序期间,它显示错误“目标'的配方'mainn.o'f的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编制程序期间,它显示错误第28行,G:\ aaa \ Makefile.win

"目标''main.o''的配方失败了

请帮我解决一下..

解决方案

你在哪里获得makefile?


< blockquote>它安装在DEV C ++软件中


makefile是根据你的项目代码生成的。没有看到你的main()代码,我不能肯定但你可能没有正确编译。


生成一个目标文件(.o)可能会失败如果你的代码有错误。


在此之前是否还有其他错误?


during compilation of a program its showing error that "line 28",, G:\aa\Makefile.win
" recipe for target ''main.o'' failed"
please help me how to debug it..

解决方案

Where did you get the makefile?


its installed in that DEV C++ software


The makefile is generated based on your project code. Without seeing your code for main(), I can''t say for sure but you may not have compiled correctly.

Generating an object file ( a .o) can fail if your code has errors.

Are there any other errors before this one?


这篇关于在编译程序期间,它显示错误“目标'的配方'mainn.o'f的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆