This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6670与pc机通过EMAC接口通信



6670与pc机通过EMAC接口通信时,为什么编译会出现如附件所示的错误?程序里面并未标记错误,但却有很多problems~~~~

  • 可能是工程中缺少相应的lib导致,对Bios工程可以在工程属性RTSC中选中相应的NDK、platform lib,或者在工程属性linker file search path中添加相应的lib。

    你导入的是mcsdk下的例程么,可以将ccs关掉重新导入一遍试试,或者按照上面方法check一下添加的lib。

  • 不是,是我自己新建的一个工程,我之前也试下,可是problems还是一样的,但是当我把自己工程里面的void main()删除,再额外添加一个.c文件(内容直接用的新建sys/bios时自带的那个main.c里的内容)就编译通过了~~~这是为什么,如何解决?