FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Building Harbour + BCC7.3
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Building Harbour + BCC7.3
Posted: Thu Apr 18, 2019 10:03 AM
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 (fw): Select all Collapse
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
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Building Harbour + BCC7.3
Posted: Thu Apr 18, 2019 03:18 PM
Hi Hua,

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

Code (fw): Select all Collapse
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 (fw): Select all Collapse
set HB_INSTALL_PREFIX=d:\hb


NOTE:
Check the PATH inside files .CFG in your BCC\BIN\


And:

win-make clean
win-make install

:-)
Regards,

Lailton Fernando Mariano
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Building Harbour + BCC7.3
Posted: Fri Apr 19, 2019 03:51 AM

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.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion