Page 3 of 4

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 11:47 am
by nageswaragunupudi
Enrico Maria Giordano wrote:Can I see the source code you are trying to compile, please? I'm using the new build without any problem.


Download links are provided in the 1st pages of the same thread

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 11:51 am
by Enrico Maria Giordano
I just tried to compile tutor01.prg and found no problem at all.

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 11:53 am
by Enrico Maria Giordano
nageswaragunupudi wrote:
Code: Select all  Expand view
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.


Please try with BCC 7.70.

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 12:25 pm
by nageswaragunupudi
I will try with bcc7.70 for sure.
FWH has many users using different versions of bcc.
Whatever FWH provides should work with different versions

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 12:28 pm
by Enrico Maria Giordano
Can you send me BCC 7.00 to make a test here?

Re: Xlsxlibhb_ver2

PostPosted: Tue Nov 21, 2023 10:40 pm
by Enrico Maria Giordano
I can't find BCC 7.00 so I cannot make any test. If you have it, can you send it to me, please?

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 10:01 am
by Enrico Maria Giordano
Ok, it seems that BCC 7.00 lacks of some symbols. A fast and dirty hack can be as per sample below. But the obvious solution is to drop such an old compiler and switch to a newer version.

Code: Select all  Expand view
// Typical Welcome message, from Windows!

#include "FiveWin.ch"

//----------------------------------------------------------------------------//

function Main()

   MsgInfo( "Hello world from Harbour and FWH!" )
   
return nil

//----------------------------------------------------------------------------//


#pragma BEGINDUMP

void __get_std_stream() {}
void _chdir() {}

#pragma ENDDUMP

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 10:07 am
by Enrico Maria Giordano
Using this BCC version (7.70) there are no problems at all:

http://xharbour.org/index.asp?page=download/windows/required_win

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 10:08 am
by Enrico Maria Giordano
Or you can use MSC (recommended).

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 2:41 pm
by nageswaragunupudi
Using the latest xharbour build and bcc770, I am experiencing these issues
Building tutor01
Code: Select all  Expand view
────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 23.10 - Oct. 2023          Harbour development power  │▄
(c) FiveTech 1993-2023 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour 1.3.0 Intl. (SimpLex) (Build 20231104)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
Generating C source output to 'tutor01.c'...
Done.
Lines 13, Functions/Procedures 1, pCodes 16
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.
Fatal: Unable to open file 'UUID.LIB'
* Linking errors *

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 2:48 pm
by Enrico Maria Giordano
Please remove uuid.lib from your compile batch.

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 2:50 pm
by Enrico Maria Giordano
Please note that I never used uuid.lib since BCC55 days.

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 3:01 pm
by nageswaragunupudi
Now
Code: Select all  Expand view
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'WS2_32.LIB'


I do not understand why is the problem in linking these libs when they are actually present in the bcc770 libs? May be my ignorance. May be I am doing something wrong.
I would like the Experts to throw some light on this.

Looks like we need to make many changes to our standard buildx.bat being used for decades without any issues on all versions of bcc and xharbour.

Better if you and Antonio decide and provide a new buildx.bat in the FWH, which works with all earlier and latest versions of xharbour and bcc.

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 3:13 pm
by nageswaragunupudi
For now, I prefer to stay with the older version of xhabour and bcc7. Actually FWH uses these versions to build all FWH libs.
I will wait till these issues are solved.

Re: Xlsxlibhb_ver2

PostPosted: Wed Nov 22, 2023 3:18 pm
by karinha