问题描述
我也跟着安装Eclipse IDE的指令从这里与我的Arduino UNO主板工作:的
I followed the instructions to setup Eclipse IDE to work with my Arduino UNO board from here: http://www.chipkin.com/articles/using-eclipse-with-arduino-duemilanove
我成功编译核心库除外tone.h文件警告。当我尝试编译它使用Arduino的库的Blinky项目,它是扔我链接错误。我把我的最后一天,想弄清楚这个问题,但没有成功。请帮我解决这个问题。
I successfully compiled the core library except a warning for the tone.h file. When I try to compile a blinky project which uses the arduino library, it is throwing me linking errors. I have spend my last day trying to figure out the problem but with no success. Please help me to resolve this issue.
编辑:现在我成功创建了模板项目下面从这里说明:
Now I successfully created a 'Template' project following instructions from here:
但问题是,当我尝试建立一个项目,这是一份模板项目,编译器将开始扔链接错误。如果我尝试编译从模板项目相同的code,它会编译罚款。请帮我解决这个问题。
But the problem is when I try to build a project which is a copy 'Template' project, compiler will start throwing linking errors. If I try to compile the same code from 'Template' project, it will compile fine. Please help me to fix this.
推荐答案
你检查的引用是正确的为您的工作空间?我不得不使用Eclipse模板的一些问题为Arduino的,因为编译器扔了很多的错误/由于各种路径会发出警告。
Have you checked the references are correct for your workspace? I had some issues using Eclipse templates for Arduino as the compiler threw up a lot of errors/warning due to various path issues.
我真的只是得到眨眼的例子,Arduino的核心库的基础上我的乌诺工作。我可以压缩,如果你想联系呢?可以阐明你要去哪里错了一些轻。
I've literally just gotten the blink example and arduino core library build working on my Uno. I could zip and link if you want? Might shed some light on where you're going wrong.
这篇关于在Eclipse IDE连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!