Building Harbour + BCC7.3

Building Harbour + BCC7.3

Postby hua » 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: Select all  Expand view

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.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: Building Harbour + BCC7.3

Postby Lailton » Thu Apr 18, 2019 3:18 pm

Hi Hua,

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

Code: Select all  Expand view
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  Expand view
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
User avatar
Lailton
 
Posts: 149
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: Building Harbour + BCC7.3

Postby hua » Fri Apr 19, 2019 3: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
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 47 guests