Compiling with new harbour_bcc770_32_20240309

Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Mon Mar 18, 2024 1:11 pm

Code: Select all  Expand view
Progetto: xbrwin7, Ambiente: bcc7Harbor:
[1]:Harbour.Exe xbrwin7.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\Work\harbour\Include /jC:\Work\errori\TEST_B~1\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\Work\harbour\include /oObj\xbrwin7.c
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'xbrwin7.prg'...
Lines 5533, Functions/Procedures 2
Generating C source output to 'Obj\xbrwin7.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\Work\harbour\Include  -nC:\Work\errori\TEST_B~1\Obj xbrwin7.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
xbrwin7.c:
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @xbrwin7.bcl
Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '___get_std_stream' referenced from C:\WORK\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unable to perform link
 



How I can resolve it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Antonio Linares » Mon Mar 18, 2024 5:22 pm

Dear Silvio,

You have to use Embarcadero C++ 7.70
regards, saludos

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

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Mon Mar 18, 2024 7:29 pm

Antonio Linares wrote:Dear Silvio,

You have to use Embarcadero C++ 7.70


thank's
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Tue Mar 19, 2024 8:45 am

I problem when I compiling with xmate
Code: Select all  Expand view
Progetto: xbrwin7, Ambiente: bcc7Harbor:
[1]:Harbour.Exe xbrwin7.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\Work\harbour\Include /jC:\Work\errori\TEST_B~1\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\Work\harbour\include /oObj\xbrwin7.c
Harbour 3.2.0dev (r2403071241)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'xbrwin7.prg'...
Lines 5533, Functions/Procedures 2
Generating C source output to 'Obj\xbrwin7.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\Work\harbour\Include  -nC:\Work\errori\TEST_B~1\Obj xbrwin7.c
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
xbrwin7.c:
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @xbrwin7.bcl
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'UUID.LIB'
 


it want UUID.LIB and not found it


bcc7Harbor.env

Code: Select all  Expand view

[Environment]
Description 1=For Borland 7HARBOUR
Description 2=
Description 3=
PRG Compiler ver=Harbour
C compiler ver=Bcc7
Subsystem=FWH0217
Author=Falconi Silvio
Last update=03/19/2024

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\Work\harbour
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /gc1 /es2 /a /i%HB_INC_INSTALL% /j%HOME%\I18n\Main.hil /iinclude;c:\work\fwh\include;%HB_INSTALL%\include
Option prefix=/

[C]
C_INSTALL=C:\work\bcc7
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c %CRLF%-DHB_OS_WIN_32 %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-I%C_INC_INSTALL%\windows\sdk\;%HB_INC_INSTALL%  -n%HOME%\Obj %C%%CRLF%%CRLF%%CRLF%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK%
C_RC_COMMAND=c:\work\PellesC\Bin\PORC.EXE  %RC%  /I c:\work\pellesc\include /I c:\work\pellesc\include\win
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK%
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
%C_LIB_INSTALL%\CW32.LIB=2
C:\Work\FWH\lib\Fiveh.lib=3
C:\Work\FWH\lib\Fivehc.lib=4
%HB_LIB_INSTALL%\hbrtl.lib=5
%HB_LIB_INSTALL%\hbvm.lib=6
%HB_LIB_INSTALL%\hbgt.lib=7
%HB_LIB_INSTALL%\gtgui.lib=8
%HB_LIB_INSTALL%\hblang.lib=9
%HB_LIB_INSTALL%\hbmacro.lib=10
%HB_LIB_INSTALL%\hbcommon.lib=11
%HB_LIB_INSTALL%\hbpp.lib=12
%HB_LIB_INSTALL%\hbrdd.lib=13
%HB_LIB_INSTALL%\rddntx.lib=14
%HB_LIB_INSTALL%\rddcdx.lib=15
%HB_LIB_INSTALL%\rddfpt.lib=16
%HB_LIB_INSTALL%\hbwin.lib=17
%HB_LIB_INSTALL%\hbsix.lib=18
%HB_LIB_INSTALL%\hbziparc.lib=19
%HB_LIB_INSTALL%\hbcpage.lib=20
%HB_LIB_INSTALL%\hbcplr.lib=21
%HB_LIB_INSTALL%\hbmzip.lib=22
%HB_LIB_INSTALL%\minizip.lib=23
%HB_LIB_INSTALL%\xhb.lib=24
%HB_LIB_INSTALL%\hbpcre.lib=25
%HB_LIB_INSTALL%\hbct.lib=26
%HB_LIB_INSTALL%\hbzlib.lib=27
%C_LIB_INSTALL%\PSDK\UUID.lib=28
%C_LIB_INSTALL%\IMPORT32.LIB=29
%C_LIB_INSTALL%\PSDK\odbc32.lib=30
%C_LIB_INSTALL%\PSDK\nddeapi.lib=31
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=32
%C_LIB_INSTALL%\PSDK\msimg32.lib=33
%C_LIB_INSTALL%\PSDK\ws2_32.lib=34
%C_LIB_INSTALL%\PSDK\psapi.lib=35
%C_LIB_INSTALL%\PSDK\rasapi32.lib=36
%HB_LIB_INSTALL%\png.lib=37
%C_LIB_INSTALL%\PSDK\shell32.lib=38

[DLL Files]
%HB_LIB_INSTALL%\harbour.lib=1
%C_LIB_INSTALL%\C0W32.OBJ=2
%C_LIB_INSTALL%\CW32.LIB=3
%C_LIB_INSTALL%\IMPORT32.LIB=4
 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Tue Mar 19, 2024 9:09 am

I tried with another application and I have these errors

Code: Select all  Expand view

Progetto: Gest, Ambiente: bcc7Harbor:
[1]:Harbour.Exe source\sistema\Main.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\Work\harbour\Include /jI18n\Main.hil /iinclude;c:\work\fwh\include;C:\Work\harbour\include /oObj\Main.c
Harbour 3.2.0dev (r2403071241)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'source\sistema\Main.prg'...
Lines 6376, Functions/Procedures 27
Generating C source output to 'Obj\Main.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\Work\harbour\Include  -nObj Obj\Main.c
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Obj\Main.c:
[1]:Harbour.Exe source\sistema\ut\ut_fonts.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\Work\harbour\Include /jI18n\Main.hil /iinclude;c:\work\fwh\include;C:\Work\harbour\include /oObj\ut_fonts.c
Harbour 3.2.0dev (r2403071241)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'source\sistema\ut\ut_fonts.prg'...
Lines 158, Functions/Procedures 0
Generating C source output to 'Obj\ut_fonts.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\Work\harbour\Include  -nObj Obj\ut_fonts.c
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Obj\ut_fonts.c:
Error E2209 C:\work\bcc7\Include\windows\sdk\winbase.h 68: Unable to open include file 'wow64apiset.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\Windows.h 207: Unable to open include file 'winuser.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\Windows.h 213: Unable to open include file 'winver.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\winnetwk.h 52: Unable to open include file 'wnnc.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\Windows.h 240: Unable to open include file 'winsock2.h'
Error E2494 C:\work\bcc7\Include\windows\sdk\mswsock.h 129: Unrecognized __declspec modifier
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 169: 'SOCKET' cannot start a parameter declaration
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 181: 'SOCKET' cannot start a parameter declaration
Error E2303 C:\work\bcc7\Include\windows\sdk\mswsock.h 182: Type name expected
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 211: 'SOCKET' cannot start a parameter declaration
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 226: 'SOCKET' cannot start a parameter declaration
Error E2303 C:\work\bcc7\Include\windows\sdk\mswsock.h 227: Type name expected
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 291: 'SOCKET' cannot start a parameter declaration
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 305: 'SOCKET' cannot start a parameter declaration
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 320: 'SOCKET' cannot start a parameter declaration
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 427: 'SOCKET' cannot start a parameter declaration
Error E2303 C:\work\bcc7\Include\windows\sdk\mswsock.h 428: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\mswsock.h 483: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\mswsock.h 483: Declaration missing ;
Warning W8107 C:\work\bcc7\Include\windows\sdk\mswsock.h 493: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\mswsock.h 493: Declaration missing ;
Warning W8107 C:\work\bcc7\Include\windows\sdk\mswsock.h 496: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\mswsock.h 496: Declaration missing ;
Warning W8107 C:\work\bcc7\Include\windows\sdk\mswsock.h 497: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\mswsock.h 497: Declaration missing ;
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 516: 'SOCKET' cannot start a parameter declaration
Error E2303 C:\work\bcc7\Include\windows\sdk\mswsock.h 517: Type name expected
Error E2293 C:\work\bcc7\Include\windows\sdk\mswsock.h 532: ) expected
Error E2147 C:\work\bcc7\Include\windows\sdk\mswsock.h 618: 'SOCKET' cannot start a parameter declaration
Error E2209 C:\work\bcc7\Include\windows\sdk\winscard.h 31: Unable to open include file 'wtypes.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\Windows.h 261: Unable to open include file 'winspool.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\combaseapi.h 355: Unable to open include file 'wtypesbase.h'
Error E2209 C:\work\bcc7\Include\windows\sdk\unknwnbase.h 73: Unable to open include file 'wtypesbase.h'
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 533: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\objidlbase.h 533: Declaration missing ;
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 2085: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 2090: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 2148: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 2316: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\objidlbase.h 2316: Declaration missing ;
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4119: Type name expected
Error E2139 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4119: Declaration missing ;
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4252: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4263: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4272: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4283: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4414: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 4425: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6853: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6858: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6860: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6963: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6967: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6969: Type name expected
Warning W8107 C:\work\bcc7\Include\windows\sdk\objidlbase.h 6973: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 8470: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\objidlbase.h 8478: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\combaseapi.h 961: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\combaseapi.h 974: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\combaseapi.h 993: Type name expected
Error E2303 C:\work\bcc7\Include\windows\sdk\combaseapi.h 1171: Type name expected
Error E2147 C:\work\bcc7\Include\windows\sdk\combaseapi.h 1176: 'LPCOLESTR' cannot start a parameter declaration
Error E2303 C:\work\bcc7\Include\windows\sdk\combaseapi.h 1183: Type name expected
Error E2147 C:\work\bcc7\Include\windows\sdk\combaseapi.h 1188: 'LPCOLESTR' cannot start a parameter declaration
Error E2228 C:\work\bcc7\Include\windows\sdk\combaseapi.h 1188: Too many error or warning messages
*** 51 errors in Compile ***
 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Tue Mar 19, 2024 9:14 am

I have on c:\ a folder "work"

and on it

bcc7
harbour
fwh
xmate
PellesC
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Tue Mar 19, 2024 6:12 pm

Antonio,
I not resolve ask allways uuid.lib
I must return on oldest configuration
Oldest harbour/fwh/bcc7.30
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Tue Mar 19, 2024 10:41 pm

this evening I tried aso on Home computer with win10
same error ask uuid.lib and not found it

then I did a test by linking uuid.lib as if it were one of my libraries and I was able to have the exe,


Image



but this thing is very strange, can't it really be solved?

but I have to put it in the root where the sources are then I can get the exe
basically wants it before the call to the lib C0W32.OBJ

in fact seeing the generated env file I have

[Files]
%HOME%\test.prg=1,.F.,0,0,
%HOME%\tslines.prg=2,.F.,0,0,
%HOME%\Resource\default.rc=3,.F.,0,0,
%HOME%\uuid.lib=4,.F.,0,0,
%C_LIB_INSTALL%\C0W32.OBJ=5,.T.,0,0,
%C_LIB_INSTALL%\CW32.LIB=6,.T.,0,0,


then there is also at bottom


[Files]
%HOME%\test.prg=1,.F.,0,0,
%HOME%\tslines.prg=2,.F.,0,0,
%HOME%\Resource\default.rc=3,.F.,0,0,
%HOME%\uuid.lib=4,.F.,0,0,
%C_LIB_INSTALL%\C0W32.OBJ=5,.T.,0,0,
%C_LIB_INSTALL%\CW32.LIB=6,.T.,0,0,
C:\Work\FWH\lib\Fiveh.lib=7,.T.,0,0,
C:\Work\FWH\lib\Fivehc.lib=8,.T.,0,0,
%HB_LIB_INSTALL%\hbrtl.lib=9,.T.,0,0,
%HB_LIB_INSTALL%\hbvm.lib=10,.T.,0,0,
%HB_LIB_INSTALL%\hbgt.lib=11,.T.,0,0,
%HB_LIB_INSTALL%\gtgui.lib=12,.T.,0,0,
%HB_LIB_INSTALL%\hblang.lib=13,.T.,0,0,
%HB_LIB_INSTALL%\hbmacro.lib=14,.T.,0,0,
%HB_LIB_INSTALL%\hbcommon.lib=15,.T.,0,0,
%HB_LIB_INSTALL%\hbpp.lib=16,.T.,0,0,
%HB_LIB_INSTALL%\hbrdd.lib=17,.T.,0,0,
%HB_LIB_INSTALL%\rddntx.lib=18,.T.,0,0,
%HB_LIB_INSTALL%\rddcdx.lib=19,.T.,0,0,
%HB_LIB_INSTALL%\rddfpt.lib=20,.T.,0,0,
%HB_LIB_INSTALL%\hbwin.lib=21,.T.,0,0,
%HB_LIB_INSTALL%\hbsix.lib=22,.T.,0,0,
%HB_LIB_INSTALL%\hbziparc.lib=23,.T.,0,0,
%HB_LIB_INSTALL%\hbcpage.lib=24,.T.,0,0,
%HB_LIB_INSTALL%\hbcplr.lib=25,.T.,0,0,
%HB_LIB_INSTALL%\hbmzip.lib=26,.T.,0,0,
%HB_LIB_INSTALL%\minizip.lib=27,.T.,0,0,
%HB_LIB_INSTALL%\xhb.lib=28,.T.,0,0,
%HB_LIB_INSTALL%\hbpcre.lib=29,.T.,0,0,
%HB_LIB_INSTALL%\hbct.lib=30,.T.,0,0,
%HB_LIB_INSTALL%\hbzlib.lib=31,.T.,0,0,
%C_LIB_INSTALL%\PSDK\uuid.lib=32,.T.,0,0,
%C_LIB_INSTALL%\IMPORT32.LIB=33,.T.,0,0,
%C_LIB_INSTALL%\PSDK\odbc32.lib=34,.T.,0,0,
%C_LIB_INSTALL%\PSDK\nddeapi.lib=35,.T.,0,0,
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=36,.T.,0,0,
%C_LIB_INSTALL%\PSDK\msimg32.lib=37,.T.,0,0,
%C_LIB_INSTALL%\PSDK\ws2_32.lib=38,.T.,0,0,
%C_LIB_INSTALL%\PSDK\psapi.lib=39,.T.,0,0,
%C_LIB_INSTALL%\PSDK\rasapi32.lib=40,.T.,0,0,
%HB_LIB_INSTALL%\png.lib=41,.T.,0,0,
%C_LIB_INSTALL%\PSDK\shell32.lib=42,.T.,0,0,


How I can resolve this ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Antonio Linares » Wed Mar 20, 2024 8:36 am

Dear Silvio,

Please delete all uuid.lib entries and just use this one:

%C_LIB_INSTALL%\PSDK\uuid.lib=32,.T.,0,0,
regards, saludos

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

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Wed Mar 20, 2024 9:13 am

Antonio Linares wrote:Dear Silvio,

Please delete all uuid.lib entries and just use this one:

%C_LIB_INSTALL%\PSDK\uuid.lib=32,.T.,0,0,


same error
Code: Select all  Expand view
Progetto: yunus, Ambiente: bcc7Harbor:
[1]:Harbour.Exe yunus.prg  /m /n0 /gc1 /es2 /a /iC:\work\fwh\include /iC:\Work\harbour\Include /jI18n\Main.hil /iinclude;c:\work\fwh\include;C:\Work\harbour\include /oObj\yunus.c
Harbour 3.2.0dev (r2403071241)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'yunus.prg'...
Lines 6316, Functions/Procedures 23
Generating C source output to 'Obj\yunus.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\Work\harbour\Include  -nObj Obj\yunus.c
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Obj\yunus.c:
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @yunus.bcl
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'UUID.LIB'






If I insert uuid.lib as mine project then it is compiled as you can see here

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Antonio Linares » Wed Mar 20, 2024 10:00 am

Silvio,

When we started using bcc 7.70 we also noticed those strange behaviors with uuid.lib sometimes

Not sure why it happens, but it happens sometimes. FWH 24.02 buildh.bat is working fine using it.
Please review FWH 24.02 samples\buildh.bat to see how we use it.
regards, saludos

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

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Wed Mar 20, 2024 10:52 am

Antonio Linares wrote:Silvio,

When we started using bcc 7.70 we also noticed those strange behaviors with uuid.lib sometimes

Not sure why it happens, but it happens sometimes. FWH 24.02 buildh.bat is working fine using it.
Please review FWH 24.02 samples\buildh.bat to see how we use it.



from build.bat I saw

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %hdirl%\hbrtl.lib + >> b32.bc
echo %hdirl%\hbvm.lib + >> b32.bc
echo %hdirl%\gtwin.lib + >> b32.bc
echo %hdirl%\hblang.lib + >> b32.bc
echo %hdirl%\hbmacro.lib + >> b32.bc
echo %hdirl%\hbrdd.lib + >> b32.bc
echo %hdirl%\rddntx.lib + >> b32.bc
echo %hdirl%\rddcdx.lib + >> b32.bc
echo %hdirl%\rddfpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\hbdebug.lib + >> b32.bc
echo %hdirl%\hbcommon.lib + >> b32.bc
echo %hdirl%\hbpp.lib + >> b32.bc
echo %hdirl%\hbcpage.lib + >> b32.bc
echo %hdirl%\hbwin.lib + >> b32.bc
echo %hdirl%\hbcplr.lib + >> b32.bc
echo %hdirl%\hbct.lib + >> b32.bc
echo %hdirl%\hbpcre.lib + >> b32.bc
echo %hdirl%\xhb.lib + >> b32.bc
echo %hdirl%\hbziparc.lib + >> b32.bc
echo %hdirl%\hbmzip.lib + >> b32.bc
echo %hdirl%\hbzlib.lib + >> b32.bc
echo %hdirl%\minizip.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc



before we had
echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %bcdir%\lib\cw32.lib + >> b32.bc these lib together
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc


....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Wed Mar 20, 2024 10:56 am

Antonio,
Good now I put uuid.lib before of fwh libraries on xmate and seem run ok

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Wed Mar 20, 2024 11:01 am

I made another test with another test.prg and not run ok

Antonio, do you know anyone who uses xmate?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Compiling with new harbour_bcc770_32_20240309

Postby Silvio.Falconi » Thu Mar 21, 2024 8:44 am

on your build.bat

there is

echo %bcdir%\lib\uuid.lib + >> b32.bc

but this lib is on \bcc7\lib\psdk

Now I try to create env file with the same configi of build.bat

Code: Select all  Expand view

%C_LIB_INSTALL%\C0W32.OBJ=1
%HB_LIB_INSTALL%\win\bcc\hbrtl.lib=2
%HB_LIB_INSTALL%\win\bcc\hbvm.lib=3
%HB_LIB_INSTALL%\win\bcc\gtwin.lib=4
%HB_LIB_INSTALL%\win\bcc\hblang.lib=5
%HB_LIB_INSTALL%\win\bcc\hbmacro.lib=6
%HB_LIB_INSTALL%\win\bcc\hbrdd.lib=7
%HB_LIB_INSTALL%\win\bcc\rddntx.lib=8
%HB_LIB_INSTALL%\win\bcc\rddcdx.lib=9
%HB_LIB_INSTALL%\win\bcc\rddfpt.lib=10
%HB_LIB_INSTALL%\win\bcc\hbsix.lib=11
%HB_LIB_INSTALL%\win\bcc\hbdebug.lib=12
%HB_LIB_INSTALL%\win\bcc\hbcommon.lib=13
%HB_LIB_INSTALL%\win\bcc\hbpp.lib=14
%HB_LIB_INSTALL%\win\bcc\hbcpage.lib=15
%HB_LIB_INSTALL%\win\bcc\hbwin.lib=16
%HB_LIB_INSTALL%\win\bcc\hbcplr.lib=17
%HB_LIB_INSTALL%\win\bcc\hbpcre.lib=18
%HB_LIB_INSTALL%\win\bcc\xhb.lib=19
%HB_LIB_INSTALL%\win\bcc\hbziparc.lib=20
%HB_LIB_INSTALL%\win\bcc\hbzlib.lib=21
%HB_LIB_INSTALL%\win\bcc\hbgt.lib=22
%HB_LIB_INSTALL%\win\bcc\minizip.lib=23
%HB_LIB_INSTALL%\win\bcc\hbmzip.lib=24
%HB_LIB_INSTALL%\win\bcc\gtgui.lib=25
%HB_LIB_INSTALL%\win\bcc\hbct.lib=26
%C_LIB_INSTALL%\CW32.LIB=27
%C_LIB_INSTALL%\PSDK\uuid.lib=28
%C_LIB_INSTALL%\IMPORT32.LIB=29
%C_LIB_INSTALL%\PSDK\odbc32.lib=30
%C_LIB_INSTALL%\PSDK\nddeapi.lib=31
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=32
%C_LIB_INSTALL%\PSDK\msimg32.lib=33
%C_LIB_INSTALL%\PSDK\psapi.lib=34
%C_LIB_INSTALL%\PSDK\rasapi32.lib=35
%C_LIB_INSTALL%\psdk\GdiPlus.lib=36
%C_LIB_INSTALL%\PSDK\shell32.lib=37
%C_LIB_INSTALL%\PSDK\ws2_32.lib=38
%HB_LIB_INSTALL%\win\bcc\png.lib=39
C:\Work\FWH\lib\Fiveh.lib=40
C:\Work\FWH\lib\Fivehc.lib=41
 


but also want uuid.lib

But I saw on bcc7.30 there are two uuid.lib

one on C:\Work_old\bcc7\lib of 2k
one on C:\Work_old\bcc7\lib\psdk of 1 k but it is rename UUID and not uuid

Me di por vencido y hasta tuve migrañas.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests