FWH 64 setup-Which LIBs have these function & symbol?

FWH 64 setup-Which LIBs have these function & symbol?

Postby kim yong woo » Sat Jul 11, 2015 6:21 am

Dear Sirs,

I am now installing FWH64 for MSVC , "visual" sample folder.
During installing and first compiling, after setting up options, I faced following error messages.

Code: Select all  Expand view
error LNK2001: unresolved external symbol_HB_FUN_AADD
error LNK2001: unresolved external symbol_HB_FUN_ASORT
error LNK2001: unresolved external symbol_HB_FUN_DIRECTORY
error LNK2001: unresolved external symbol_HB_FUN_ERRORSYS
error LNK2001: unresolved external symbol_HB_FUN_FW_GT
error LNK2001: unresolved external symbol_HB_FUN_HBCLASS
error LNK2001: unresolved external symbol_HB_FUN_LEN
error LNK2001: unresolved external symbol_HB_FUN_LOWER
error LNK2001: unresolved external symbol_HB_FUN_TBAR
error LNK2001: unresolved external symbol_HB_FUN_TBTNBMP
error LNK2001: unresolved external symbol_HB_FUN_TFONT
error LNK2001: unresolved external symbol_HB_FUN_TWINDOW
error LNK2001: unresolved external symbol_HB_FUN___CLSLOCKDEF
error LNK2001: unresolved external symbol_HB_FUN___CLSUNLOCKDEF
error LNK2001: unresolved external symbol_HB_FUN___OBJHASMSG

error LNK2001: unresolved external symbol _hb_vmExecute
error LNK2001: unresolved external symbol _hb_vmProcessSymbols
error LNK2019: unresolved external symbol _hb_retclen referenced in function  _HB_FUN_FORMICON
 


And, followings are library included in .MAK File
Code: Select all  Expand view
visual64.exe : $(OBJS) VISUAL64.RES ..\lib\FiveH64.lib ..\lib\FiveHC64.lib
   echo $(OBJS) > msvc.tmp
   echo $(FWDIR)\lib\FiveH64.lib $(FWDIR)\lib\FiveHC64.lib >> msvc.tmp
   echo $(HBDIR)\lib\hbrtl.lib    >> msvc.tmp
   echo $(HBDIR)\lib\hbvm.lib     >> msvc.tmp
   echo $(HBDIR)\lib\gtgui.lib    >> msvc.tmp
   echo $(HBDIR)\lib\hblang.lib   >> msvc.tmp
   echo $(HBDIR)\lib\hbmacro.lib  >> msvc.tmp
   echo $(HBDIR)\lib\hbrdd.lib    >> msvc.tmp
   echo $(HBDIR)\lib\rddntx.lib   >> msvc.tmp
   echo $(HBDIR)\lib\rddcdx.lib   >> msvc.tmp
   echo $(HBDIR)\lib\rddfpt.lib   >> msvc.tmp
   echo $(HBDIR)\lib\hbsix.lib    >> msvc.tmp
   echo $(HBDIR)\lib\hbdebug.lib  >> msvc.tmp
   echo $(HBDIR)\lib\hbcommon.lib >> msvc.tmp
   echo $(HBDIR)\lib\hbpp.lib     >> msvc.tmp
   echo $(HBDIR)\lib\hbpcre.lib   >> msvc.tmp
   echo $(HBDIR)\lib\hbwin.lib    >> msvc.tmp
   echo $(HBDIR)\lib\hbct.lib     >> msvc.tmp
   echo $(HBDIR)\lib\hbcpage.lib  >> msvc.tmp
   echo $(HBDIR)\lib\xhb.lib      >> msvc.tmp
   echo $(HBDIR)\lib\hbcplr.lib   >> msvc.tmp
   echo $(HBDIR)\lib\png.lib      >> msvc.tmp
   echo $(HBDIR)\lib\hbzlib.lib   >> msvc.tmp
   echo $(HBDIR)\lib\hbct.lib     >> msvc.tmp

   echo $(VCDIR)\lib\kernel32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\user32.lib    >> msvc.tmp
   echo $(VCDIR)\lib\gdi32.lib     >> msvc.tmp
   echo $(VCDIR)\lib\winspool.lib  >> msvc.tmp
   echo $(VCDIR)\lib\comctl32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\comdlg32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\advapi32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\shell32.lib   >> msvc.tmp
   echo $(VCDIR)\lib\ole32.lib     >> msvc.tmp
   echo $(VCDIR)\lib\oleaut32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\oledlg.lib    >> msvc.tmp
   echo $(VCDIR)\lib\uuid.lib      >> msvc.tmp
   echo $(VCDIR)\lib\odbc32.lib    >> msvc.tmp
   echo $(VCDIR)\lib\odbccp32.lib  >> msvc.tmp
   echo $(VCDIR)\lib\iphlpapi.lib  >> msvc.tmp
   echo $(VCDIR)\lib\mpr.lib       >> msvc.tmp
   echo $(VCDIR)\lib\version.lib   >> msvc.tmp
   echo $(VCDIR)\lib\wsock32.lib   >> msvc.tmp
   echo $(VCDIR)\lib\psapi.lib     >> msvc.tmp
   echo $(VCDIR)\lib\msimg32.lib   >> msvc.tmp
 


Would someone advice me which library & include file I shall add to resolve these error message?

Thanks in advance.

Y.W.Kim
User avatar
kim yong woo
 
Posts: 57
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea

Re: FWH 64 setup-Which LIBs have these function & symbol?

Postby Antonio Linares » Sat Jul 11, 2015 8:31 am

Kim,

Please create a c:\harbour\lib\vc64 folder

and copy there the Harbour libs for 64 bits from here:
https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/harbour_3.2_64bits_VSC_20141218.zip

You have to install Visual Studio 2013 Express for the desktop from here:
https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 64 setup-Which LIBs have these function & symbol?

Postby kim yong woo » Mon Jul 13, 2015 1:46 am

Dear Antonio Linares and neighbors,

Thanks for your supports, and I hope to post what I found during setup for another beginners like me.

1.VC version
At the beginning, I've installed Visual studio community version, and Express version, again.

When I compiled "Visual folder" in FWH64, there was error message saying so many
"unresolved external symbol", and variables.

It was same with sample program in "Sample folder"

After various trial and Antonio Linares' help, I've found there might be certain match required for VC lib.
-- the VC libraries dated as "2013. 08. 02"

2. vcvarsall.bat
And, another requirement for 64Bit was setting up compile environment by "vcvarsall.bat"

When I applied the above two things, it was possible to compile single prg. without error message.

In compiling program with .mak file, there was error message saying "error LNK2001: unresolved external symbol _HB_FUN", but, I will check whether there is another requirement in my computer.

Thanks to good neighbors, I am learning!..
User avatar
kim yong woo
 
Posts: 57
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea

Re: FWH 64 setup-Which LIBs have these function & symbol?

Postby Antonio Linares » Mon Jul 13, 2015 7:17 am

Kim,

"error LNK2001: unresolved external symbol _HB_FUN"


What PRG are you trying to compile ? Could you post it here ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests