"__Lib_Enc_Basic_p30" help

Discuss about beta versions of mikroPascal compiler.
Post Reply
Author
Message
lolkusus
Posts: 1
Joined: 23 Dec 2011 21:06

"__Lib_Enc_Basic_p30" help

#1 Post by lolkusus » 23 Dec 2011 21:11

Can you help me this is my program, but MikroPascal always writes me "0:0 E-0 Linker error: Redefined: WBMCMD __Lib_Enc_Basic_p30b.dpas "

Code: Select all

program test;

uses enc_utils;

var
   Mac : array [6] of byte;
   Ip  : array [4] of byte;

begin

Mac[0] := 0xD4;
Mac[1] := 0xF4;
Mac[2] := 0xDD;
Mac[3] := 0xCC;
Mac[4] := 0xAA;
Mac[5] := 0x62;

Ip[0] := 192;
Ip[1] := 168;
Ip[2] := 0;
Ip[3] := 113;

begin

     Spi1_Init();
     SPI_Ethernet_Init(PORTF, 0, PORTF, 1, Mac, Ip, SPI_Ethernet_FULLDUPLEX);
while true do

SPI_Ethernet_doPacket();

end;

end.
Can you help me ?

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: "__Lib_Enc_Basic_p30" help

#2 Post by janko.kaljevic » 26 Dec 2011 13:20

Hello,

It is highly recommended to upgrade your compiler to latest version.
You can download it from here:
http://www.mikroe.com/eng/products/view ... o-for-pic/

Best regards.

Post Reply

Return to “mikroPascal Beta testing”