Page 1 of 1

Building Harbour + BCC7.3

Posted: Thu Apr 18, 2019 10:03 am
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
 

Re: Building Harbour + BCC7.3

Posted: Thu Apr 18, 2019 3:18 pm
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)

Re: Building Harbour + BCC7.3

Posted: Fri Apr 19, 2019 3:51 am
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