hbmk2 for bcc64

hbmk2 for bcc64

Postby Maurizio » Mon Apr 04, 2016 8:46 am

Antonio ,

is it possible to have hbmk2.exe for BCC64 ?

Thanks in anticipation

Maurizio
www.nipeservice.com
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: hbmk2 for bcc64

Postby cnavarro » Mon Apr 04, 2016 8:51 am

Hbmk2.exe it is included in Harbour 64

viewtopic.php?f=16&t=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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: hbmk2 for bcc64

Postby Maurizio » Mon Apr 04, 2016 9:50 am

Hello ,
I had already tested it , but I have this error
Code: Select all  Expand view
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
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: hbmk2 for bcc64

Postby cnavarro » 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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: hbmk2 for bcc64

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

Re: hbmk2 for bcc64

Postby Maurizio » 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: Select all  Expand view
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
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: hbmk2 for bcc64 SOLVE

Postby Maurizio » Mon Apr 04, 2016 3: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: Select all  Expand view
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: Select all  Expand view
{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: Select all  Expand view
-tshead=timestamp.ch

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

tutor01.prg


Maurizio
www.nipeservice.com
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: hbmk2 for bcc64

Postby Antonio Linares » Mon Apr 04, 2016 4:24 pm

very good :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 88 guests