12.07 build errors

12.07 build errors

Postby TimStone » Tue Aug 14, 2012 4:08 pm

New errors with 12.07 when linking:

With xHarbour ( .com ) __iob from FiveHMX.lib ( unresolved External )

With MSVC _HB_FUN_HB_COMPILEFROMBUF ( unresolved External )

How are these resolved ?

Thanks.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: 12.07 build errors

Postby Antonio Linares » Tue Aug 14, 2012 7:52 pm

Tim,

What is the complete error for With xHarbour ( .com ) __iob from FiveHMX.lib ( unresolved External ) ?

it may report the name of the module that uses it.

thanks
regards, saludos

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

Re: 12.07 build errors

Postby TimStone » Tue Aug 14, 2012 8:07 pm

unresolved extrernal symbol '__iob referenced from FiveHMX.lib( HARBOUR.obj)'.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: 12.07 build errors

Postby Enrico Maria Giordano » Wed Aug 15, 2012 4:17 pm

We must be very grateful to Antonio who have the patience to help us with external products like xHarbour.com. I think that xHarbour.com should provide assistance to its customers, not Antonio.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: 12.07 build errors

Postby nageswaragunupudi » Wed Aug 15, 2012 4:46 pm

The function HB_CompileFromBuf() is available only in Harbour. Not available in XHarbour or XHb. This function is called by the new Execute(..) function in harbour.prg. But this is included only harbour build but not xharbour (org) build.
Regards

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

Re: 12.07 build errors

Postby TimStone » Wed Aug 15, 2012 5:45 pm

I have no problem with the reasoning, but while I complete the transition for my clients, it would be nice to be able to exclude that new function. Also, I posted a missing file for the Harbour / MSVC compiler builds.

I am in total agreement that we should move to Harbour / MSVC ... thats why Antonio and I worked out all the issues. Transitioning my clients, however, is a slower process.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: 12.07 build errors

Postby Enrico Maria Giordano » Wed Aug 15, 2012 6:05 pm

TimStone wrote:I am in total agreement that we should move to Harbour / MSVC


Why do you want to make that move? Do you have a concrete reason to do it? I have a pair of it to not do it: the bad attitude of the Harbour developers and their lack of respect for back compatibility.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: 12.07 build errors

Postby Antonio Linares » Wed Aug 15, 2012 7:18 pm

Tim,

Please link hbcplr.lib for hb_CompileFromBuf() with MSVC and Harbour

Regarding __iob
With xHarbour ( .com ) __iob from FiveHMX.lib ( unresolved External )
it seems as caused by this function recently added to harbour.prg FREOPEN_STDERR().

So it should get solved if we extend the #ifndef __XHARBOUR__ section:

Code: Select all  Expand view
...

#include <stdio.h>
#include <hbapi.h>

HB_FUNC( FREOPEN_STDERR )
{
   hb_retnl( ( HB_ULONG ) freopen( hb_parc( 1 ), hb_parc( 2 ), stderr ) );
}

#pragma ENDDUMP

#endif  // <== here !!!
 
regards, saludos

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

Re: 12.07 build errors

Postby lucasdebeltran » Wed Aug 15, 2012 9:02 pm

Hi,

Antonio provides very good support. Other xBase companies can´t say the same...

For FWH and FWHX the best compilers are BCC and MSVC. Viktor and others prefer gCC, but they are not focused on Windows apps.

In fact, BCC will be available in 64 bits next september:
http://edn.embarcadero.com/article/39934

http://dn.embarcadero.com/article/42275
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: 12.07 build errors

Postby mauri.menabue » Sun Aug 19, 2012 11:56 am

hi all

Missing function calpos() used in TFOLDEX

bye
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Re: 12.07 build errors

Postby Antonio Linares » Sun Aug 19, 2012 1:52 pm

Mauri,

Doing a FWH\samples\buildh.bat testfx1

builds fine and executes fine.

How to reproduce what you say ? thanks
regards, saludos

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

Re: 12.07 build errors

Postby mauri.menabue » Sun Aug 19, 2012 9:36 pm

Antonio

I run: buildh testfx1 I got this error:
_HB_FUN_CALPOS unresolved external reference from c: \ FWH \ LIB \ FIVEH.LIB | tfoldex.

I rebuilt the library FIVEH.LIB because there was no function: Browse ()
I have not found the source of the function.

bye
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Re: 12.07 build errors

Postby Daniel Garcia-Gil » Mon Aug 20, 2012 2:35 am

Hello

the function CalPos() is a internal function, you need use the original fivewin lib...
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: 12.07 build errors

Postby Antonio Linares » Mon Aug 20, 2012 10:23 am

Mauri,

Browse() is inside FWH\sources\function\browse.prg

Please check if you have this file
regards, saludos

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

Re: 12.07 build errors

Postby mauri.menabue » Mon Aug 20, 2012 2:50 pm

hi Antonio

The browse function is present between the source functions, but not in the library of the package FWH.

The program scintila.prg I changed the line 1147

# include ". \ .. \ include \ scintila.h"
in
# include "\ FWH \ include \ scintila.h"

The program filename.prg I modified the function: cTempFile

if ! "." $ cExtension
    cExtension = "." + cExtension
endif

in

if .not. empty (cExtension)
    if ! "." $ cExtension
          cExtension = "." + cExtension
    endif
endif

if the extension is empty I do not to add the point.

Thanks for your interest
bye
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial and 44 guests