Building Harbour + BCC7.3

Post Reply
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Building Harbour + BCC7.3

Post by hua »

I'm trying to rebuild latest Harbour using this batch file
set HB_BUILD_DYN=no
set HB_BUILD_CONTRIB_DYN=no
set path=j:\harbour\bcc7\bin
win-make.exe
But it aborted with this error. Any idea where I should start looking? TIA

Code: Select all

brcc32.exe  -I. -I../../../../../include   -foharbour.res ../../../harbour.rc
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.

Error harbour.rc 18 11: Cannot open file: winver.h
../../../../../config/rules.mk:110: recipe for target 'harbour.res' failed
 
Last edited by hua on Fri Apr 19, 2019 6:16 am, edited 1 time in total.
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
Lailton
Posts: 99
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: Building Harbour + BCC7.3

Post by Lailton »

Hi Hua,

Change your PATH to this: ( Adjust the path to your )

Code: Select all

set path=d:\bcc\bin;d:\bcc\include;d:\bcc\lib;d:\bcc\lib\psdk;d:\hb\bin;d:\hb\include;d:\hb\lib
Where the harbour will be installed

Code: Select all

set HB_INSTALL_PREFIX=d:\hb
NOTE:
Check the PATH inside files .CFG in your BCC\BIN\


And:

win-make clean
win-make install

8)
Regards,
Lailton Fernando Mariano
https://www.harbour.ninja
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: Building Harbour + BCC7.3

Post by hua »

Thanks for your reply Lailton.

I tried a few things to make it work. These combo seems to do it.
1. Copy BC7 to local drive instead of network drive
2. Update bcc32.cfg and ilink32.cfg to reflect the relocation
3. Overwrite unicows.lib in \bc7\lib\psdk with the one in \harbour\lib\3rd\win\bcc. If this is not done halfwy during compilation it'll abort saying unicows.dll not found
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply