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
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 tutor01i still have Problem with Environment of 24.07 *.BAT files
Compiling...but i got
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 Tutor01Antonio Linares wrote:You have to use buildh.batI have try
Please notice the h
%hdir%\bin\harbourCompiling...
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:but that File does not include BCC32.EXE any more
https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770_32_20240814.zip
bcc32.exe has never been included in Harbour builds distributions
Antonio Linares wrote:bcc32.exe has never been included in Harbour builds distributionsbut it is in those c:\fwh\makes\*.MAK Files for 32 Bit
.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.rcAntonio Linares wrote:We encourage to use Harbour's own hbmk2.exei 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.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
bcc64.exe: error: unknown argument: '-CP437'
bcc64.exe: error: unknown argument: '-w-sig-'
hbmk2[test64]: Error: Running C/C++ compiler. 1
Dear Jimmy,
Please post your HBP file here, thanks
Antonio Linares wrote:Please post your HBP file here, thanksthis i have made follow your Sample
  -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.hbcDear 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
Antonio Linares wrote:You should use these flags just for 64 bits with bcc77 64 bits:OK, understand.
-workdir=
-optim-
-ldflag+=-aa
Don't use them for 32 bits