Can´t produce .exe with MSVC 2019 [solved]

Can´t produce .exe with MSVC 2019 [solved]

Postby MOISES » Thu Jan 30, 2020 5:41 pm

Hello,

I get this errors when linking:

LINK : warning LNK4098: la biblioteca predeterminada'MSVCRT' entra en conflicto con otras bibliotecas; use la biblioteca /NODEFAULTLIB:biblioteca
fiveh32.lib(VALTOSTR.obj) : error LNK2001: símbolo externo _HB_FUN_HB_TSTOUTC sin resolver
fiveh32.lib(VSTRFUN1.obj) : error LNK2019: símbolo externo _hb_strAtI sin resolver al que se hace referencia en la función _HB_FUN_FW_ATIC
hbvm.lib(hvmall.obj) : error LNK2019: símbolo externo ___iob_func sin resolver al que se hace referencia en la función "void __cdecl internal_malloc_stats(struct malloc_state *)" (?internal_malloc_stats@@YAXPAUmalloc_state@@@Z)
rddcdx.lib(dbfcdx1.obj) : error LNK2001: símbolo externo ___iob_func sin resolver
hbcplr.lib(hbcomp.obj) : error LNK2001: símbolo externo ___iob_func sin resolver
hbpp.lib(ppcore.obj) : error LNK2001: símbolo externo ___iob_func sin resolver
rddcdx.lib(dbfcdx1.obj) : error LNK2019: símbolo externo _printf sin resolver al que se hace referencia en la función "struct _CDXKEY * __cdecl hb_cdxKeyPutItem(struct _CDXKEY *,void *,unsigned long,struct _CDXTAG *,int,int)" (?hb_cdxKeyPutItem@@YAPAU_CDXKEY@@PAU1@PAXKPAU_CDXTAG@@HH@Z)
hbpp.lib(ppcore.obj) : error LNK2001: símbolo externo _printf sin resolver
MSVCRT.lib(chandler4gs.obj) : error LNK2019: símbolo externo __except_handler4_common sin resolver al que se hace referencia en la función __except_handler4
demo.exe : fatal error LNK1120: 5 externos sin resolver
Last edited by MOISES on Fri Jan 31, 2020 10:46 am, edited 1 time in total.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: Can´t produce .exe with MSVC 2019

Postby Antonio Linares » Fri Jan 31, 2020 8:59 am

Moises,

Are you using buildh32.bat to build it ?
regards, saludos

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

Re: Can´t produce .exe with MSVC 2019

Postby MOISES » Fri Jan 31, 2020 10:17 am

No, I am compiling a complex application. I use the previous working MSVC 2010 script updated to MSVC 2019 paths.
Thank you.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: Can´t produce .exe with MSVC 2019

Postby MOISES » Fri Jan 31, 2020 10:46 am

Antonio,

These are complete libs requiered:

MSVC_LIB=kernel32 user32 gdi32 winspool comctl32 comdlg32 advapi32 shell32 ole32 oleaut32\
uuid odbc32 odbccp32 iphlpapi mpr version wsock32 wininet msimg32 oledlg psapi gdiplus winmm vfw32 runtimeobject ws2_32 shlwapi strmiids urlmon vcruntime


Already solved.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 77 guests