Hi,
My name is Junjie Shi, I am a PhD student from TU Dortmund.
Recently, I am using the new release of ERIKA V3 on windows 10-64 bit.
After installing all the needed software following the "quick start", I am unable to build the project, the error messages are shown as follows:
15:51:34 **** Incremental Build of configuration Default for project fachproject ****
make all
make[1]: Entering directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika'
ERIKA_FILES=/cygdrive/c/Users/JUNJIE~1/DOCUME~1/ARDUIN~1/ECLIPS~1/eclipse/plugins/COMEUE~1.201/ee_files
make[2]: Entering directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika/doc'
************************************************
* Erika Enterprise Documentation Generation... *
************************************************
**********************************************************
* Erika Enterprise Documentation Generated successfully! *
**********************************************************
make[2]: Leaving directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika/doc'
make[2]: Entering directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika'
***************************************
* Erika Enterprise Libraries build... *
***************************************
CC hooks.c
/bin/sh: C:\PROGRA~1\cygwin/bin/avr-gcc: No such file or directory
make[2]: *** [/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika/mk/ee_arch_rules.mk:201: obj/hardware/arduino/avr/cores/arduino/hooks.c.o] Error 127
make[2]: Leaving directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika'
make[1]: *** [makefile:77: all] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika'
make: *** [makefile:92: /cygdrive/c/Users/JUNJIE~1/WORKSP~1/FACHPR~1/erika/lib] Error 2
15:51:38 Build Finished (took 4s.467ms)
It may be caused by the path problem. Can anyone give me some suggestions? Thanks in advance!
Build errors when using Erika3
Moderator: paolo.gai
Re: Build errors when using Erika3
The makefile cannot find the compiler...
You need to:
1) install the Arduino tools
2) link the compiler inside the properties, see
http://www.erika-enterprise.com/wiki/in ... figuration
I hope it helps...
PJ
You need to:
1) install the Arduino tools
2) link the compiler inside the properties, see
http://www.erika-enterprise.com/wiki/in ... figuration
I hope it helps...
PJ
Re: Build errors when using Erika3
Hi,
Thanks for your answer.
I have installed the Arduino (tried both 1.8.4 and 1.8.5), and it still doesn't work. (the same error message)
It seems that there is no file under "obj" folder, all the files haven't been copied from Arduino tool.
Thanks for your answer.
I have installed the Arduino (tried both 1.8.4 and 1.8.5), and it still doesn't work. (the same error message)
It seems that there is no file under "obj" folder, all the files haven't been copied from Arduino tool.
Re: Build errors when using Erika3
Can you please write:
- the directory where arduino is installed on your machine
- the value that you put in the RT-Druid properties (I mean the 4 values on the properties in Figure 12 of http://www.erika-enterprise.com/wiki/in ... figuration )
PJ
- the directory where arduino is installed on your machine
- the value that you put in the RT-Druid properties (I mean the 4 values on the properties in Figure 12 of http://www.erika-enterprise.com/wiki/in ... figuration )
PJ
Re: Build errors when using Erika3
Hi,
I just find the reason...
I set the path of "AVR GCC Compiler" to the cygwin, which causes the problem. I should leave it as empty.
Now, it works~
Thanks a lot!
I just find the reason...
I set the path of "AVR GCC Compiler" to the cygwin, which causes the problem. I should leave it as empty.
Now, it works~
Thanks a lot!