Error Linking: FWH64 / Harbour / MSVC2015

Post Reply
bradmaudlin
Posts: 23
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

Error Linking: FWH64 / Harbour / MSVC2015

Post by bradmaudlin »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Error Linking: FWH64 / Harbour / MSVC2015

Post by Antonio Linares »

Brad,

Please check that you are using this Harbour 64:

https://bitbucket.org/fivetech/harbour- ... 160308.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
bradmaudlin
Posts: 23
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

Re: Error Linking: FWH64 / Harbour / MSVC2015

Post by bradmaudlin »

Antonio,

That was it. Works fine on all the samples. Now to start on some of my smaller programs.
Thanks again for the EXCELLENT support!

Brad.
Post Reply