生成错误:不知道如何制作obj [英] Build error: don't know how to make obj

查看:195
本文介绍了生成错误:不知道如何制作obj的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我给出了包含xyz.c的源路径,然后尝试构建
从命令提示符下,使用命令build -ceZ.我收到此错误.

NMAKE : fatal error U1073: don''t know how to make xyz.obj

解决方案

我不熟悉build命令,但是在这种情况下的常见问题是构建系统没有规则来显示如何编译文件.您需要在make中设置一条规则(假设使用一个)或其他参数文件,以告诉生成系统生成哪些语句,以便将.c文件编译为.obj.


I have given source path where I included xyz.c .Then I tried to build
from command prompt with the command build -ceZ. I am getting this error.

NMAKE : fatal error U1073: don''t know how to make xyz.obj

解决方案

I am not familiar with the build command but the usual problem in a case like this is that the build system has no rule showing how to compile the file. You need to set a rule in your make (assuming this uses one) or other parameter file to tell the build system what statements to generate in order to compile a .c file into .obj.


这篇关于生成错误:不知道如何制作obj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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