Page 1 of 1
Barlib PCODE error
Posted: Thu Sep 22, 2011 12:54 pm
by cdmmaui
Hello,
I have upgrade FWH and xHarbour and I am now getting the following error with BARLIB.LIB, is there a new version of BARLIB.LIB that runs with PCODE 10? If so, can some provide URL or e-mail me at
Darrell.Ortiz@cdmsoft.com
ERROR -> Module 'banner.prg' was compiled with PCODE version 9, this version of xHarbour expects version 10.
Thank you very much,
Re: Barlib PCODE error
Posted: Thu Sep 22, 2011 1:07 pm
by Rick Lipkin
Daniel
You will have to re-compile your Barlib library .. here is the Lib_fwh.bat file I have modified to recreate the Barlib.lib file with Borland 5.5.
Please make whatever changes you need to the paths and environmental variables.
Hope this helps.
Rick
Code: Select all
@ECHO OFF
CLS
REM set include=.\INCLUDE;%INCLUDE%
REM set hdir=c:\Xharbour
REM set bcdir=c:\bcc55\bin
C:\XHARBOUR\bin\harbour SOURCE\CODE128.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\CODE128.C
C:\XHARBOUR\bin\harbour SOURCE\CODE3DE9.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\CODE3DE9.C
C:\XHARBOUR\bin\harbour SOURCE\EAN13.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\EAN13.C
C:\XHARBOUR\bin\harbour SOURCE\GO_CODE.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\GO_CODE.C
C:\XHARBOUR\bin\harbour SOURCE\BARLIB.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\BARLIB.C
C:\XHARBOUR\bin\harbour SOURCE\CODABAR.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\CODABAR.C
C:\XHARBOUR\bin\harbour SOURCE\INT25.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\INT25.C
C:\XHARBOUR\bin\harbour SOURCE\BANNER.PRG /n /i\fwh904\include;C:\XHARBOUR\include /oOBJ\BANNER.C
rem INICIO Modulos C Generados por Harbour !!!
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\CODE128.OBJ OBJ\CODE128.C
@del OBJ\CODE128.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\CODE3DE9.OBJ OBJ\CODE3DE9.C
@del OBJ\CODE3DE9.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\EAN13.OBJ OBJ\EAN13.C
@del OBJ\EAN13.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\GO_CODE.OBJ OBJ\GO_CODE.C
@del OBJ\GO_CODE.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\BARLIB.OBJ OBJ\BARLIB.C
@del OBJ\BARLIB.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\CODABAR.OBJ OBJ\CODABAR.C
@del OBJ\CODEABAR.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\INT25.OBJ OBJ\INT25.C
@del OBJ\INT25.c
c:\borland\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -IC:\XHARBOUR\include -oOBJ\BANNER.OBJ OBJ\BANNER.C
@del OBJ\BANNER.c
rem Modulos C Nativos !!!
@del LIB\BARLIB32.LIB
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\CODE128.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\CODE3DE9.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\EAN13.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\GO_CODE.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\BARLIB.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\CODABAR.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\INT25.OBJ
c:\borland\bcc55\bin\tlib c:\barlib\lib\BARLIB32.LIB + OBJ\BANNER.OBJ
REM @del tmplib.bc
Re: Barlib PCODE error
Posted: Thu Sep 22, 2011 1:24 pm
by cdmmaui
Rick,
Awesome!!!! Thank you so much! I owe you dinner when you come through Chicago!
Re: Barlib PCODE error
Posted: Thu Sep 22, 2011 2:02 pm
by Rick Lipkin
Darrell
Glad I could help and thanks for the gracious invite !
Rick
Re: Barlib PCODE error
Posted: Wed Oct 08, 2014 6:40 am
by LuisPonce
Thank you Rick
I served me, I could create the Library.