Page 1 of 1
Re: What is wrong with 24.07
Posted: Tue Sep 10, 2024 9:29 am
by Antonio Linares
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
Re: What is wrong with 24.07
Posted: Tue Sep 10, 2024 10:21 am
by Jimmy
hi Antonio,
have found my Error.
i have load *.HBP into HMG IDE so it was destroyed
Antonio Linares wrote:Better way to start is going to FWH\samples and do buildh.bat tutor01
i still have Problem with Environment of 24.07 *.BAT files
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>
but i got
running under 64 Bit Environment
Re: What is wrong with 24.07
Posted: Tue Sep 10, 2024 1:29 pm
by Antonio Linares
You have to use buildh.bat
Please notice the h
Re: What is wrong with 24.07
Posted: Tue Sep 10, 2024 1:46 pm
by Jimmy
hi Antonio,
Antonio Linares wrote:You have to use buildh.bat
Please notice the h
I have try
BUILD
H.BAT Tutor01
and got a Error at line
%hdir%\bin
\WIN\BCC\harbour
but my harbour Version is in
after change it i got
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 *
Re: What is wrong with 24.07
Posted: Tue Sep 10, 2024 1:53 pm
by Antonio Linares
Re: What is wrong with 24.07
Posted: Wed Sep 11, 2024 4:53 am
by Jimmy
hi Antonio,
but that File does not include BCC32.EXE any more
Re: What is wrong with 24.07
Posted: Wed Sep 11, 2024 6:43 am
by Antonio Linares
bcc32.exe has never been included in Harbour builds distributions
Re: What is wrong with 24.07
Posted: Wed Sep 11, 2024 11:14 am
by Jimmy
hi Antonio,
Antonio Linares wrote:bcc32.exe has never been included in Harbour builds distributions
but it is in those c:\fwh\makes\*.MAK Files for 32 Bit
Code: Select all | Expand
.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
so my *.MAK Files CRASH without BCC32 ?
Re: What is wrong with 24.07
Posted: Wed Sep 11, 2024 1:40 pm
by Antonio Linares
Yes, for those makes you need Borland make
We encourage to use Harbour's own hbmk2.exe:
https://fivetechsupport.com/forums/view ... 48#p273085
Re: What is wrong with 24.07
Posted: Thu Sep 12, 2024 4:06 pm
by Jimmy
hi Antonio,
Antonio Linares wrote:We encourage to use Harbour's own hbmk2.exe
i would like to use new Style with hbmk2.exe but i got unkown Error with new Style like
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
i don´t "see" where "-CP437" or "-w-sig" are used and don´t understand those new Error, so i stay at old working Version using *.MAK File
Re: What is wrong with 24.07
Posted: Thu Sep 12, 2024 4:58 pm
by Antonio Linares
Dear Jimmy,
Please post your HBP file here, thanks
Re: What is wrong with 24.07
Posted: Fri Sep 13, 2024 5:21 am
by Jimmy
Antonio Linares wrote:Please post your HBP file here, thanks
this i have made follow your Sample
Code: Select all | Expand
-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
Re: What is wrong with 24.07
Posted: Fri Sep 13, 2024 12:07 pm
by Antonio Linares
Dear Jimmy,
You should use these flags just for 64 bits with bcc77 64 bits:
-workdir=
-optim-
-ldflag+=-aa
Don't use them for 32 bits
Re: What is wrong with 24.07
Posted: Fri Sep 13, 2024 1:31 pm
by Jimmy
hi Antonio,
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
OK, understand.
I have just copy your Sample TEST.HBP from Thread
https://forums.fivetechsupport.com/view ... =3&t=44840
and include my *.PRG into it