Visual interface for Harbour hbmk2.exe

Re: Visual interface for Harbour hbmk2.exe

Postby Antonio Linares » Tue Apr 09, 2013 9:29 pm

Otto,

Here it is working fine on first try. Please check "hbmk2 trace" and copy here the contents of the "Result", thanks
regards, saludos

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

Re: Visual interface for Harbour hbmk2.exe

Postby Otto » Tue Apr 09, 2013 9:42 pm

Hello Antonio,
this is my "Result".
Best regards,
Otto

failed in final assembly (linker or library manager)

c:\FWH\samples>set path=C:\bcc582\bin

c:\FWH\samples>C:\harbour\bin\hbmk2.exe -comp=bcc -ic:\fwh\include -lfiveh -lfivehc -Lc:\fwh\lib -lc:\bcc582\lib\psdk\psapi xhb.hbc -gtgui -trace C:\fwh\samples\xbrwin7b.prg
hbmk2: Harbour compiler command (embedded):
(C:\harbour\bin\harbour.exe) -n2 C:\fwh\samples\xbrwin7b.prg -oC:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\ -iC:\bcc582\Include -iC:\bcc582\Include\dinkumware -iC:\harbour\include -ic:\fwh\include
Harbour 3.2.0dev (Rev. 18881)
Copyright (c) 1999-2013, http://harbour-project.org/
Compiling 'C:\fwh\samples\xbrwin7b.prg'...



Lines 4379, Functions/Procedures 1
Generating C source output to 'C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\xbrwin7b.c'... Done.
hbmk2: C/C++ compiler command:
bcc32.exe -c -q -CP437 -d -O2 -OS -Ov -Oc -Oi -6 -tW -tWM -w -Q -w-sig- -nC:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir -IC:\bcc582\Include -IC:\bcc582\Include\dinkumware -IC:\harbour\include -Ic:\fwh\include C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\xbrwin7b.c C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_yyflry.c
C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\xbrwin7b.c:
C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_yyflry.c:
hbmk2: Linker command:
ilink32.exe @C:\Users\SCHULB~1\AppData\Local\Temp\si0weu.lnk
hbmk2: Linker script:
-Gn -Tpe -LC:\bcc582\Lib;C:\bcc582\Lib\PSDK;C:\harbour\lib;c:\fwh\lib -aa c0w32.obj C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\xbrwin7b.obj C:\Users\SCHULB~1\AppData\Local\Temp\hbmk_29t115.dir\hbmk_yyflry.obj, xbrwin7b.exe, nul, fiveh.lib fivehc.lib c:\bcc582\lib\psdk\psapi.lib hbextern.lib hbdebug.lib hbvm.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib wininet.lib hbpcre.lib hbzlib.lib cw32mt.lib import32.lib, ,
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from C:\FWH\LIB\FIVEH.LIB|TGET
Error: Unresolved external '_HB_FUN_GETACTIVEOBJECT' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_LOG10' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_FLOOR' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_STRINGTOLITERAL' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_CEILING' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_TOKEN' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_HSETCASEMATCH' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_HSET' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_HEVAL' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_TTOS' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_STOT' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_CTOT' referenced from C:\FWH\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_CHARREM' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_AFTERATNUM' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_RANGEREPL' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_BLANK' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_CHARONLY' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE

hbmk2: Error: Referenced, missing, but unknown function(s): TOLEAUTO(),
ANSITOWIDE(), GETACTIVEOBJECT(), CREATEOBJECT(), LOG10(), FLOOR(),
STRINGTOLITERAL(), CEILING(), TOKEN(), HSETCASEMATCH(), HSET(), HEVAL(),
TTOS(), STOT(), CTOT(), CHARREM(), HB_DECODE(), AFTERATNUM(),
RANGEREPL(), BLANK(), CHARONLY()
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Visual interface for Harbour hbmk2.exe

Postby Horizon » Wed Apr 10, 2013 6:17 am

Antonio,

3) I have written prg files but vmh.exe cannot compile them. (in clipper with /n parameter)


Can you compile them using harbour.exe ?


I have been using xharbour commercial since now. I just migrate to MSVC (VS2010). I have not tried standalone harbour.exe.

Thanks for all.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Visual interface for Harbour hbmk2.exe

Postby Antonio Linares » Wed Apr 10, 2013 8:07 am

Otto,

I already know why it is failing for you (as you don't have all the Harbour files from its repository).

I have just asked Viktor how to set the libraries path for Harbour libs for hbmk2:
https://groups.google.com/forum/?fromgroups=#!topic/harbour-devel/vqdvGSwTZhM
regards, saludos

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

Re: Visual interface for Harbour hbmk2.exe

Postby ADutheil » Wed Apr 10, 2013 10:54 am

Antônio,

VMH is not working with non default msvc10 install due to the hard coded path to vcvarsall.bat.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Visual interface for Harbour hbmk2.exe

Postby Antonio Linares » Wed Apr 10, 2013 12:15 pm

André,

You can easily fix it modifying this line in vmh.prg:

If( cCCompiler == "Microsoft", 'call "%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"' + CRLF, "" ) + ;

where is your Visual Studio installed ?
regards, saludos

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

Re: Visual interface for Harbour hbmk2.exe

Postby ADutheil » Wed Apr 10, 2013 12:38 pm

Sure, already did it.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 72 guests