TGraph 2.0 de Alfredo Arteaga

Postby Antonio Linares » Sun Jul 15, 2007 6:33 pm

George,

Usa hbapi.h en vez de clipapi.h
regards, saludos

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

Postby George » Mon Jul 16, 2007 2:59 am

Antonio,

Hice la sustitucion del clipapi.h por hbapi.h pero sigue dando errores.
Es posible que el problema viene porque xHarbour builder usa el compilador PellesC.

Por otro lado te informo que compile el ejemplo test.prg de FWH\samples\tgraph con xHarbour y me dio el mismo problema de que solo me salva un BMP con un cuadrado blanco y una X roja en el medio.

Cuando compile el ejemplo con Harbour me funciono perfecto. Asi que pude comprobar que el problema viene dado con xHarbour builder.

Mas abajo te muestro los errores al tratar de compliar dib.c sustituyendo clipapi.h por hbapi.h.

Code: Select all  Expand view
Type: C >>>xcc.exe -Fo"dib.obj" -Ot   -I"C:\xHBJan07\include" -I"C:\xHBJan07\c_include" -I"C:\xHBJan07\c_include\win" -I"C:\xHBJan07\c_include\msvc" "C:\_AML_SOFT\dib.c"<<<

C:\_AML_SOFT\dib.c(18): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(68): error: Undeclared identifier 'READ'.

C:\_AML_SOFT\dib.c(90): warning: Local 'dwClrUsed' is not referenced.

C:\_AML_SOFT\dib.c(198): warning: Local 'hBmpOld' is not referenced.

C:\_AML_SOFT\dib.c(238): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(238): error: Syntax error; found 'DIBREAD' expecting ';'.

C:\_AML_SOFT\dib.c(238): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(239): warning: Missing prototype for 'DIBREAD'.

C:\_AML_SOFT\dib.c(240): warning: Missing prototype for '_retnl'.

C:\_AML_SOFT\dib.c(240): warning: Missing prototype for '_parc'.

C:\_AML_SOFT\dib.c(240): warning: Conversion from 'char *' to 'int' is undefined.

C:\_AML_SOFT\dib.c(241): warning: Missing return value.

C:\_AML_SOFT\dib.c(245): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(245): error: Syntax error; found 'DIBPALETTE' expecting ';'.

C:\_AML_SOFT\dib.c(245): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(246): warning: Missing prototype for 'DIBPALETTE'.

C:\_AML_SOFT\dib.c(247): warning: Missing prototype for '_retnl'.

C:\_AML_SOFT\dib.c(247): warning: Missing prototype for '_parnl'.

C:\_AML_SOFT\dib.c(248): warning: Missing return value.

C:\_AML_SOFT\dib.c(252): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(252): error: Syntax error; found 'DIBDRAW' expecting ';'.

C:\_AML_SOFT\dib.c(252): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(253): warning: Missing prototype for 'DIBDRAW'.

C:\_AML_SOFT\dib.c(254): warning: Missing prototype for '_parnl'.

C:\_AML_SOFT\dib.c(259): warning: Missing prototype for '_retl'.

C:\_AML_SOFT\dib.c(259): warning: Missing prototype for '_parni'.

C:\_AML_SOFT\dib.c(261): warning: Conversion from 'void *' to 'unsigned int' is undefined.

C:\_AML_SOFT\dib.c(262): warning: Missing return value.

C:\_AML_SOFT\dib.c(266): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(266): error: Syntax error; found 'DIBWIDTH' expecting ';'.

C:\_AML_SOFT\dib.c(266): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(267): warning: Missing prototype for 'DIBWIDTH'.

C:\_AML_SOFT\dib.c(268): warning: Missing prototype for '_parnl'.

C:\_AML_SOFT\dib.c(273): warning: Missing prototype for '_retni'.

C:\_AML_SOFT\dib.c(276): warning: Missing return value.

C:\_AML_SOFT\dib.c(280): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(280): error: Syntax error; found 'DIBHEIGHT' expecting ';'.

C:\_AML_SOFT\dib.c(280): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(281): warning: Missing prototype for 'DIBHEIGHT'.

C:\_AML_SOFT\dib.c(282): warning: Missing prototype for '_parnl'.

C:\_AML_SOFT\dib.c(287): warning: Missing prototype for '_retni'.

C:\_AML_SOFT\dib.c(290): warning: Missing return value.

C:\_AML_SOFT\dib.c(297): error: Undefined size for 'huge' with type 'void'.

C:\_AML_SOFT\dib.c(297): error: Syntax error; found '*' expecting ';'.

C:\_AML_SOFT\dib.c(297): error: Undeclared identifier 'Bits'.

C:\_AML_SOFT\dib.c(297): error: Type error: pointer expected.

C:\_AML_SOFT\dib.c(297): error: Syntax error; found 'huge' expecting ')'.

C:\_AML_SOFT\dib.c(297): error: Illegal expression.

C:\_AML_SOFT\dib.c(297): error: Found 'int' expected a function.

C:\_AML_SOFT\dib.c(298): error: Operands of * have illegal types 'void' and 'void'.

C:\_AML_SOFT\dib.c(303): warning: Excess characters in multibyte character literal ignored.

C:\_AML_SOFT\dib.c(337): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(337): error: Syntax error; found 'FWHdibwrite' expecting ';'.

C:\_AML_SOFT\dib.c(337): warning: Missing type specifier.

C:\_AML_SOFT\dib.c(338): error: Conflicting argument declarations for function 'FWHdibwrite'.

C:\_AML_SOFT\dib.c(338): error: Redefinition of 'FWHdibwrite' previously defined at C:\_AML_SOFT\dib.c(294).

C:\_AML_SOFT\dib.c(339): warning: Missing prototype for '_retl'.

C:\_AML_SOFT\dib.c(339): warning: Missing prototype for '_parc'.

C:\_AML_SOFT\dib.c(339): warning: Conversion from 'char *' to 'int' is undefined.

C:\_AML_SOFT\dib.c(339): warning: Missing prototype for '_parnl'.

C:\_AML_SOFT\dib.c(340): warning: Missing return value.


Type: C >>>Couldn't build: dib.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>>      1278<<<



Saludos,


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: jair and 26 guests