Dear Jimmy,
Here it works fine. How are you building it ?
Where is FiveWin.ch in your setup ? Please check it
Better way to start is going to FWH\samples and do buildh.bat tutor01
Antonio Linares wrote:Better way to start is going to FWH\samples and do buildh.bat tutor01
Compiling...
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
Lines 5029, Functions/Procedures 1
Generating C source output to 'tutor01.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 2012-2023 Embarcadero Technologies, Inc.
bcc32.exe: warning: argument unused during compilation: '-e tutor01.exe' [-Wunused-command-line-argument]
tutor01.c:
In file included from tutor01.c:7:
In file included from c:\harbour64\include\hbvmpub.h:50:
c:\harbour64\include/hbdefs.h:50:10: fatal error: 'stdarg.h' file not found
#include <stdarg.h>
^~~~~~~~~~
1 error generated.
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'C0W32.OBJ'
* Linking errors *
C:\fwh64\samples>
BUILDh64 Tutor01
Antonio Linares wrote:You have to use buildh.bat
Please notice the h
%hdir%\bin\harbour
Compiling...
Harbour 3.2.0dev (r2008190002)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
Lines 5029, Functions/Procedures 1
Generating C source output to 'tutor01.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
tutor01.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '__streams' referenced from C:\HARBOUR\LIB\WIN\BCC\HBVM.LIB|fm
Error: Unable to perform link
* Linking errors *
Antonio Linares wrote:You have to use this Harbour build:
https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770_32_20240814.zip
Antonio Linares wrote:bcc32.exe has never been included in Harbour builds distributions
.prg.obj:
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.c.obj:
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
myapp.res : myapp.rc
c:\bcc7 $(BCDIR)\bin\brc32.exe -r -Ic:\bcc7\include\windows\sdk myapp.rc
Antonio Linares wrote:We encourage to use Harbour's own hbmk2.exe
Generating C source output to 'HB_FUNC.c'... Done.
bcc64.exe: error: unknown argument: '-CP437'
bcc64.exe: error: unknown argument: '-w-sig-'
hbmk2[test64]: Error: Running C/C++ compiler. 1
Antonio Linares wrote:Please post your HBP file here, thanks
-gui
FWEJECT.PRG
HB_FUNC.PRG
-info
-workdir=
-optim-
-ldflag+=-aa
-Ic:\fwh\include
-Lc:\fwh\lib
-lfiveh
-lfivehc
-luxtheme
hbct.hbc
xhb.hbc
hbziparc.hbc
Antonio Linares wrote:You should use these flags just for 64 bits with bcc77 64 bits:
-workdir=
-optim-
-ldflag+=-aa
Don't use them for 32 bits
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 88 guests