Hola,
tengo la necesidad de crear las LIBS de HMG con la ultima versión del SVN, debido a que estoy utilizando una funcion que ha sido recientemente creada (tempfile()), y que no existe en la version de harbour que se distribuye con HMG.
Para esto he creado harbour desde los fuentes del SVN, utilizando el MinGW que viene con HMG.3.0.35 y luego he reemplazado la carpeta de harbour del HMG.
Luego he creado las LIBS de HMG, utilizando los makeall.bat, tuve que renombrar la carpeta hmg.3.0.35 a hmg para no modificar makeall.bat. Se generan las LIBS, pero con algunas advertencias (adjunto archivo warnings.txt).
Luego cargo el IDE, abro el ejemplo hello.hbp de C:\hmg\SAMPLES\CONSOLE, click en el boton RUN y aparece la pantalla del build log en blanco, ademas se generan los archivos erro.log y build.log que contienen lo siguiente:
hbmk2: Compiling Harbour sources...
Harbour 2.1.0beta2 (Rev. 15358)
Copyright (c) 1999-2010, http://harbour-project.org/
hbmk2: Compiling...
../../../.hbmk/win/mingw/hello.c: In function 'HB_FUN_MAIN':
../../../.hbmk/win/mingw/hello.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pcode'
../../../.hbmk/win/mingw/hello.c:39: error: 'pcode' undeclared (first use in this function)
../../../.hbmk/win/mingw/hello.c:39: error: (Each undeclared identifier is reported only once
../../../.hbmk/win/mingw/hello.c:39: error: for each function it appears in.)
../../../.hbmk/win/mingw/hello.c:39: error: expected expression before ']' token
../../../.hbmk/win/mingw/_hbmkaut.c: In function '_hb_hbmk_setdef_':
../../../.hbmk/win/mingw/_hbmkaut.c:24: warning: implicit declaration of function 'hb_vmSetDefaultGT'
hbmk2: Error: Running C/C++ compiler. 1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -O3 -W -Wall -pipe -IC:/include -IC:/hmg//include -IC:/hmg/SAMPLES/CONSOLE ../../../.hbmk/win/mingw/hello.c ../../../.hbmk/win/mingw/_hbmkaut.c
Existe algun procedimiento especial para generar HMG con una versión actualizada de harbour.
¿Cómo puedo hacer para poder usar HMG con una versión de harbour actualizada?
o tal vez se podría preparar una distribución con una version actualizada de harbour.
De antemano, muchas gracias por la ayuda que me puedan brindar.
Obrigado pela resposta, mas vou instalar em casa pois aqui na empresa não posso fazer a instalação da mesma, tenho que instalar em casa e criar um arquivo.zip e descompactar aqui e recriar as lib´s para poder usar com o xharbour pois estou preso a ele por outra LIB a qual não quero comentar aqui.
Today I tried to make download of this HMG version and links are broken...
Any problem in host to get it back again this version ?
Hi Rathi,
Any news about it ?
Screen4.png (35.46 KiB) Viewed 5750 times
I have made many indications over many other forums regarding this version for the simplest question of console mode and making easier for beginners. So this link I have indicated and many is unable to download this version...
HMGing a better world "Matter tells space how to curve, space tells matter how to move." Albert Einstein