Post a new topicPost a reply Page 1 of 1   [ 5 posts ]
Author Message
 Post subject: Eclipse : Cannot find core.a and functions
PostPosted: Wed Feb 22, 2012 2:24 pm 

Joined: Wed Feb 22, 2012 1:34 pm
Posts: 22
Hi there people!

I have been trying to use Eclipse for developing on my Waspmote by using this guide I found here: http://www.eduardocc.com/EclipseWaspmot ... orial.html

It is a really nice guide, but I am having some problems, and I need help before starting on a bigger school project:

The errors I get are

Cannot find -lcore.a (c:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: cannot find -lcore)
Invalid arguments on setLED (in function Utils.setLED())

My program looks like this,
Code:
#include <WProgram.h>

void setup()
{
   // Init USB
   USB.begin();
}

void loop()
{
   // Blink LEDs
   Utils.setLED(LED0, LED_ON); // error here
   delay(500);
   Utils.setLED(LED0, LED_OFF); // and error here
   delay(500);
}

int main(void){
   init();
   setup();
   while(1) loop();

   return 0;
}


Any ideas? I will provide more information if you need it, just tell me. I REALLY have to get this working!

Thank you all


Top
 Profile  
 
 Post subject: Re: Eclipse : Cannot find core.a and functions
PostPosted: Thu Feb 23, 2012 10:43 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
Hello sinnadyr,

We have replied in this thread:
viewtopic.php?f=14&t=175&start=30

Do not open 2 threads for the same problem, please.

Best regards


Top
 Profile  
 
 Post subject: Re: Eclipse : Cannot find core.a and functions
PostPosted: Thu Feb 23, 2012 12:16 pm 

Joined: Wed Feb 22, 2012 1:34 pm
Posts: 22
I am very sorry. Please remove any post at will. I am just desperate to get this working!


Top
 Profile  
 
 Post subject: Re: Eclipse : Cannot find core.a and functions
PostPosted: Thu Feb 23, 2012 1:03 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
Dear sinnadyr,

But please note you can work perfectly on Windows, Linux or Mac thanks to our Open Source IDE+API.

There is no need to use the Eclipse compiler !!

Best regards


Top
 Profile  
 
 Post subject: Re: Eclipse : Cannot find core.a and functions
PostPosted: Thu Feb 23, 2012 1:05 pm 

Joined: Wed Feb 22, 2012 1:34 pm
Posts: 22
There is use for Eclipse when you want to have complete control over what your IDE does with your code, compile faster, access functions and libraries faster and in general: develop your application faster and with better control.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 5 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use