编译提示

目前创新互联已为1000多家的企业提供了网站建设、域名、
虚拟主机、网站托管维护、企业网站设计、
费县网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。
make: *** No rule to make target 错误原因、分析和解决办法
:-1: error: No rule to make target 'wqLineItem.cpp', needed by 'debug/wqLineItem.o'. Stop.

原来这个原因是丢失文件啊 ,终于明白了 ,看来网上的代码不可信
有个已有的Makefile,执行过程中出错:
CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding/src $ make html =============================== cleaning html ============================== rm -rf ../output/html/single/* make: *** No rule to make target ` ‘, needed by `../output/html/single/python_topic_str_encoding.html’. Stop. |
【解决过程】
1.换到别的,和当前文件夹等价的路径中去执行,结果却是正常的:
CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding/src $ cd ../../python_topic_web_scrape/src CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_web_scrape/src $ make html =============================== cleaning html ============================== rm -rf ../output/html/single/* =============================== generating html ============================== export XML_CATALOG_FILES="/home/develop/docbook/config_root/catalog/catalog.xml" && \ export XML_DEBUG_CATALOG=1 && \ …… |
2.后来折腾半天,最后终于发现,原来是由于,当前Makefile中的内容是:
?
1 另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
新闻名称:QT编译错误汇聚-创新互联
文章路径:http://cxhlcq.cn/article/ddcsjs.html
-
在线咨询
 微信咨询

 电话咨询
-
028-86922220(工作日)
18980820575(7×24)
-
 提交需求
-
 返回顶部
|