Scicos does not produce the Makefile.

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
francesco
Newbie
Posts: 18
Joined: Mon Mar 03, 2008 1:07 pm

Scicos does not produce the Makefile.

Post by francesco » Fri Apr 11, 2008 10:13 am

The problem is due to the expired license for the Microchip C30 compiler. You can solve the problem changing in the file compile.sh under your Scilab path (i.e. scilab-4.1.2\\contrib\\dspic\\) and subsitute at line 12:

cat conf_scicos.oil | ${EE_INSTALLDIR}/pic30/pic30-elf/bin/pic30-elf-gcc -c - -E -P > conf.oil

with this new line:

cat conf_scicos.oil | gcc -c - -E -P > conf.oil

In this way the gcc preprocessor is called instead of the pic30-elf-gcc.

Post Reply