FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour BUILDH VARIOS PRG
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
BUILDH VARIOS PRG
Posted: Fri May 16, 2008 06:10 PM

Que tengo que hacer para utilizar varios prg
Probe con VERCE 53 y me da este error
Error: Unresolved external '_HB_FUN_MSGINFO' referenced from C:\VERCE53\PRUEBAS.OBJ

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
BUILDH VARIOS PRG
Posted: Fri May 16, 2008 06:19 PM

Luis,

Para compilar y enlazar más de un PRG repite estas líneas en el fichero buildh.bat:

%hdir%\bin\harbour otro.prg /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > clip.log @type clip.log IF ERRORLEVEL 1 PAUSE IF ERRORLEVEL 1 GOTO EXIT

echo -O2 -e%1.exe -I%hdir%\include otro.c > b32.bc
%bcdir%\bin\bcc32 -M -c @b32.bc

Asi por cada PRG, y en las líneas en donde se enlaza hay que añadir esos OBJs:

echo c0w32.obj + > b32.bc
echo %1.obj otro.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Gracias Antonio
Posted: Fri May 16, 2008 07:36 PM

Hola Antonio

Ya lo revise y sin problemas

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 2064
Joined: Fri Jan 06, 2006 09:28 PM
BUILDH VARIOS PRG
Posted: Sat May 17, 2008 06:01 AM

Usa el verce 5.0, alli no tienes problemas, enlazos varios .prg y todo muy bien, ademas de varios .rc y .res a la ves, saludos.

Dios no está muerto...



Gracias a mi Dios ante todo!
Posts: 161
Joined: Wed Jan 25, 2006 10:45 AM
BUILDH VARIOS PRG
Posted: Sat May 17, 2008 08:03 AM

... Puedes usar .MAK tambien.. para mi son la mejor.. opcion :)

Saludos.!

Saludos

Ricardo R.

xHarbour 1.1.0 Simplex , Microsoft Visual Studio 2008, Bcc55, Fwh Build. 9.01

Continue the discussion