无法编译BACnet代码

时间:2013-01-18 23:34:15

标签: dynamic-c

我正在尝试在Rabbit Processor上运行一些BACnet代码,它会引发以下错误:

line  200 : ERROR BACNET.LIB   : 'STDINT.H' cannot be found.            
line  201 : ERROR BACNET.LIB   : 'CONFIG.H' cannot be found.            
line  202 : ERROR BACNET.LIB   : 'VERSION.H' cannot be found.           
line  204 : ERROR BACNET.LIB   : 'KEY.H' cannot be found.               
line  205 : ERROR BACNET.LIB   : 'KEYLIST.C' cannot be found.           
line  206 : ERROR BACNET.LIB   : 'INDTEXT.C' cannot be found.           
line  207 : ERROR BACNET.LIB   : 'FIFO.C' cannot be found.              
line  208 : ERROR BACNET.LIB   : 'RINGBUF.C' cannot be found.           
line  209 : ERROR BACNET.LIB   : 'FILENAME.C' cannot be found.          
line  210 : ERROR BACNET.LIB   : 'MEMCOPY.C' cannot be found.           
line  211 : ERROR BACNET.LIB   : 'CRC.C' cannot be found.               
line  213 : ERROR BACNET.LIB   : 'BACENUM.H' cannot be found.           
line  214 : ERROR BACNET.LIB   : 'BACDEF.H' cannot be found.            
line  215 : ERROR BACNET.LIB   : 'BACSTRUCTS.H' cannot be found.        
line  217 : ERROR BACNET.LIB   : 'BACSTR.C' cannot be found.            
line  218 : ERROR BACNET.LIB   : 'BITS.C' cannot be found.              
line  219 : ERROR BACNET.LIB   : 'BACINT.C' cannot be found.            
line  220 : ERROR BACNET.LIB   : 'BACREAL.C' cannot be found.           
line  221 : ERROR BACNET.LIB   : 'DATETIME.C' cannot be found.          
line  223 : ERROR BACNET.LIB   : 'TXBUF.C' cannot be found.

问题是所有“.c”文件都存在于同一目录中,我还提到了项目选项中的include路径。还有其他一些我需要照顾的环境吗?有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:1)

动态c目录中的lib.dir文件需要添加bacnet文件夹。需要添加arc,demo \ handlers和demo \ objects文件夹。