After linking in
[D:\xHB10272_xcc\xhb\lib\xhbzip.lib]
[D:\xHB10272_xcc\xhb\lib\xhbzipdll.lib]
I get error:
xLINK: fatal error: File not found: 'LIBCMT.LIB'.
After adding
[D:\xHB10272_xcc\xhb\c_lib\win\libcmt.lib]
New errors:
xLINK: error: Unresolved external symbol '__localtime64 referenced ...
Search found 76 matches: libcmt
Searched query: libcmt
- Tue Dec 12, 2023 4:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: HB_ZIPDELETEFILES()
- Replies: 7
- Views: 2511
- Wed Jun 30, 2021 9:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
- Replies: 61
- Views: 7898
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
... two.obj : error LNK2001: unresolved external symbol HB_FUN_TWINDOW
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt ...
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt ...
- Wed Jun 30, 2021 9:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
- Replies: 61
- Views: 7898
Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
... two.obj : error LNK2001: unresolved external symbol HB_FUN_TWINDOW
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt ...
three.obj : error LNK2001: unresolved external symbol HB_FUN_MSGINFO
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt ...
- Mon Dec 09, 2019 7:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: problem with harbour dll
- Replies: 4
- Views: 1044
Re: problem with harbour dll
... Lc:\fwh\lib -Ic:\fwh\include -lfiveh32 -lfivehc32 hbct.hbc xhb.hbc hbmzip.hbc -gui hbziparc.hbc -lversion -lgdiplus -loledlg -ldflag=/NODEFAULTLIB:libcmt
If I add -shared the error appears.
If I try adding trace, I see that the link part changes considerably.
without shared
-nologo -out:main.exe C ...
If I add -shared the error appears.
If I try adding trace, I see that the link part changes considerably.
without shared
-nologo -out:main.exe C ...
- Sat Jul 28, 2018 1:32 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Switching to Microsoft Compiler.
- Replies: 12
- Views: 2400
Re: Switching to Microsoft Compiler.
... CIpow already defined in FiveHMX.lib(HARBOUR.obj); second definition ignored
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in libcmt.lib(matherr.obj); second definition ignored
FiveHMX.lib(FWMARIA.obj) : error LNK2019: unresolved external symbol _hb_adler32 referenced in function ...
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in libcmt.lib(matherr.obj); second definition ignored
FiveHMX.lib(FWMARIA.obj) : error LNK2019: unresolved external symbol _hb_adler32 referenced in function ...
- Sun Dec 17, 2017 6:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Building Harbour 3.4 for BCC outside MSYS
- Replies: 87
- Views: 21911
Re: Building Harbour 3.4 for BCC outside MSYS
... msvc.tmp
echo %vcdir%\lib\psapi.lib >> msvc.tmp
echo %vcdir%\lib\gdiplus.lib >> msvc.tmp
echo %vcdir%\lib\winmm.lib >> msvc.tmp
echo %vcdir%\lib\libcmt.lib >> msvc.tmp
echo %vcdir%\lib\oldnames.lib >> msvc.tmp
echo %vcdir%\lib\libcpmt.lib >> msvc.tmp
echo %vcdir%\lib\ws2_32.lib >> msvc.tmp
IF ...
echo %vcdir%\lib\psapi.lib >> msvc.tmp
echo %vcdir%\lib\gdiplus.lib >> msvc.tmp
echo %vcdir%\lib\winmm.lib >> msvc.tmp
echo %vcdir%\lib\libcmt.lib >> msvc.tmp
echo %vcdir%\lib\oldnames.lib >> msvc.tmp
echo %vcdir%\lib\libcpmt.lib >> msvc.tmp
echo %vcdir%\lib\ws2_32.lib >> msvc.tmp
IF ...
- Mon May 30, 2016 12:23 pm
- Forum: FiveWin para Pocket PC
- Topic: Problema creando aplicación
- Replies: 7
- Views: 8239
Re: Problema creando aplicación
... en el linkador el siguiente parámetro:
C:\Local\FWppc\vce\bin\link /nologo /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:THUMB /ARMPADCODE /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames
Se ha quitado el error, pero ahora hay otros que no sé como solucionar:
hbwin.lib(win_misc.obj) : error LNK2005 ...
C:\Local\FWppc\vce\bin\link /nologo /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:THUMB /ARMPADCODE /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames
Se ha quitado el error, pero ahora hay otros que no sé como solucionar:
hbwin.lib(win_misc.obj) : error LNK2005 ...
- Tue Mar 22, 2016 7:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH64
- Replies: 110
- Views: 30730
Re: FWH64
... HB_FUN_MAIN
toolbar2.obj : error LNK2019: unresolved external symbol _hb_vmProcessSymbols referenced in function _hb_vm_SymbolInit_TOOLBAR2
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function "int __cdecl __scrt_common_main_seh(void ...
toolbar2.obj : error LNK2019: unresolved external symbol _hb_vmProcessSymbols referenced in function _hb_vm_SymbolInit_TOOLBAR2
LIBCMT.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function "int __cdecl __scrt_common_main_seh(void ...
- Tue Feb 09, 2016 12:20 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Harbour and ZIP files
- Replies: 8
- Views: 3831
Harbour and ZIP files
... ole32.lib oleaut32.lib oledlg.lib winmm.lib uuid.lib odbc32.lib odbccp32.lib iphlpapi.lib mpr.lib version.lib wsock32.lib psapi.lib msimg32.lib libcmt.lib oldnames.lib libcpmt.lib gdiplus.lib libeay32.lib ssleay32.lib hbtipssl.lib hbssl.lib ws2_32.lib wcapm.lib
Creating library M10us.lib and ...
Creating library M10us.lib and ...
- Wed Mar 11, 2015 5:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Migration from Bcc to msvc
- Replies: 17
- Views: 7729
Re: Migration from Bcc to msvc
1>ct.lib(ctmath2.obj) : error LNK2019: unresolved external symbol __HUGE referenced in function _HB_FUN_LOG10
1>rtl.lib(math.obj) : error LNK2001: unresolved external symbol __HUGE
Try to link libcmt.lib from Microsoft
- Tue Feb 24, 2015 5:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Checkbox text disappears Harbour/MSVC
- Replies: 35
- Views: 8123
Re: Checkbox text disappears Harbour/MSVC
... hbssl.lib, hbtipssl.lib, and ws2_32.lib are needed for email
libeay32.lib and ssleay32.lib are necessary for additional functionality
gtwin.ib, libcmt.lib, libcpmt.lib and oldnames32.lib are ones you recommended previously. I'm wondering if they are still needed, and perhaps one of them is ...
libeay32.lib and ssleay32.lib are necessary for additional functionality
gtwin.ib, libcmt.lib, libcpmt.lib and oldnames32.lib are ones you recommended previously. I'm wondering if they are still needed, and perhaps one of them is ...
- Mon Feb 23, 2015 8:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Unresolved external in new FWH 15.02
- Replies: 9
- Views: 2838
Re: Unresolved external in new FWH 15.02
... SOFTWARE\JUDA\OBJX\Z-WBROWS.obj" "\SOFTWARE\JUDA\RES\JUDA.RES" "C:\Program Files\Borland\BCC582\Lib\PSDK\GdiPlus.lib" "C:\SOFTWARE\FwHarb-Lib\libcmt.lib" "C:\SOFTWARE\FwHarb-Lib\libcpmt.lib" "C:\SOFTWARE\FwHarb-Lib\mem32.lib" "C:\SOFTWARE\FwHarb-Lib\png.lib" "C:\SOFTWARE\FwHarb-Lib\send32.lib ...
- Sun Jan 18, 2015 8:58 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: VS2012 & FWH 14.12 & Last Harbour some warnings
- Replies: 6
- Views: 984
Re: VS2012 & FWH 14.12 & Last Harbour some warnings
Hakan,
Please add this flag:
/NODEFAULTLIB:libcmt
I have added but the result is no exe.
Creating library IcraW.lib and object IcraW.expSKeyLi32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __iob referenced in function _OPENSSL_showfatalIcraW.exe : fatal error LNK1120 ...
Please add this flag:
/NODEFAULTLIB:libcmt
I have added but the result is no exe.
Creating library IcraW.lib and object IcraW.expSKeyLi32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __iob referenced in function _OPENSSL_showfatalIcraW.exe : fatal error LNK1120 ...
- Sun Jan 18, 2015 7:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: VS2012 & FWH 14.12 & Last Harbour some warnings
- Replies: 6
- Views: 984
Re: VS2012 & FWH 14.12 & Last Harbour some warnings
Hakan,
Please add this flag:
/NODEFAULTLIB:libcmt
Please add this flag:
/NODEFAULTLIB:libcmt
- Sun Jan 18, 2015 6:33 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: VS2012 & FWH 14.12 & Last Harbour some warnings
- Replies: 6
- Views: 984
Re: VS2012 & FWH 14.12 & Last Harbour some warnings
Hakan,
You should not link LIBCMT.lib.
Please remove it and try it again
Antonio,
There is not.
echo $(FWDIR)\lib\FiveH32.lib $(FWDIR)\lib\FiveHC32.lib >> msvc.tmp echo $(OBJDIR)\font.obj >> msvc.tmp echo $(OBJDIR)\TSmtp.obj >> msvc.tmp echo $(HBDIR) ...
You should not link LIBCMT.lib.
Please remove it and try it again
Antonio,
There is not.
echo $(FWDIR)\lib\FiveH32.lib $(FWDIR)\lib\FiveHC32.lib >> msvc.tmp echo $(OBJDIR)\font.obj >> msvc.tmp echo $(OBJDIR)\TSmtp.obj >> msvc.tmp echo $(HBDIR) ...