Xlsxlibhb_ver2

User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Xlsxlibhb_ver2

Post 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
Regards

G. N. Rao.
Hyderabad, India
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Xlsxlibhb_ver2

Post by Enrico Maria Giordano »

I just tried to compile tutor01.prg and found no problem at all.
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Xlsxlibhb_ver2

Post by Enrico Maria Giordano »

nageswaragunupudi wrote:

Code: Select all | Expand

Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
Please try with BCC 7.70.
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Xlsxlibhb_ver2

Post 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
Regards

G. N. Rao.
Hyderabad, India
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Xlsxlibhb_ver2

Post 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?
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Xlsxlibhb_ver2

Post 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

// 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
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Xlsxlibhb_ver2

Post by nageswaragunupudi »

Using the latest xharbour build and bcc770, I am experiencing these issues
Building tutor01

Code: Select all | Expand

────────────────────────────────────────────────────────────────────────────┐
│ 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 *
Regards

G. N. Rao.
Hyderabad, India
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Xlsxlibhb_ver2

Post by Enrico Maria Giordano »

Please note that I never used uuid.lib since BCC55 days.
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Xlsxlibhb_ver2

Post by nageswaragunupudi »

Now

Code: Select all | Expand

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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Xlsxlibhb_ver2

Post 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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: Xlsxlibhb_ver2

Post by karinha »

Mister Rao:

Downloads:

BCC77:

https://mega.nz/file/gIskAIjL#vB-TuQAnx ... oIeJSEVIVk

XHBBCC77:

https://mega.nz/file/MIcQ0ZyQ#crdlVE-I0 ... Gtw3jj4lys

Mira los *.CFGs

Gracias, thanks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply