What is wrong with 24.07

Re: What is wrong with 24.07

Postby Antonio Linares » Tue Sep 10, 2024 9:29 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Tue Sep 10, 2024 10:21 am

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
Code: Select all  Expand view
BUILDh64 Tutor01

running under 64 Bit Environment
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Tue Sep 10, 2024 1:29 pm

You have to use buildh.bat

Please notice the h
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Tue Sep 10, 2024 1:46 pm

hi Antonio,
Antonio Linares wrote:You have to use buildh.bat
Please notice the h

I have try
BUILDH.BAT Tutor01
and got a Error at line
%hdir%\bin\WIN\BCC\harbour

but my harbour Version is in
Code: Select all  Expand view
%hdir%\bin\harbour


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 *
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Tue Sep 10, 2024 1:53 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Wed Sep 11, 2024 4:53 am

hi Antonio,

but that File does not include BCC32.EXE any more
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Wed Sep 11, 2024 6:43 am

bcc32.exe has never been included in Harbour builds distributions
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Wed Sep 11, 2024 11:14 am

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 view
.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 ?
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Wed Sep 11, 2024 1:40 pm

Yes, for those makes you need Borland make

We encourage to use Harbour's own hbmk2.exe:

viewtopic.php?p=273085&sid=5aca9c095a06c933e50c4a3fbbc24948#p273085
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Thu Sep 12, 2024 4:06 pm

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
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Thu Sep 12, 2024 4:58 pm

Dear Jimmy,

Please post your HBP file here, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Fri Sep 13, 2024 5:21 am

Antonio Linares wrote:Please post your HBP file here, thanks

this i have made follow your Sample
Code: Select all  Expand view
   -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
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: What is wrong with 24.07

Postby Antonio Linares » Fri Sep 13, 2024 12:07 pm

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: What is wrong with 24.07

Postby Jimmy » Fri Sep 13, 2024 1:31 pm

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 viewtopic.php?f=3&t=44840
and include my *.PRG into it
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests