problem compiling with UDP blocks

A forum useful to discuss the details of the ScicosLab code generator.

Moderator: paolo.gai

Locked
gianluca
Newbie
Posts: 4
Joined: Sat Apr 02, 2011 3:17 pm

problem compiling with UDP blocks

Post by gianluca » Mon May 02, 2011 2:52 pm

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.
Attachments
Immagine.JPG
Immagine.JPG (242.81 KiB) Viewed 1581 times

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: problem compiling with UDP blocks

Post by paolo.gai » Mon May 02, 2011 3:57 pm

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

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: problem compiling with UDP blocks

Post by paolo.gai » Mon May 02, 2011 3:58 pm

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

Locked