FWH 16.03 32 BIT

Post Reply
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

FWH 16.03 32 BIT

Post by Maurizio »

Hello ,

when I compile with VS2013 I have this Error

hbmk2: Error: Referenced, missing, but unknown function(s): FREOPEN_STDERR()

Regards Maurizio
www.nipeservice.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Maurizio,

Add this function to your main PRG:

function FREOPEN_STDERR()

return nil

That function is implemented in source\function\harbour.prg

Are you using Borland or MSVC ?
regards, saludos

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

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Maurizio,

Also, please note that with FWH 16.03 we are using Visual Studio Community 2015
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: FWH 16.03 32 BIT

Post by TimStone »

Antonio,

Even for 32 bit ?

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Tim,

yes.

In fact, there is a bug in FWH 16.03 for VSC2015 32 bits, that has been fixed already.

I email you the right libraries.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: FWH 16.03 32 BIT

Post by TimStone »

Running into an issue with missing stdio.h for headers in Harbour ... trying to build with 2015 Community 32 bit
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: FWH 16.03 32 BIT

Post by Maurizio »

Antonio ,

I already tried but doesn't work
function FREOPEN_STDERR()
return nil

I use MSVC 2013

Code: Select all

hbmk2: Linking... mastrosql.exe
fiveh32.lib(HARBOUR.obj) : warning LNK4006: _HB_FUN_FREOPEN_STDERR gi
 definito in mastrosql.obj; seconda definizione ignorata
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) gi
 definito in LIBCMT.lib(typinfo.obj); seconda definizione ignorata
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) gi
 definito in LIBCMT.lib(typinfo.obj); seconda definizione ignorata
   Creazione della libreria mastrosql.lib e dell'oggetto mastrosql.exp in corso...
LINK : warning LNK4098: la libreria predefinita 'MSVCRT'  in conflitto con l'utilizzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
fiveh32.lib(HARBOUR.obj) : error LNK2019: riferimento al simbolo esterno ___acrt_iob_func non risolto nella funzione _HB_FUN_FREOPEN_STDERR
fiveh32.lib(PRV2PDF.obj) : error LNK2019: riferimento al simbolo esterno ___stdio_common_vfprintf non risolto nella funzione __vfprintf_l
fivehc32.lib(ACTX.obj) : error LNK2019: riferimento al simbolo esterno "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z) non risolto nella funzione "public: void * __thiscall TActiveX::`scalar deleting destructor'(unsigned int)" (??_GTActiveX@@QAEPAXI@Z)
fivehc32.lib(GDIPLUS.obj) : error LNK2001: simbolo esterno "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z) non risolto
mastrosql.exe : fatal error LNK1120: 3 esterni non risolti
hbmk2: Error: Running linker. 1120
link.exe @C:\Users\Maurizio\AppData\Local\Temp\h5ukax.lnk

hbmk2: Error: Referenced, missing, but unknown function(s): FREOPEN_STDERR()
****************** Linking errors *
 
Regards Maurizio
http://www.nipeservice.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Maurizio,

You have to install Visual Studio Community 2015 (VSC2015)

FWH 16.03 uses it

Please remember to uninstall VS2013. Sometimes they both together give conflicts
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Hi Antonio,

Can you please send the changed libs to me please for fwh16.03+msvc2015?

Thanks,
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Hakan,

Already sent
regards, saludos

Antonio Linares
www.fivetechsoft.com
HunterEC
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: FWH 16.03 32 BIT

Post by HunterEC »

Antonio:

Just double checking: if I buy FW 16.03 I need to have VS 2015 Community Edition ? If so, any guides on setting this up ? Thank you very much my friend.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 16.03 32 BIT

Post by Antonio Linares »

Gustavo,

> if I buy FW 16.03 I need to have VS 2015 Community Edition ?

Only if you plan to use Visual Studio. You can continue using Borland and then there is no need for Visual Studio Community edition.

> If so, any guides on setting this up ?

The VSC2015 installation is much straightforward. Nothing to do from your side.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Hi Antonio,

I have installed VS 2015 Community Edition. But there is no vcvarsall.bat and cl.exe in bin directory.

What is the problem? I could not understand.

Can you help me please?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
alerchster
Posts: 31
Joined: Mon Oct 22, 2012 4:43 pm

Re: FWH 16.03 32 BIT

Post by alerchster »

Hi Hakan

I have had same Problem!
My solution was uninstall vs2015 and all previous versions of vs (vs2013 community and vs2012 express).
New install of vs2015 community and now all was ok (vcvarsall.bat and cl.exe is in bin directory).
Now all run perfect with fwh1603 - only checked with 64bit.
Regards

Ing. Anton Lerchster
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH 16.03 32 BIT

Post by Horizon »

Thanks

I am trying now.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Post Reply