Xlsxlibhb_ver2

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Tue Nov 21, 2023 11:47 am

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
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Tue Nov 21, 2023 11:51 am

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

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Tue Nov 21, 2023 11:53 am

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

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Tue Nov 21, 2023 12:25 pm

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
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Tue Nov 21, 2023 12:28 pm

Can you send me BCC 7.00 to make a test here?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Tue Nov 21, 2023 10:40 pm

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: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Wed Nov 22, 2023 10:01 am

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


Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Wed Nov 22, 2023 10:08 am

Or you can use MSC (recommended).
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Wed Nov 22, 2023 2:41 pm

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

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

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Wed Nov 22, 2023 2:48 pm

Please remove uuid.lib from your compile batch.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Xlsxlibhb_ver2

Postby Enrico Maria Giordano » Wed Nov 22, 2023 2:50 pm

Please note that I never used uuid.lib since BCC55 days.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Wed Nov 22, 2023 3:01 pm

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

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

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Wed Nov 22, 2023 3:13 pm

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
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Xlsxlibhb_ver2

Postby karinha » Wed Nov 22, 2023 3:18 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests