Search found 81 matches: nodefaultlib

Return to advanced search

Re: FWH 14.06

Tim, Robb, Fixed. Just remember to call the MS link this way: "%VCINSTALLDIR%"bin\link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:libc /NODEFAULTLIB:msvcrt Now see what we get: Compiling... Harbour 3.2.0dev (r1406271520) Copyright (c) 1999-2014, http://harbour-project.org/ ...
by Antonio Linares
Fri Jul 25, 2014 5:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.06
Replies: 15
Views: 4260

Re: FWH 14.06

Adding the NODEFAULTLIB:MSVCRT results in the following errors: FiveHC32.lib(MSGS.obj) : error LNK2019: unresolved external symbol __imp__sprintf referenced in function _LToStr FiveHC32.lib(FWBMP.obj) : error LNK2019: unresolved ...
by TimStone
Thu Jul 24, 2014 7:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.06
Replies: 15
Views: 4260

Re: FWH 14.06

... the MSVCR120.dll The link flags to use from buildh32.bat are these: "%VCINSTALLDIR%"bin\link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:libc /NODEFAULTLIB:msvcrt Still we get some warnings to clean, but the DLL is not loner needed :-)
by Antonio Linares
Thu Jul 24, 2014 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.06
Replies: 15
Views: 4260

Re: FWH 14.06

Tim, The difference comes from the flags that we suply to the linker: "%VCINSTALLDIR%"bin\link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:libc /NODEFAULTLIB:msvcrt Using /NODEFAULTLIB:msvcrt we tell the linker not to use the MSVCR120.dll But then, we get some symbols to resolve. ...
by Antonio Linares
Thu Jul 24, 2014 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.06
Replies: 15
Views: 4260

Re: Bug harbour_3.2_32bits_MSVC2013_20142906

Antonio , Thank the broblem was ( I use hbmk2 ) -ldflag=/force:multiple -ldflag=/NODEFAULTLIB:libc I have this warnings , are they important ? MSVCRT.lib(MSVCR120.dll) : warning LNK4006: _memmove gi definito in LIBCMT.lib( memmove.obj); seconda definizione ignorata ...
by Maurizio
Mon Jul 21, 2014 8:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bug harbour_3.2_32bits_MSVC2013_20142906
Replies: 42
Views: 7838

Re: Bug harbour_3.2_32bits_MSVC2013_20142906

Fernando,

Añade este flag al enlazador: /NODEFAULTLIB:MSVCRT

Tu cambio está bien aunque sería más correcto "unsigned char" que es lo que en realidad es BYTE.
by Antonio Linares
Tue Jul 01, 2014 10:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bug harbour_3.2_32bits_MSVC2013_20142906
Replies: 42
Views: 7838

Re: Visual Studio with harbour

Matheus,

You have to add this command too: /NODEFAULTLIB:libcmt

If you don't know where to place it, just tell me and I will help you :-)
by Antonio Linares
Wed Jun 25, 2014 3:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Visual Studio with harbour
Replies: 17
Views: 5310

Detailed guide to use the Visual Studio 2013 IDE with FWH

... FWH libraries: https://bitbucket.org/fivetech/visual-studio-ide/downloads/step_18.jpg To remove the linker warnings add this options: /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:LIBCMT https://bitbucket.org/fivetech/screenshots/downloads/visualstudio_linkerwarnings.JPG 17. Now build ...
by Antonio Linares
Mon Jun 23, 2014 5:21 am
 
Forum: Utilities / Utilidades
Topic: Detailed guide to use the Visual Studio 2013 IDE with FWH
Replies: 9
Views: 5061

Re: Full working project for Visual Studio 2012 IDE

And now there are 4: 1>libcmt.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>Fivehc32.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol _GetFileVersionInfoSizeA@8 referenced in function _HB_FUN_REDLLVERSION ...
by TimStone
Tue Jun 10, 2014 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Full working project for Visual Studio 2012 IDE
Replies: 31
Views: 6866

Re: Full working project for Visual Studio 2012 IDE

... you linking OleDlg.lib ? Don't worry for these warnings: 1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library We will find a way ...
by Antonio Linares
Sat Jun 07, 2014 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Full working project for Visual Studio 2012 IDE
Replies: 31
Views: 6866

Re: Full working project for Visual Studio 2012 IDE

Problem solved: We can't use /NODEFAULTLIB:LIBCMT or we get the unresolved external __HUGE, that requires a Harbour built using this compiler flag /MD: http://social.msdn.microsoft.com/Forums/vstudio/en-US/2c526d90-fbd3-40c1-89b4-1e35ca521818/dll-with-static-lib-dependency ...
by Antonio Linares
Sat Jun 07, 2014 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Full working project for Visual Studio 2012 IDE
Replies: 31
Views: 6866

Re: Proyecto funcionando para Visual Studio 2012

Problema solucionado: No podemos usar /NODEFAULTLIB:LIBCMT ó nos encontramos con la referencia externa __HUGE no solucionada, que requiere construir Harbour con este flag de compilación /MD: http://social.msdn.microsoft.com/Forums/vstudio/en-US/2c526d90-fbd3-40c1-89b4-1e35ca521818/dll-with-static-lib-dependency ...
by Antonio Linares
Sat Jun 07, 2014 8:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Proyecto funcionando para Visual Studio 2012 IDE
Replies: 2
Views: 722

Re: Proyecto funcionando para Visual Studio 2012

Este flag es necesario para eliminar un warning: /NODEFAULTLIB:LIBCMT
(no está incluido en el fichero que he proporcionado. Ya iré proporcionando versiones actualizadas)

Image
by Antonio Linares
Sat Jun 07, 2014 7:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Proyecto funcionando para Visual Studio 2012 IDE
Replies: 2
Views: 722

Re: Full working project for Visual Studio 2012 IDE

This flag is required to avoid a linker warning: /NODEFAULTLIB:LIBCMT
(it is not included in the project that I have provided. I will be providing updated versions of it)

Image
by Antonio Linares
Sat Jun 07, 2014 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Full working project for Visual Studio 2012 IDE
Replies: 31
Views: 6866

Re: Compilar fivewin a 64 con harbour

... EXIST one.res echo one.res >> msvc.tmp SET LIB=$(VCDIR)\lib SET PATH=$(VCDIR)\bin link @msvc.tmp /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libc > link.log @type link.log @del one.c @del two.c @del three.c @del msvc.tmp one.obj : one.c two.obj : two.c three.obj : three.c ...
by jbaezd
Mon May 26, 2014 3:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar fivewin a 64 con harbour
Replies: 4
Views: 2301
PreviousNext

Return to advanced search