Page 1 of 1

problem compiling with UDP blocks

Posted: Mon May 02, 2011 2:52 pm
by gianluca
Hi,

I'm trying to compile the demo

pid_ctrl_udp_codegen.cos

but I'm experiencing the problem in attach

I'm using:

Windows XP
Erika Enterprise 1.5.1
ScicosLab 4.4 b7
Scicos_pack 9.3
Microsoft Visual C++ 2008
MPLAB C Compiler for PIC24 and dsPIC v3.25 in LITE mode

The demos without the UDP block are correctly compiled (with tons of warning however).

Any suggestion?

Thanks in advance,
g.

Re: problem compiling with UDP blocks

Posted: Mon May 02, 2011 3:57 pm
by paolo.gai
It's a (known) problem of the compiler.

Quick fix: please use a compiler version BEFORE 3.25

When it will be fixed: with release 1.6.0, hopefully released before the training course in June in Pisa (not before because we have a big deadline at the middle of May).

Why it happens: We integrated the Microchip TCP/IP library, which redefines a set of standard functions. The new compiler version made by Microchip changes the declarations done in the standard C include files, and the system does not compile well.

Ciao,

PJ

Re: problem compiling with UDP blocks

Posted: Mon May 02, 2011 3:58 pm
by paolo.gai
It's a (known) problem of the compiler.

Quick fix: please use a compiler version MAX 3.24 (3.23 works fine)

When it will be fixed: with release 1.6.0, hopefully released before the training course in June in Pisa (not before because we have a big deadline at the middle of May).

Why it happens: We integrated the Microchip TCP/IP library, which redefines a set of standard functions. The new compiler version made by Microchip changes the declarations done in the standard C include files, and the system does not compile well.

Ciao,

PJ