New FWPPC 9.01

Re: New FWPPC 9.01

Postby softruz » Thu Feb 12, 2009 9:56 am

Estos son los errores:
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'tosfrit.prg' and generating preprocessed output to 'tosfrit.ppo'...
Lines 3513, Functions/Procedures 55
Generating C source output to 'tosfrit.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

tosfrit.c
Creating library tosfrit.lib and object tosfrit.exp
FiveCE.lib(REG32.obj) : error LNK2001: unresolved external symbol HB_FUN_ANSITOWIDE
FiveCEC.lib(RECTS.obj) : error LNK2019: unresolved external symbol FrameRect referenced in function FrameDot
rtl.lib(seconds.obj) : error LNK2019: unresolved external symbol GetProcessTimes referenced in function hb_secondsCPU
rtl.lib(gttone.obj) : error LNK2019: unresolved external symbol Beep referenced in function hb_gt_wNtTone
tosfrit.exe : fatal error LNK1120: 4 unresolved externals
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby Antonio Linares » Thu Feb 12, 2009 10:31 am

Añade la siguiente función a tu PRG principal:
Code: Select all  Expand view
function AnsiToWide( c )

return FW_AnsiToWide( c )
regards, saludos

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

Re: New FWPPC 9.01

Postby Antonio Linares » Thu Feb 12, 2009 10:35 am

Tambien añade este código a tu PRG principal:
Code: Select all  Expand view
#pragma BEGINDUMP

#include <windows.h>

int FrameRect( HDC hDC, const RECT *lprc, HBRUSH hbr )
{
   return 0;
}

#pragma ENDDUMP
regards, saludos

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

Re: New FWPPC 9.01

Postby Antonio Linares » Thu Feb 12, 2009 11:27 am

Estas usando el Harbour más reciente descargable desde la página de FWPPC ?

Por favor, comprueba que lo hayas descargado y que estes usando el correcto, gracias :-)
regards, saludos

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

Re: New FWPPC 9.01

Postby softruz » Thu Feb 12, 2009 11:28 am

He añadido dichas funciones y este es el resultado:


Compilando...
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'tosfrit.prg' and generating preprocessed output to 'tosfrit.ppo'...
Lines 3527, Functions/Procedures 56
Generating C source output to 'tosfrit.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

tosfrit.c
Creating library tosfrit.lib and object tosfrit.exp
FiveCEC.lib(RECTS.obj) : error LNK2019: unresolved external symbol FrameRect referenced in function FrameDot
rtl.lib(seconds.obj) : error LNK2019: unresolved external symbol GetProcessTimes referenced in function hb_secondsCPU
rtl.lib(gttone.obj) : error LNK2019: unresolved external symbol Beep referenced in function hb_gt_wNtTone
tosfrit.exe : fatal error LNK1120: 3 unresolved externals
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby Antonio Linares » Thu Feb 12, 2009 11:34 am

Has incluido la función en C que te he indicado ?

Comprueba si al llamar al compilador de C estas usando el flag -TP. No debe usarse.

Finalmente comprueba que estes usando el Harbour para FWPPC más reciente, desde la página de FWPPC.

E informame de como sigue, gracias :-)
regards, saludos

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

Re: New FWPPC 9.01

Postby softruz » Thu Feb 12, 2009 11:41 am

Muy buenas, no había actualizado el harbour_ce, pero ahora me resulta:

LINK : fatal error LNK1181: cannot open input file 'c:\harbour_CE\lib\rtl.lib'
No se encuentra C:\FWPPC\samples\ppc\TosFritVero\tosfrit.exp
No se encuentra C:\FWPPC\samples\ppc\TosFritVero\tosfrit.lib
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby Antonio Linares » Thu Feb 12, 2009 11:44 am

> no había actualizado el harbour_ce

Bien, vamos avanzando :-)

> LINK : fatal error LNK1181: cannot open input file 'c:\harbour_CE\lib\rtl.lib'

Los nombres de las librerias de Harbour han cambiado. Ahora la mayoria usan "hb" delante, por ejemplo:
hbrtl.lib en vez de rtl.lib

Por favor revisa FWPPC\samples\buildce.bat para que veas los nuevos nombres de las librerias de Harbour. Si, es una lata, pero es lo que se ha decidido en el equipo de desarrollo de Harbour :-)
regards, saludos

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

Re: New FWPPC 9.01

Postby softruz » Thu Feb 12, 2009 12:05 pm

Gracias Antonio lo prueba y te comento.

Un Saludo.
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby softruz » Mon Feb 16, 2009 10:51 am

Muy buenas Antonio, ahora me dá los siguientes errores:


Compilando...
Harbour 1.0.1dev Intl. (Rev. 9361)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'tosfrit.prg' and generating preprocessed output to 'tosfrit.ppo'...
Lines 3663, Functions/Procedures 56
Generating C source output to 'tosfrit.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

tosfrit.c
hbvm.lib(hvm.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x000580BC
hbmacro.lib(macrob.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x00095CAC
hbrdd.lib(dbf1.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x000AF7EC
rddntx.lib(dbfntx1.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x000C1E7C
rddcdx.lib(dbfcdx1.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x000D8ACC
rddfpt.lib(dbffpt1.obj) : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x000F432C
No se encuentra C:\FWPPC\SAMPLES\ppc\TosFrit09\tosfrit.exp
No se encuentra C:\FWPPC\SAMPLES\ppc\TosFrit09\tosfrit.lib

Un Saludo.
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby softruz » Mon Feb 16, 2009 11:09 am

Solucionado, le he añadido

echo %hdir%\lib\hbpcre.lib >> msvc.tmp

Y lo hace correcto pero aumenta considerablemente el tamaño del fichero .exe.

Un Saludo.
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: New FWPPC 9.01

Postby Antonio Linares » Mon Feb 16, 2009 11:09 am

Esos warnings los eliminas usando este flag al llamar al link.exe:

/ARMPADCODE:NO

Vuelve a probarlo con ese flag, gracias :-)
regards, saludos

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

Re: New FWPPC 9.01

Postby Antonio Linares » Mon Feb 16, 2009 11:11 am

> pero aumenta considerablemente el tamaño del fichero .exe

Es lo que ha aumentado Harbour, internamente, ultimamente.

Es más potente y más estable, pero ocupa más.
regards, saludos

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

Re: New FWPPC 9.01

Postby Ross_ValuSoft » Wed Jun 17, 2009 11:37 am

Hello Antonio,

Can we expect a new release of FWPPC before the end of June 2009?

Best wishes,

Ross McKenzie
ValuSoft
Melbourne Australia
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia

Re: New FWPPC 9.01

Postby Antonio Linares » Wed Jun 17, 2009 12:13 pm

Ross,

We will probably publish the next FWPPC version in July this year :-)

We have a lot of new Classes for FWPPC, but we are still working on them.
regards, saludos

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

PreviousNext

Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 7 guests