欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2781|回復: 4
收起左側

求大佬幫忙,這個怎么改啊warning C318: can't open file 'main.h'

[復制鏈接]
ID:1002451 發表于 2022-1-23 17:27 | 顯示全部樓層 |閱讀模式
Build target 'Target 1'
compiling hhh.c...
hhh.c(1): warning C318: can't open file 'tlc5614.h'
hhh.c(2): warning C318: can't open file 'keys.h'
hhh.c(3): warning C318: can't open file 'max1223.h'
hhh.c(4): warning C318: can't open file 'nokia.h'
hhh.c(5): warning C318: can't open file 'main.h'
hhh.c(8): error C202: 'rst': undefined identifier
hhh.c(21): warning C318: can't open file 'main.h'
hhh.c(512): warning C318: can't open file 'keys.h'
hhh.c(566): warning C318: can't open file 'tlc5614.h'
hhh.c(567): warning C318: can't open file 'spi.h'
hhh.c(579): warning C318: can't open file 'spi.h'
hhh.c(580): warning C318: can't open file 'comm.h'
hhh.c(601): warning C318: can't open file 'tlc1549.h'
hhh.c(605): warning C318: can't open file 'comm.h'
hhh.c(607): warning C318: can't open file 'nokia.h'
hhh.c(712): warning C318: can't open file 'nokia.h'
hhh.c(713): warning C318: can't open file 'comm.h'
hhh.c(898): warning C318: can't open file 'comm.h'
Target not created.
Build Time Elapsed:  00:00:01

回復

使用道具 舉報

ID:96682 發表于 2022-1-23 18:52 來自觸屏版 | 顯示全部樓層
缺少相關文件,需要加入相關文件或添加它的路徑
回復

使用道具 舉報

ID:879809 發表于 2022-1-23 19:13 | 顯示全部樓層
設置工程里面的搜索路徑讓IDE能找到這些文件。
回復

使用道具 舉報

ID:584814 發表于 2022-1-24 09:43 | 顯示全部樓層
標準外國話:warning C318: can't open file 'main.h'
山東美國話:警告類型C318:不能打開文件'main.h'
可能的原因:抄來沒搞全套,丟了'main.h'文件;或有這個文件但路徑沒按要求給出。
解決的辦法:弄個'main.h'文件放在與程序同一目錄,或者放在系統能找到的地方。
回復

使用道具 舉報

ID:526543 發表于 2022-1-26 12:55 | 顯示全部樓層
路徑添加一下
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表