Page 1 of 8

FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 4:40 pm
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

Re: FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 4:47 pm
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 ?

Re: FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 4:48 pm
by Antonio Linares
Maurizio,

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

Re: FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 5:32 pm
by TimStone
Antonio,

Even for 32 bit ?

Tim

Re: FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 5:49 pm
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.

Re: FWH 16.03 32 BIT

PostPosted: Thu Mar 31, 2016 7:26 pm
by TimStone
Running into an issue with missing stdio.h for headers in Harbour ... trying to build with 2015 Community 32 bit

Re: FWH 16.03 32 BIT

PostPosted: Fri Apr 01, 2016 6:58 am
by Maurizio
Antonio ,

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

I use MSVC 2013

Code: Select all  Expand view

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

Re: FWH 16.03 32 BIT

PostPosted: Fri Apr 01, 2016 7:06 am
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

Re: FWH 16.03 32 BIT

PostPosted: Fri Apr 01, 2016 12:15 pm
by Horizon
Hi Antonio,

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

Thanks,

Re: FWH 16.03 32 BIT

PostPosted: Fri Apr 01, 2016 6:58 pm
by Antonio Linares
Hakan,

Already sent

Re: FWH 16.03 32 BIT

PostPosted: Mon Apr 04, 2016 1:08 am
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.

Re: FWH 16.03 32 BIT

PostPosted: Mon Apr 04, 2016 7:50 am
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.

Re: FWH 16.03 32 BIT

PostPosted: Sat Apr 09, 2016 6:01 pm
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?

Re: FWH 16.03 32 BIT

PostPosted: Sat Apr 09, 2016 6:29 pm
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.

Re: FWH 16.03 32 BIT

PostPosted: Sat Apr 09, 2016 7:01 pm
by Horizon
Thanks

I am trying now.