Page 1 of 1

Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 12:50 am
by abhinav2003
Hello

I'm having problem when I'm trying to build one of the demos that were available through the RT Druid Eclipse for Erika v3 for ATmega 328.

I was trying the full demo 2 from the provided demos ( the one with the alarms and semaphores) and whenever I'm trying to build the project I'm getting these two errors (attached image). It's not only this demo but I've tried the other 3 demos as well and I'm getting the same problem. I've rectified most of them by looking what's actually wrong so that it's giving the error but these 2 errors don't have a proper explanation about why the error is happening.
Any help would be much appreciated.

PS: I am not familiar with eclipse as I've only worked with Keil and Arduino IDE till now and it's fresh for me. So I might have made some silly mistake.

Thanks in advance

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 3:29 am
by abhinav2003
Update: i've finally got it working but when I'm trying to make upload the file into arduino uno using cygwin, it gives me the following error message
"No rule to make target 'upload'. Stop"

I've built everything. I got the .cpp file, .oil file, erika file, out file, .c file and the hidden .cproject, .project and . settings file

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 9:36 am
by paolo.gai
when you create a project, your workspace gets initialized with the source code. Then the OIL configuration build starts.

After that, you need to build the code, and get the ELF file --> were you able to compile and get the ELF file? (your mail only cites the sources and not the objects/libraries/elf files)

Finally, create the target upload and run it to program the board?

PJ

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 4:18 pm
by abhinav2003
Yes I built the project and it gave me zero errors but a few warnings which I ignored.
In the workspace directory I didn't find any .elf files
All I have are the .cpp, .oil, properties, .c and the .xml files
I tried to make the .cpp file and using "make code" command in cygwin and it's giving me the error that it cannot find the ee library itself.

Also I tried to import the project from your github for the erika v3 and I was able to import it but the eclipse isn't letting me build the project and giving me the same issue as the unable to find ee library


Thanks in advance

AK

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 4:23 pm
by paolo.gai
Please provide the console output in eclipse (not the screenshot of the eclipse error window) after you build the project.
The console output should contain the source of the error.

PJ

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 6:59 pm
by abhinav2003
Hello Paolo

I'm not receiving any more errors while building the project. Just a couple of warnings which I'm ignoring.

The new problem I'm facing right now is to make file the .cpp using Cygwin terminal because building the project isn't giving me the file that can be uploaded into the arduino using make upload. It says "no rule to make target upload". And also when I'm trying the make the file it isn't detecting the ee.h file.

Re: Getting errors while building the demo from RT Druid

Posted: Tue Oct 09, 2018 11:40 pm
by abhinav2003
Update: I forgot to add these attachments

Re: Getting errors while building the demo from RT Druid

Posted: Wed Oct 10, 2018 6:10 am
by paolo.gai
No. You cannot write "make code" expecting it to build the application...

Please follow the Wiki:
http://www.erika-enterprise.com/wiki/in ... on_Windows

PJ