FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour hbmk2 for bcc64
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
hbmk2 for bcc64
Posted: Mon Apr 04, 2016 08:46 AM

Antonio ,

is it possible to have hbmk2.exe for BCC64 ?

Thanks in anticipation

Maurizio

www.nipeservice.com

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 08:51 AM

Hbmk2.exe it is included in Harbour 64

viewtopic.php?f=16t=32157#p188296

&

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 09:50 AM
Hello ,
I had already tested it , but I have this error
Code (fw): Select all Collapse
C:\Users\Maurizio\AppData\Local\Temp\hbmk_1tczsy.dir\achoice.c:
In file included from C:\Users\Maurizio\AppData\Local\Temp\hbmk_1tczsy.dir\achoi
ce.c:7:
In file included from c:\fwh64\Harbour_bcc7\include\hbvmpub.h:50:
c:\fwh64\Harbour_bcc7\include/hbdefs.h:50:10: fatal error: 'stdarg.h' file not found
#include <stdarg.h>
         ^
1 error generated.
hbmk2: Error: Running C/C++ compiler. 1
bcc64.exe -c -q -CP437 -Ic:\bcc71-64\INCLUDE\windows\crtl -Ic:\bcc71-64\INCLUDE\
windows\sdk -d -O2  -tWM -w -Q -w-sig- -nC:\Users\Maurizio\AppData\Local\Temp\hb
mk_1tczsy.dir -Ic:\fwh64\Harbour_bcc7\include C:\Users\Maurizio\AppData\Local\Te
mp\hbmk_1tczsy.dir\achoice.c
****************** Linking errors *


Regards Maurizio
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 10:02 AM

Please, revise your paths in your files make and .bat if is neccesary

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 10:09 AM

Maurizio,

Check that stdarg.h is in c:\bcc71-64\INCLUDE\windows\crtl

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 10:45 AM
Thank Antonio ,
I changed the directory of bcc64 ,and I set SET PATH=c:\Bcc7164\Bin but dosn't work ,
now with BCC in c:\bcc71-64\ it works

the error that I have is :
c:\bcc71-64
Code (fw): Select all Collapse
hbmk2: Linking... mastrosql.EXE
Turbo Incremental Link64 6.72 Copyright (c) 1997-2015 Embarcadero Technologies,
Inc.
Fatal: Unable to open file 'C0W64.OBJ'
hbmk2: Error: Running linker. 2
ilink64.exe @C:\Users\Maurizio\AppData\Local\Temp\j1r9if.lnk -Lc:\bcc71-64\LIB\psdk


Thanks Maurizio
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: hbmk2 for bcc64 SOLVE
Posted: Mon Apr 04, 2016 03:35 PM
Thank Antonio ,

Finnaly I have compile all the prg ( a big program in MYSQL) in BCC64 bit with hbmk2 .

I had to rename c0w64.o in c0w64.obj and works.

This is the BAT
Code (fw): Select all Collapse
SET PATH=c:\bcc71-64\BIN\;c:\fwh64\Harbour_bcc7\bin\;C:\WINDOWS;C:\WINDOWS\SYSTEM32

hbmk2  -inc mastro.hbm fwh.hbc -otest.EXE   -info  -debugpars -comp=bcc64


the fwh.hbc
Code (fw): Select all Collapse
{win}gt=gtgui

incpaths=c:\bcc71-64\INCLUDE
libpaths=c:\bcc71-64\LIB
incpaths=C:\FWH64\include
libpaths=C:\FWH64\lib

{bcc64}libs=five64.a fivec64.a  

{win}libs=hbwin.a 
{win}libs=gtgui.a  
{win}libs=hbrtl.a  
{win}libs=hbvm.a  
{win}libs=hblang.a  
{win}libs=hbmacro.a  
{win}libs=hbrdd.a  
{win}libs=rddntx.a  
{win}libs=rddcdx.a  
{win}libs=rddfpt.a   
{win}libs=hbsix.a  
{win}libs=hbdebug.a  
{win}libs=hbcommon.a  
{win}libs=hbpp.a  
{win}libs=hbcpage.a  
{win}libs=hbcplr.a   
{win}libs=hbct.a  
{win}libs=hbpcre.a  
{win}libs=xhb.a  
{win}libs=hbziparc.a  
{win}libs=hbmzip.a  
{win}libs=hbzlib.a  
{win}libs=minizip.a  
{win}libs=png.a  
{win}libs=hbusrrdd.a  

{win}libs=cw64 
{win}libs=kernel32 
{win}libs=user32 
{win}libs=import64


and the mastri.hbm
Code (fw): Select all Collapse
-tshead=timestamp.ch 

-n 
-m 
-w 
-es2 
-gc0 
-p 
-q

tutor01.prg


Maurizio
www.nipeservice.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hbmk2 for bcc64
Posted: Mon Apr 04, 2016 04:24 PM

very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion