Otto,
Here it is working fine on first try. Please check "hbmk2 trace" and copy here the contents of the "Result", thanks
Visual interface for Harbour hbmk2.exe
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Visual interface for Harbour hbmk2.exe
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()
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: Visual interface for Harbour hbmk2.exe
Antonio,
Thanks for all.
I have been using xharbour commercial since now. I just migrate to MSVC (VS2010). I have not tried standalone harbour.exe.Can you compile them using harbour.exe ?3) I have written prg files but vmh.exe cannot compile them. (in clipper with /n parameter)
Thanks for all.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Visual interface for Harbour hbmk2.exe
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/?fromgr ... qdvGSwTZhM
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/?fromgr ... qdvGSwTZhM
Re: Visual interface for Harbour hbmk2.exe
Antônio,
VMH is not working with non default msvc10 install due to the hard coded path to vcvarsall.bat.
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 BCC 5.82 MinGW 4.5.2 MSVS 10
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Visual interface for Harbour hbmk2.exe
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 ?
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 ?
Re: Visual interface for Harbour hbmk2.exe
Sure, already did it.
Regards,
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10