Hola, estoy compilando y me da estos errores:
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_hb_parldef' referenced from C:\FWH2212\LIB\FIVEHC.LIB|STR2HEX
Error: Unresolved external '_hb_retclen_buffer' referenced from C:\FWH2212\LIB\FIVEHC.LIB|STR2HEX
Warning: Public symbol '_HB_FUN_MUESTRU' defined in both module C:\FWH2212\SAMPLES\MIO_FE\MENU1.OBJ and C:\FWH2212\SAMPLES\MIO_FE\MUESTRU.OBJ
Error: Unable to perform link
que me está faltando
Saludos
error al compilar
-
- Posts: 155
- Joined: Tue Oct 11, 2016 1:02 pm
- Location: Luján, bs. as.
error al compilar
Jorge
Saludos.
Saludos.
-
- Posts: 155
- Joined: Tue Oct 11, 2016 1:02 pm
- Location: Luján, bs. as.
Re: error al compilar
Ya solucione, era la rutina que generaba el código QR, la reescribí.
Saludos
Jorge
Saludos
Jorge
Jorge
Saludos.
Saludos.
Re: error al compilar
Hello,
I get te same error when compiling with FW202212 (and xHarbour 2018). What was the solution ?
Taavi.
xLINK: error: Unresolved external symbol '_hb_parldef referenced from FiveHCM.lib(STR2HEX.obj)'.
xLINK: error: Unresolved external symbol '_hb_retclen_buffer referenced from FiveHCM.lib(STR2HEX.obj)'.
xLINK: fatal error: 2 unresolved external(s).
I get te same error when compiling with FW202212 (and xHarbour 2018). What was the solution ?
Taavi.
xLINK: error: Unresolved external symbol '_hb_parldef referenced from FiveHCM.lib(STR2HEX.obj)'.
xLINK: error: Unresolved external symbol '_hb_retclen_buffer referenced from FiveHCM.lib(STR2HEX.obj)'.
xLINK: fatal error: 2 unresolved external(s).
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: error al compilar
Dear Taavi,
Please add this code to any of your PRGs:
Please add this code to any of your PRGs:
Code: Select all | Expand
#pragma BEGINDUMP
#include <hbapi.h>
void hb_retclen_buffer( char * szText, HB_SIZE nLen )
{
void hb_retclen( szText, nLen );
}
int hb_parldef( int iParam, int iDefValue )
{
return hb_parl( iParam );
}
#pragma ENDDUMP
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: error al compilar
This is the right code to properly compile:
Code: Select all | Expand
#pragma BEGINDUMP
#include <hbapi.h>
#undef hb_retclen_buffer
#undef hb_parldef
void hb_retclen_buffer( char * szText, int nLen )
{
hb_retclen( szText, nLen );
}
int hb_parldef( int iParam, int iDefValue )
{
return hb_parl( iParam );
}
#pragma ENDDUMP