Error Linking: FWH64 / Harbour / MSVC2015
Posted: Fri May 06, 2016 8:18 pm
Hi,
I have downloaded the NEW FWH64 16.04 and installed MS Visual Studio 2015 Community and am getting a few errors when linking the sample programs.
I get -
┌────────────────────────────────────────────────────────────────────────────┐
│ FWH 64 for Harbour 16.03 (MSVC++) Mar.2016 Harbour development power │▄
│ (c) FiveTech 1993-2016 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r1601101942)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'getfree.prg' and generating preprocessed output to 'getfree.ppo'...
Lines 4545, Functions/Procedures 1
Generating C source output to 'getfree.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
getfree.c
hbvm.lib(hvmall.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function internal_malloc_stats
hbcplr.lib(hbcomp.obj) : error LNK2001: unresolved external symbol __iob_func
hbpp.lib(ppcore.obj) : error LNK2001: unresolved external symbol __iob_func
hbcommon.lib(hbprintf.obj) : error LNK2019: unresolved external symbol _vacopy referenced in function hb_vsnprintf
getfree.exe : fatal error LNK1120: 2 unresolved externals
* Linking errors *
I found the fix for the _iob_func error and it is OK, but the "unresolved external symbol _vacopy" error I have not been able to fix.
I saw TIm Stone had this error also. If you are out there, how did you fix this? (New hbcommon.lib?)
I am excited to make my first 64bit program, Thanks for all the help.
Brad.
I have downloaded the NEW FWH64 16.04 and installed MS Visual Studio 2015 Community and am getting a few errors when linking the sample programs.
I get -
┌────────────────────────────────────────────────────────────────────────────┐
│ FWH 64 for Harbour 16.03 (MSVC++) Mar.2016 Harbour development power │▄
│ (c) FiveTech 1993-2016 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r1601101942)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'getfree.prg' and generating preprocessed output to 'getfree.ppo'...
Lines 4545, Functions/Procedures 1
Generating C source output to 'getfree.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
getfree.c
hbvm.lib(hvmall.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function internal_malloc_stats
hbcplr.lib(hbcomp.obj) : error LNK2001: unresolved external symbol __iob_func
hbpp.lib(ppcore.obj) : error LNK2001: unresolved external symbol __iob_func
hbcommon.lib(hbprintf.obj) : error LNK2019: unresolved external symbol _vacopy referenced in function hb_vsnprintf
getfree.exe : fatal error LNK1120: 2 unresolved externals
* Linking errors *
I found the fix for the _iob_func error and it is OK, but the "unresolved external symbol _vacopy" error I have not been able to fix.
I saw TIm Stone had this error also. If you are out there, how did you fix this? (New hbcommon.lib?)
I am excited to make my first 64bit program, Thanks for all the help.
Brad.