BCC 7.3

Moderator: Enrico Maria Giordano

Post Reply
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

BCC 7.3

Post by devtuxtla »

Hi Enricco

where can i find Bcc 7.3, for new version of xharbour 7.3 ?

Thanks

Regards
Visite Chiapas, el paraiso de México.
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: BCC 7.3

Post by devtuxtla »

Hola Enrico

Gracias, muchas Gracias.

Saludos
Visite Chiapas, el paraiso de México.
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: BCC 7.3

Post by devtuxtla »

Hi Enrico

When link my application with bcc73 it gives me the following error: "Faltal unable to open file uuid.lib"
Do you know what I have to do to correct this problem?
use xharbour for bcc 7.3
Thank you

Regards
Visite Chiapas, el paraiso de México.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: BCC 7.3

Post by Enrico Maria Giordano »

Please, look inside your compile batch and remove uuid.lib. It is not needed.

EMG
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: BCC 7.3

Post by devtuxtla »

Hi Enrico.

UUID.LIB it´s not included in buildx.bat file,

I try to build an empty prg, demo00.pg like this " FUNCTION MAIN();RETURN .T. "

I use this buildx.bat

Thanks Enrico.

thanks for your help

Code: Select all

@ECHO OFF
CLS
ECHO 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커
ECHO ?FiveWin for xHarbour 17.05 - Feb. 2017          xHarbour development power 넵
ECHO ?(c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 넴
ECHO 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸?
ECHO  賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽賽?

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=s:\fwh1705
if "%XHDIR%" == "" set XHDIR=s:\Xharbour730
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=s:\bcc73
set fwh=%FWDIR%

%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include;c:\Herramientas\SQLRDD_2017\Include /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32.exe -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib %fwh%\lib\libmysql.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\codepage.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc
echo %hdirl%\libmisc.lib + >> b32.bc
echo %hdirl%\tip.lib + >> b32.bc
echo c:\Herramientas\SQLRDD_2017\Lib\sqlbcc730.lib + >> b32.bc

echo %hdirl%\png.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\psdk\ws2_32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbccp32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
rem echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
:COMPILEERRORS
@type warnings.log
@type comp.log
ECHO * Compile errors *
GOTO EXIT
:LINKERROR
ECHO * Linking errors *
GOTO EXIT
:SINTAX
ECHO    SYNTAX: Build [Program]     {-- No especifiques la extensi? PRG
ECHO                                {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT
Visite Chiapas, el paraiso de México.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: BCC 7.3

Post by Enrico Maria Giordano »

I just tried your batch and it worked fine. No uuid.lib error. Can I see your bcc32.cfg and ilink32.cfg that should be in the BCC\bin directory?

EMG
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: BCC 7.3

Post by devtuxtla »

Hi Enrico

ilink32.cfg : -L"..\..\..\BORLAND\BCC72\lib";"..\..\..\BORLAND\BCC72\lib\psdk"

bcc32.cfg : -I"..\..\..\BORLAND\BCC72\include";"..\..\..\BORLAND\BCC72\include\windows\crtl";"..\..\..\BORLAND\BCC72\include\dinkumware";"..\..\..\BORLAND\BCC72\include\windows\rtl";"..\..\..\BORLAND\BCC72\include\windows\sdk";"..\..\..\BORLAND\BCC72\include\windows\sdk\atl"
-L"..\..\..\BORLAND\BCC72\lib";"..\..\..\BORLAND\BCC72\lib\psdk"
-g0

Thanks Again
Visite Chiapas, el paraiso de México.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: BCC 7.3

Post by Enrico Maria Giordano »

They are not right. They point to BCC72 directory while they should point to BCC73 one.

EMG
devtuxtla
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: BCC 7.3

Post by devtuxtla »

Hi Enrico.

I see the probleam, now it´s correct... ( paths for bcc73 are incorrect)

Thanks a lot, Enrico

Regards.
Visite Chiapas, el paraiso de México.
Post Reply