FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al compilar hbIDE y FWH
Posts: 131
Joined: Tue Dec 26, 2006 04:50 PM
Error al compilar hbIDE y FWH
Posted: Thu Jul 05, 2012 08:53 PM
Hola a todos, estoy nuevamente tratando de echar a andar hbIDE, ya parece que veo la luz al final del tunel, pero (siempre hay un pero), al intentar compilar me aparecen los siguientes errores:

Code (fw): Select all Collapse
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_set' referenced from C:\FWH\LIB\FIVEHC.LIB|MSGS
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR

Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR

hbmk2: Error: Running linker. 2
ilink32.exe @C:\Users\MRODRI~1\AppData\Local\Temp\gn8f47.lnk


Alguna idea de que es lo que estoy haciendo mal?

Mil gracias por su ayuda
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Re: Error al compilar hbIDE y FWH
Posted: Thu Jul 05, 2012 09:16 PM
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 131
Joined: Tue Dec 26, 2006 04:50 PM
Re: Error al compilar hbIDE y FWH
Posted: Thu Jul 05, 2012 11:16 PM
Muchas gracias por tu respuesta, segui los pasos de la liga que me mandaste y se corrigieron algunos problemas, solo permanece este:

Code (fw): Select all Collapse
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_set' referenced from C:\FWH\LIB\FIVEHC.LIB|MSGS
Error: Unresolved external '_HB_FUN___DBGSET' referenced from C:\HBIDE\PROJECTS\TEST\.HBMK\WIN\BCC\CONSULTA.OBJ

hbmk2: Error: Running linker. 2
ilink32.exe @C:\Users\MRODRI~1\AppData\Local\Temp\tk43g1.lnk

----------------------------------------------------------------------------------------------------
Exit Code [ 7 ] Exit Status [ 0 ] Finished at [ 18:16:15 ] Done in [ 0.53 Secs ]
----------------------------------------------------------------------------------------------------

Detected executable => C:\hbIDE\projects\Test\Consulta.exe

Sorry, cannot launch project because of errors...

Gracias por la ayuda.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al compilar hbIDE y FWH
Posted: Fri Jul 06, 2012 07:07 AM

Mario,

Comprueba si hay alguna llamada a hb_set desde FWH\source\function\msgs.c, y copia aqui la llamada, gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 131
Joined: Tue Dec 26, 2006 04:50 PM
Re: Error al compilar hbIDE y FWH
Posted: Fri Jul 06, 2012 09:15 PM

Antonio, lo que aparece en el archivo msgs.c es lo siguiente:

case HB_IT_DATE:
{
char szDate[ 9 ];
char szFormatted[ 11 ];

          _retc( hb_dateFormat( hb_pardsbuff( szDate, 1 ), szFormatted,
                 hb_set.HB_SET_DATEFORMAT ) );
       }
       break;

Gracias por la ayuda.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al compilar hbIDE y FWH
Posted: Sat Jul 07, 2012 12:28 PM
Mario,

Reemplaza ese código con este que no usa hb_set:

Code (fw): Select all Collapse
      case HB_IT_DATE:
           {
              hb_vmPushSymbol( hb_dynsymSymbol( hb_dynsymFindName( "DTOC" ) ) );    
              hb_vmPushNil();
              hb_vmPush( item );
              hb_vmDo( 1 );  
           }
           break;
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 131
Joined: Tue Dec 26, 2006 04:50 PM
Re: Error al compilar hbIDE y FWH
Posted: Mon Jul 09, 2012 02:46 PM

Antonio, gracias por la respuesta, hice lo que me sugeriste, ahora se presenta un mensaje de alerta que dice:

File type unknown or unsupported: C:/FWH/LIB/FIVEHC.LIB|MSGS

Y en la consola de salida del hbIDE aparece esto:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_set' referenced from C:\FWH\LIB\FIVEHC.LIB|MSGS

Supongo que un llamado a la funcion "HB_SET" tambien es echo desde FIVEHC.LIB, aparte del archivo msgs.c

Gracias y recibe un gran saludo.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al compilar hbIDE y FWH
Posted: Mon Jul 09, 2012 02:55 PM

Como has compilado el fichero msgs.c ?

Hazlo asi:
bcc32.exe -c -Ic:\harbour\include;c:\fwh\include msgs.c

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 131
Joined: Tue Dec 26, 2006 04:50 PM
Re: Error al compilar hbIDE y FWH
Posted: Mon Jul 09, 2012 11:15 PM

Antonio, el problema persiste, si tienes alguna otra opción para compilar mis PRG's te agradeceria me dijeras como, estaba usando xEdit2, pero desde que me cambiaron la máquina a una con windows 7 profesional de 64 bits me marca errores, entonces estoy buscando una alternativa para compilar, pero hasta el momento no lo he logrado.

Nuevamente muchas gracias

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al compilar hbIDE y FWH
Posted: Wed Jul 11, 2012 09:12 PM
Mario,

Hay distintos IDEs que sirven para construir aplicaciones con Harbour y FWH. Nosotros recomendamos UEStudio.

En la página de contribuciones de FiveWin puedes encontrar algunos más:
http://code.google.com/p/fivewin-contributions/downloads/list

FiveWin tambien proporciona un IDE, con todo su código fuente, al estilo "clásico" (FWH\samples\ide.prg)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion