如何将LIB链接进程序

我是菜鸟,对于软硬件都知之不多,请问如何将LIB链接进程序,只要#INCLUDE进去就可以吗?但是我的编译器报错,我包含的是CH375HF4.H,其内对很多函数都只有声明没有定义啊?请问我该怎么做? 例如 extern UINT8 CH375FileWriteX( void ); /* 向当前文件写入指定缓冲

将CH375HF4。LIB和。C文件一样,包含到项目中。


但是我的编译器报错,那么多函数都只有声明,没有定义我不明白它们怎么可能工作呢 rocessing ".\USB-SER.r30" CH375HF4.H 701 Error (ln308): .\USB-SER.r30 : '_CH375LibConfig' value is undefined CH375HF4.H 703 Error (ln308): .\USB-SER.r30 : '_CH375GetVer' value is undefined CH375HF4.H 704 Error (ln308): .\USB-SER.r30 : '_CH375Init' value is undefined USB-SER.C 72 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 73 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 73 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 73 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 74 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 75 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 75 Error (ln308): .\USB-SER.r30 : '_CH375DiskStatus' value is undefined USB-SER.C 76 Error (ln308): .\USB-SER.r30 : '_CH375IntStatus' value is undefined USB-SER.C 76 Error (ln308): .\USB-SER.r30 : '_CH375DiskStatus' value is undefined USB-SER.C 119 Error (ln308): .\USB-SER.r30 : '_CH375FileCreate' value is undefined USB-SER.C 122 Error (ln308): .\USB-SER.r30 : '_CH375ByteLocate' value is undefined USB-SER.C 135 Error (ln308): .\USB-SER.r30 : '_CH375ByteWrite' value is undefined USB-SER.C 142 Error (ln308): .\USB-SER.r30 : '_CH375FileModify' value is undefined USB-SER.C 145 Error (ln308): .\USB-SER.r30 : '_CH375FileClose' value is undefined USB-SER.C 154 Error (ln308): .\USB-SER.r30 : '_CH375ByteRead' value is undefined USB-SER.C 176 Error (ln308): .\USB-SER.r30 : '_CH375ByteWrite' value is undefined USB-SER.C 179 Error (ln308): .\USB-SER.r30 : '_CH375ByteLocate' value is undefined


我的问题和你一样!



现在版主已经做了图片说明了,大家看看啊!!


只有登录才能回复,可以选择微信账号登录