Search found 81 matches: nodefaultlib

Return to advanced search

Re: Error en librerias de Harbour MSVC

Estimado Adhemar, Tienes que enlazar la librería de MSVC ucrt.lib y añadir estos flags para el enlazador: /NODEFAULTLIB:libucrt /NODEFAULTLIB:msvcrt Ahora usamos la versión UCRT (en vez de la anterior MSVCRT) de MSVC que es más moderna y rápida Dear Antonio, You mean modify ...
by richard-service
Thu Apr 18, 2024 10:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en librerias de Harbour MSVC
Replies: 4
Views: 122

Re: Error en librerias de Harbour MSVC

Estimado Adhemar,

Tienes que enlazar la librería de MSVC ucrt.lib y añadir estos flags para el enlazador:

/NODEFAULTLIB:libucrt /NODEFAULTLIB:msvcrt

Ahora usamos la versión UCRT (en vez de la anterior MSVCRT) de MSVC que es más moderna y rápida
by Antonio Linares
Wed Apr 17, 2024 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en librerias de Harbour MSVC
Replies: 4
Views: 122

Re: VS2022 Portable x32 x64

... >> msvc.tmp echo strmiids.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:msvcrt IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built * @set path=%oldpath% @set include=%oldinclude% @set lib=%oldlib% ...
by Compuin
Wed Apr 12, 2023 9:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: VS2022 Portable x32 x64
Replies: 19
Views: 6782

Re: 32 Bit BCC7 *.MAK -> MSVC 64 Bit ?

Antonio Linares wrote:-ldflag=/NODEFAULTLIB:msvcrt


I recommend to use -MD compiler switch and replace the above with

Code: Select all  Expand view
-nodefaultlib:libcmt
by Enrico Maria Giordano
Wed Nov 16, 2022 11:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
Replies: 14
Views: 816

Re: hb_base64 link

Try putting these parameters:

/FORCE:MULTIPLE
SET HB_USER_LDFLAGS= /NODEFAULTLIB:msvcrt /MACHINE:X86 /nologo /subsystem:windows /INCREMENTAL:NO /ignore:4006 /MANIFEST:NO /FORCE:MULTIPLE
by Giovany Vecchi
Mon Sep 12, 2022 3:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3483

Re: hb_base64 link

Dear Enrico,

Have you tried using this flag: /NODEFAULTLIB:libc ?

What do you get ?
by Antonio Linares
Wed Sep 07, 2022 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3483

Re: hb_base64 link

... strmiids.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp %VCDIRBIN%\link @msvc.tmp -nologo /SUBSYSTEM:windows /FORCE:multiple /NODEFAULTLIB:msvcrt /LIBPATH:%VCDIRLIB% IF ERRORLEVEL 1 GOTO LINKERROR rem borrando archivos temporales y ejecutando aplicacion ECHO * Delete temporal ...
by carlos vargas
Sun Sep 04, 2022 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3483

Re: Archivo.env para Microsoft Visual Studio

... -nologo /MACHINE:X86 /OUT:%LIB% @%RSP% C_LINK_COMMAND=%C_INSTALL%\bin32\link.exe -nologo /SUBSYSTEM:windows /NODEFAULTLIB:msvcrt /FORCE:multiple %CRLF% /LIBPATH:%C_INSTALL%\lib\win32 /LIBPATH:%HB_INSTALL%\lib\win\msvc /LIBPATH:%HOME%\lib @%LNK% C_RC_COMMAND=%C_INSTALL%\bin32\rc.exe ...
by carlos vargas
Tue Jul 12, 2022 5:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Archivo.env para Microsoft Visual Studio
Replies: 1
Views: 417

Re: Archivo.env para xMate y VC2019

... -Fo%OBJ% %C% C_LIB_COMMAND=%C_BIN_INSTALL%\lib.exe -nologo /OUT:%LIB% @%RSP% C_LINK_COMMAND=%C_BIN_INSTALL%\link.exe -nologo /SUBSYSTEM:windows /NODEFAULTLIB:msvcrt /FORCE:multiple %CRLF% /LIBPATH:%C_LIB_INSTALL% /LIBPATH:%HB_LIB_INSTALL% /LIBPATH:%HOME%\LIB @%LNK% C_RC_COMMAND=%C_BIN_INSTALL%\rc.exe ...
by carlos vargas
Wed Dec 01, 2021 6:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Archivo.env para xMate y VC2019
Replies: 4
Views: 554

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

... 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 ...
by MOISES
Thu Jan 30, 2020 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can´t produce .exe with MSVC 2019 [solved]
Replies: 3
Views: 629

Re: problem with harbour dll

... main.prg -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 ...
by AntoninoP
Mon Dec 09, 2019 7:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with harbour dll
Replies: 4
Views: 777

Re: Error compilando con visualstudio 2019

... >> msvc.tmp echo strmiids.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:msvcrt IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built * @set path=%oldpath% @set include=%oldinclude% @set lib=%oldlib% ...
by Compuin
Wed Jun 19, 2019 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error compilando con visualstudio 2019 (SOLUCIONADO)
Replies: 9
Views: 1096

Re: Error compilando con visualstudio 2019

... >> msvc.tmp echo strmiids.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:msvcrt IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built * @set path=%oldpath% @set include=%oldinclude% @set lib=%oldlib% ...
by cnavarro
Wed Jun 19, 2019 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error compilando con visualstudio 2019 (SOLUCIONADO)
Replies: 9
Views: 1096

Re: Building Harbour 3.4 for BCC outside MSYS

... >> msvc.tmp echo %vcdir%\lib\ws2_32.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp %vcdir%\bin\link @msvc.tmp /nologo /NODEFAULTLIB:LIBC /NODEFAULTLIB:msvcrt /force:multiple /nxcompat:NO /subsystem:windows,5.01 /machine:X86 /Ignore:4006 /LIBPATH:c:\Msvc17\lib IF ERRORLEVEL ...
by Rick Lipkin
Sun Dec 17, 2017 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building Harbour 3.4 for BCC outside MSYS
Replies: 87
Views: 17204

Re: Building Harbour 3.4 for BCC outside MSYS

mastintin I must be jinxed or hexed .. I made your change I'm running out of ideas :-) ok ,is correct /NODEFAULTLIB:libc see this http://fivetechsupport.com/forums/viewtopic.php?f=3&t=31895&start=0 .. go back to fivehcM.lib and include last xfw.lib https://bitbucket.org/fivetech/fivewin-contributions/downloads/xfw_20171005.zip ...
by mastintin
Fri Dec 15, 2017 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building Harbour 3.4 for BCC outside MSYS
Replies: 87
Views: 17204
Next

Return to advanced search

cron