he conseguido un iphone

Re: he conseguido un iphone

Postby mastintin » Sat Dec 04, 2010 7:57 pm

Ya funciona el view:end() , a sumar he añadido un methodo mas oview:EndAnimate(nAnimacion) que mata el dialogo y vuelve a la ventana padre con una animacion .
Segun que numero pongamos se realiza una animacion distinta .

Image
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: he conseguido un iphone

Postby mastintin » Sun Dec 05, 2010 8:11 pm

Creacion de indices en el iphone ....funciona perfectamente ....

Saludos.
Image
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Error al hacer make fivephone

Postby softruz » Mon Dec 06, 2010 10:56 am

Muy buenas, por fin tengo un Hackintosh en mi PC, quien quiera le doy informacion de como instalarlo, bueno entonces ya empiezo a querer generar aplicaciones para el iPhone, he seguido algunos pasos pero me he quedado atascado:

1- Me he creado una carpeta llamada harbour y alli he metido
- harbour
- fivephone
1- He instalado el harbour desde
svn co https://harbour-project.svn.sourceforge ... ject/trunk harbour
he realizado el make y todo a la perfeccion y ya puedo ejecutar ./harbour

2- He descargado el ultimo fivephone desde
svn co https://fivephone.googlecode.com/svn/trunk fivephone

pero cuando hago make me genera unos ciertos errores
Ayudarme con ellos. Tengo muchas ganas de generar aplicaciones iPhone desde harbour

sudo make
Password:
./../harbour/bin/darwin/clang/harbour source/classes/accel.prg -o./obj/accel.c -n -I./../harbour/include -I./include
Harbour 2.1.0beta2 (Rev. 15915)
Copyright (c) 1999-2010, http://harbour-project.org/
Compiling 'source/classes/accel.prg'...
Lines 1114, Functions/Procedures 3
Generating C source output to './obj/accel.c'... Done.
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -mthumb -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c -o obj/accel.o -I./../harbour/include obj/accel.c
In file included from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/hbdefs.h:56:20: error: stdarg.h: No such file or directory
./../harbour/include/hbdefs.h:57:19: error: stdio.h: No such file or directory
In file included from ./../harbour/include/hbdefs.h:58,
from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/stdlib.h:61:26: error: Availability.h: No such file or directory
./../harbour/include/stdlib.h:63:20: error: _types.h: No such file or directory
./../harbour/include/stdlib.h:65:22: error: sys/wait.h: No such file or directory
./../harbour/include/stdlib.h:67:20: error: alloca.h: No such file or directory
In file included from ./../harbour/include/hbdefs.h:58,
from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/stdlib.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’
./../harbour/include/stdlib.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ct_rune_t’
./../harbour/include/stdlib.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rune_t’
./../harbour/include/stdlib.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wchar_t’
./../harbour/include/stdlib.h:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
./../harbour/include/stdlib.h: In function ‘abs’:
./../harbour/include/stdlib.h:146: error: expected declaration specifiers before ‘__pure2’
./../harbour/include/stdlib.h:155: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:156: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:157: warning: parameter names (without types) in function declaration
./../harbour/include/stdlib.h:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pure2’
./../harbour/include/stdlib.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__dead2’
./../harbour/include/stdlib.h:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pure2’
./../harbour/include/stdlib.h:163: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__pure2’
./../harbour/include/stdlib.h:169: warning: parameter names (without types) in function declaration
./../harbour/include/stdlib.h:170: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:171: error: expected declaration specifiers before ‘size_t’
./../harbour/include/stdlib.h:172: error: expected ‘)’ before ‘*’ token
./../harbour/include/stdlib.h:173: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:173: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:174: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:174: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:177: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS’
./../harbour/include/stdlib.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS’
./../harbour/include/stdlib.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_LDBL_COMPAT’
./../harbour/include/stdlib.h:194: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS_C’
./../harbour/include/stdlib.h:195: error: expected declaration specifiers before ‘size_t’
./../harbour/include/stdlib.h:196: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
./../harbour/include/stdlib.h:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__dead2’
./../harbour/include/stdlib.h:223: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS’
./../harbour/include/stdlib.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS’
./../harbour/include/stdlib.h:233: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_ALIAS’
./../harbour/include/stdlib.h:255:27: error: machine/types.h: No such file or directory
./../harbour/include/stdlib.h:258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
./../harbour/include/stdlib.h:263: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
./../harbour/include/stdlib.h:267: error: expected declaration specifiers before ‘u_int32_t’
./../harbour/include/stdlib.h:273: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:274: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:289: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__DARWIN_1050’
./../harbour/include/stdlib.h:290: warning: parameter names (without types) in function declaration
./../harbour/include/stdlib.h:291: error: expected ‘)’ before ‘char’
./../harbour/include/stdlib.h:297: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:297: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:300: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:300: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:303: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:303: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:306: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:306: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:309: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:309: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:312: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:312: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:315: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:315: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:318: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:318: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:330: error: expected declaration specifiers or ‘...’ before ‘size_t’
./../harbour/include/stdlib.h:337: error: storage class specified for parameter ‘suboptarg’
./../harbour/include/stdlib.h:338: warning: parameter names (without types) in function declaration
./../harbour/include/stdlib.h:345: error: expected declaration specifiers before ‘__END_DECLS’
In file included from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/hbdefs.h:59:20: error: string.h: No such file or directory
./../harbour/include/hbdefs.h:60:20: error: limits.h: No such file or directory
./../harbour/include/hbdefs.h:78:23: error: stdint.h: No such file or directory
./../harbour/include/hbdefs.h:171:24: error: pthread.h: No such file or directory
In file included from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/hbdefs.h:201: error: storage class specified for parameter ‘HB_ULONGLONG’
./../harbour/include/hbdefs.h:244: error: storage class specified for parameter ‘HB_BOOL’
./../harbour/include/hbdefs.h:245: error: storage class specified for parameter ‘HB_SCHAR’
./../harbour/include/hbdefs.h:246: error: storage class specified for parameter ‘HB_UCHAR’
./../harbour/include/hbdefs.h:247: error: storage class specified for parameter ‘HB_SHORT’
./../harbour/include/hbdefs.h:248: error: storage class specified for parameter ‘HB_USHORT’
./../harbour/include/hbdefs.h:249: error: storage class specified for parameter ‘HB_LONG’
./../harbour/include/hbdefs.h:250: error: storage class specified for parameter ‘HB_ULONG’
./../harbour/include/hbdefs.h:251: error: storage class specified for parameter ‘HB_INT’
./../harbour/include/hbdefs.h:252: error: storage class specified for parameter ‘HB_UINT’
./../harbour/include/hbdefs.h:267: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_SIZE’
./../harbour/include/hbdefs.h:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_ISIZ’
./../harbour/include/hbdefs.h:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_USIZ’
./../harbour/include/hbdefs.h:279: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_BYTE’
./../harbour/include/hbdefs.h:282: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_I8’
./../harbour/include/hbdefs.h:283: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_U8’
./../harbour/include/hbdefs.h:302: error: storage class specified for parameter ‘HB_I16’
./../harbour/include/hbdefs.h:303: error: storage class specified for parameter ‘HB_U16’
./../harbour/include/hbdefs.h:372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_I64’
./../harbour/include/hbdefs.h:373: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_U64’
./../harbour/include/hbdefs.h:395: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
./../harbour/include/hbdefs.h:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UINT’
./../harbour/include/hbdefs.h:407: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SCHAR’
./../harbour/include/hbdefs.h:410: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UCHAR’
./../harbour/include/hbdefs.h:414: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BYTE’
./../harbour/include/hbdefs.h:418: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SHORT’
./../harbour/include/hbdefs.h:421: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘USHORT’
./../harbour/include/hbdefs.h:425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LONG’
./../harbour/include/hbdefs.h:429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ULONG’
./../harbour/include/hbdefs.h:434: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LONGLONG’
./../harbour/include/hbdefs.h:437: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ULONGLONG’
./../harbour/include/hbdefs.h:458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UINT16’
./../harbour/include/hbdefs.h:461: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘INT16’
./../harbour/include/hbdefs.h:464: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UINT32’
./../harbour/include/hbdefs.h:467: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘INT32’
./../harbour/include/hbdefs.h:471: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘UINT64’
./../harbour/include/hbdefs.h:474: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘INT64’
./../harbour/include/hbdefs.h:481: error: storage class specified for parameter ‘HB_MAXDBL’
./../harbour/include/hbdefs.h:503: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_MAXINT’
./../harbour/include/hbdefs.h:504: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_MAXUINT’
./../harbour/include/hbdefs.h:517: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_VMMAXINT’
./../harbour/include/hbdefs.h:518: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_VMMAXUINT’
./../harbour/include/hbdefs.h:584:1: warning: "HB_LONG_LENGTH" redefined
./../harbour/include/hbdefs.h:578:1: warning: this is the location of the previous definition
./../harbour/include/hbdefs.h:615: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_TYPE’
./../harbour/include/hbdefs.h:618: error: storage class specified for parameter ‘HB_COUNTER’
./../harbour/include/hbdefs.h:625: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_FATTR’
./../harbour/include/hbdefs.h:632: error: storage class specified for parameter ‘HB_PTRDIFF’
./../harbour/include/hbdefs.h:633: error: storage class specified for parameter ‘HB_PTRUINT’
./../harbour/include/hbdefs.h:641: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_FOFFSET’
./../harbour/include/hbdefs.h:649: error: storage class specified for parameter ‘HB_FHANDLE’
./../harbour/include/hbdefs.h:650: error: storage class specified for parameter ‘HB_NHANDLE’
./../harbour/include/hbdefs.h:879: error: expected specifier-qualifier-list before ‘HB_BYTE’
./../harbour/include/hbdefs.h:881: error: storage class specified for parameter ‘HB_PTRCAST’
./../harbour/include/hbdefs.h:881: error: storage class specified for parameter ‘PHB_PTRCAST’
./../harbour/include/hbdefs.h:885: error: expected specifier-qualifier-list before ‘HB_U16’
./../harbour/include/hbdefs.h:887: error: storage class specified for parameter ‘HB_U16CAST’
./../harbour/include/hbdefs.h:887: error: storage class specified for parameter ‘PHB_U16CAST’
./../harbour/include/hbdefs.h:891: error: expected specifier-qualifier-list before ‘HB_U32’
./../harbour/include/hbdefs.h:893: error: storage class specified for parameter ‘HB_U32CAST’
./../harbour/include/hbdefs.h:893: error: storage class specified for parameter ‘PHB_U32CAST’
./../harbour/include/hbdefs.h:898: error: expected specifier-qualifier-list before ‘HB_U64’
./../harbour/include/hbdefs.h:900: error: storage class specified for parameter ‘HB_U64CAST’
./../harbour/include/hbdefs.h:900: error: storage class specified for parameter ‘PHB_U64CAST’
./../harbour/include/hbdefs.h:906: error: expected specifier-qualifier-list before ‘HB_BYTE’
./../harbour/include/hbdefs.h:910: error: storage class specified for parameter ‘HB_DBLCAST’
./../harbour/include/hbdefs.h:910: error: storage class specified for parameter ‘PHB_DBLCAST’
./../harbour/include/hbdefs.h:912: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:919: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:926: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_std_uint16’
./../harbour/include/hbdefs.h:933: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:940: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_rev_uint16’
./../harbour/include/hbdefs.h:948: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:956: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_std_uint32’
./../harbour/include/hbdefs.h:963: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:970: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_rev_uint32’
./../harbour/include/hbdefs.h:985: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1001: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_std_uint64’
./../harbour/include/hbdefs.h:1008: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1015: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_hb_get_rev_uint64’
./../harbour/include/hbdefs.h:1034: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1054: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1061: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1068: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1089: error: expected ‘)’ before ‘*’ token
./../harbour/include/hbdefs.h:1663: error: storage class specified for parameter ‘PHB_FUNC’
./../harbour/include/hbdefs.h:1664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_FUNC_PTR’
./../harbour/include/hbdefs.h:1667: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HB_SYMBOLSCOPE’
./../harbour/include/hbdefs.h:1669: error: storage class specified for parameter ‘HB_ATTR’
./../harbour/include/hbdefs.h:1670: error: storage class specified for parameter ‘HB_COLOR’
In file included from ./../harbour/include/hbdefs.h:1710,
from ./../harbour/include/hbvmpub.h:56,
from obj/accel.c:7:
./../harbour/include/hbtrace.h:219: error: storage class specified for parameter ‘HB_TRACEINFO’
./../harbour/include/hbtrace.h:219: error: storage class specified for parameter ‘PHB_TRACEINFO’
./../harbour/include/hbtrace.h:221: error: storage class specified for parameter ‘hb_tracestate’
./../harbour/include/hbtrace.h:222: error: storage class specified for parameter ‘hb_tracelevel’
./../harbour/include/hbtrace.h:223: error: storage class specified for parameter ‘hb_traceflush’
./../harbour/include/hbtrace.h:224: error: storage class specified for parameter ‘hb_tracesysout’
./../harbour/include/hbtrace.h:225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hb_tracefile’
./../harbour/include/hbtrace.h:227: error: storage class specified for parameter ‘hb_tracelog’
./../harbour/include/hbtrace.h:229: error: storage class specified for parameter ‘hb_traceset’
./../harbour/include/hbtrace.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hb_traceinfo’
./../harbour/include/hbtrace.h:232: error: storage class specified for parameter ‘hb_tr_level’
./../harbour/include/hbtrace.h:233: error: storage class specified for parameter ‘hb_tr_trace’
./../harbour/include/hbtrace.h:234: error: storage class specified for parameter ‘hb_tr_stealth’
In file included from obj/accel.c:7:
./../harbour/include/hbvmpub.h:174: error: storage class specified for parameter ‘PHB_ITEM’
./../harbour/include/hbvmpub.h:175: error: storage class specified for parameter ‘HB_ITEM_PTR’
./../harbour/include/hbvmpub.h:176: error: storage class specified for parameter ‘HB_CODEBLOCK_PTR’
./../harbour/include/hbvmpub.h:177: error: storage class specified for parameter ‘PHB_PCODEFUNC’
./../harbour/include/hbvmpub.h:179: error: storage class specified for parameter ‘HB_STACK’
./../harbour/include/hbvmpub.h:195: error: storage class specified for parameter ‘PHB_DYNS’
./../harbour/include/hbvmpub.h:196: error: storage class specified for parameter ‘PHB_DYNS_PTR’
./../harbour/include/hbvmpub.h:207: error: expected specifier-qualifier-list before ‘HB_SYMBOLSCOPE’
./../harbour/include/hbvmpub.h:212: error: expected specifier-qualifier-list before ‘PHB_FUNC’
./../harbour/include/hbvmpub.h:216: error: expected specifier-qualifier-list before ‘PHB_DYNS’
./../harbour/include/hbvmpub.h:217: error: storage class specified for parameter ‘HB_SYMB’
./../harbour/include/hbvmpub.h:217: error: storage class specified for parameter ‘PHB_SYMB’
./../harbour/include/hbvmpub.h:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PHB_DYNS_FUNC’
./../harbour/include/hbvmpub.h:222: error: storage class specified for parameter ‘PHB_ALLOCUPDT_FUNC’
./../harbour/include/hbvmpub.h:224: error: storage class specified for parameter ‘HB_INIT_FUNC’
./../harbour/include/hbvmpub.h:228: error: expected specifier-qualifier-list before ‘HB_INIT_FUNC’
./../harbour/include/hbvmpub.h:231: error: storage class specified for parameter ‘HB_FUNC_LIST’
./../harbour/include/hbvmpub.h:231: error: storage class specified for parameter ‘PHB_FUNC_LIST’
./../harbour/include/hbvmpub.h:249: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from obj/accel.c:8:
./../harbour/include/hbinit.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hb_vmProcessSymbols’
obj/accel.c:12: error: storage class specified for parameter ‘HB_FUN___CLSLOCKDEF’
obj/accel.c:13: error: storage class specified for parameter ‘HB_FUN_HBCLASS’
obj/accel.c:14: error: storage class specified for parameter ‘HB_FUN_HBOBJECT’
obj/accel.c:15: error: storage class specified for parameter ‘HB_FUN_TACCELEROMETER_NEW’
obj/accel.c:16: error: storage class specified for parameter ‘HB_FUN_TACCELEROMETER_HANDLEEVENT’
obj/accel.c:17: error: storage class specified for parameter ‘HB_FUN___CLSUNLOCKDEF’
obj/accel.c:18: error: storage class specified for parameter ‘HB_FUN___OBJHASMSG’
obj/accel.c:19: error: storage class specified for parameter ‘HB_FUN_CREATEACCELEROMETER’
obj/accel.c:20: error: storage class specified for parameter ‘HB_FUN_EMPTY’
obj/accel.c:21: error: storage class specified for parameter ‘HB_FUN_GETACCELEROMETERX’
obj/accel.c:22: error: storage class specified for parameter ‘HB_FUN_GETACCELEROMETERY’
obj/accel.c:23: error: storage class specified for parameter ‘HB_FUN_GETACCELEROMETERZ’
obj/accel.c:24: error: storage class specified for parameter ‘hb_INITSTATICS’
obj/accel.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘symbols_table’
obj/accel.c:52: error: expected declaration specifiers before ‘;’ token
obj/accel.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘symbols’
obj/accel.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obj/accel.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obj/accel.c:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obj/accel.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obj/accel.c:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
obj/accel.c:125: error: old-style parameter declarations in prototyped function definition
./../harbour/include/stdlib.h:146: error: parameter name omitted
obj/accel.c:125: error: expected ‘{’ at end of input
make: *** [obj/accel.o] Error 1
rm obj/accel.c
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: he conseguido un iphone

Postby mastintin » Mon Dec 06, 2010 1:26 pm

Softruz ...parece un problema con la version de harbour ....Todo mucho mas facil .... cogete el instalador que hemos dejado en descargas :http://code.google.com/p/fivephone/downloads/detail?name=Fivephone.pkg&can=2&q=
y te queda preparado para programar . bajate el ultimo codigo del repositorio de fivephone ( carpeta source) y el archivo make para compilar y listo .
Last edited by mastintin on Mon Dec 06, 2010 3:01 pm, edited 1 time in total.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: he conseguido un iphone

Postby mastintin » Mon Dec 06, 2010 2:51 pm

he subido un nuevo instalador al repositorio con los últimos cambios . Está en fivephone sintax ... es un archivo pkg . Bajate solo ese archivo.
Supongo que ya tienes instalado las herramientas de desarrollo de mac . si no las tienes instalalas (http://developer.apple.com ) son gratuitas .
Luego Instala el paquete fivephone . Dentro del directotio Developer tendras una carpeta llamada fivephone . dentro dos carpetas ,la de harbour y la de fivephone listas para funcionar .
Un saludo.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Error al hacer make fivephone

Postby pgfdz » Mon Dec 06, 2010 6:51 pm

softruz wrote:Muy buenas, por fin tengo un Hackintosh en mi PC, quien quiera le doy informacion de como instalarlo...

Hola, me puedes pasar información. Mi direccion es pacogarcia@gmail.com
Un saludo
Paco García
pgfdz
 
Posts: 145
Joined: Wed Nov 03, 2010 9:16 am

Re: he conseguido un iphone

Postby Alin » Mon Dec 06, 2010 7:28 pm

Hola softruz,

Yo también estoy interesado en hacer estas pruebas, pero primero lo primero, por favor me puedes dar información referente acerca de hackintosh.

Gracias,
Alin
Last edited by Alin on Tue Dec 07, 2010 7:24 pm, edited 1 time in total.
Alin
 
Posts: 18
Joined: Mon Dec 06, 2010 6:35 pm

Re: he conseguido un iphone

Postby softruz » Mon Dec 06, 2010 9:33 pm

Mastintin. Puedes poner las direcciones de descargas de los instaladores d harbour y fivephone gracias
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: he conseguido un iphone

Postby mastintin » Mon Dec 06, 2010 10:23 pm

softruz wrote:Mastintin. Puedes poner las direcciones de descargas de los instaladores d harbour y fivephone gracias

Es un unico instalador que te instala el fivephone , el harbour y la plantilla para programar con xcode y el archivo de sintaxis .
Te lo deja para trabajar . te lo subo http://rapidshare.com/files/435347380/_Fivephone.pkg
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: he conseguido un iphone

Postby mastintin » Mon Dec 06, 2010 10:47 pm

Una muestra de una aplicación que estoy haciendo para buscar codigos postales en España ...faltan aún detalles como las busquedas y demas pero ya funciona ... Entera realizada con fivephone desde código ( ningun archivo nib ) .
Un saludo.
Image Image
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: he conseguido un iphone

Postby softruz » Tue Dec 07, 2010 9:06 am

Muchas gracias, ya lo he descargado voy a probar y te digo algo.

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

Re: he conseguido un iphone

Postby pgfdz » Tue Dec 07, 2010 2:23 pm

Hola
Para el programa que tengo en mente necesitaría acceder a la brújula y al giróscopo. Se podrá hacer desde 5p??

Edito:
Creo que tiene que ver con las clases:

CLLocationManager y con CMMotionManager

Un objeto CMMotionManager es la puerta de acceso a los servicios de movimiento proporcionado por el IOS. Estos servicios proporcionan una aplicación con los datos del acelerómetro, los datos de velocidad de rotación, y otros datos de movimiento de dispositivos tales como la altitud. Estos tipos de datos de los acelerómetros vienen con un dispositivo y (en algunos modelos) su giroscopio.

http://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html
http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CMMotionManager_Class/Reference/Reference.html

La última noticia es que el Mac me llega el 17 de este :(
A ver si es verdad y puedo contribuir
Paco García
pgfdz
 
Posts: 145
Joined: Wed Nov 03, 2010 9:16 am

Re: he conseguido un iphone

Postby mastintin » Tue Dec 07, 2010 3:27 pm

pgfdz wrote:Hola
Para el programa que tengo en mente necesitaría acceder a la brújula y al giróscopo. Se podrá hacer desde 5p??

Edito:
Creo que tiene que ver con las clases:

CLLocationManager y con CMMotionManager

Un objeto CMMotionManager es la puerta de acceso a los servicios de movimiento proporcionado por el IOS. Estos servicios proporcionan una aplicación con los datos del acelerómetro, los datos de velocidad de rotación, y otros datos de movimiento de dispositivos tales como la actitud. Estos tipos de datos de los acelerómetros vienen con un dispositivo y (en algunos modelos) su giroscopio.

http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CMMotionManager_Class/Reference/Reference.html
La gestion de acelerometros esta implementada ( solo inicialmente ) en el archivo acells.m ., pero supongo que será cosa de ponerse con ello cuando tengamos un ratito .
Animo con la espera de ordenador que a la larga merece la pena : ;-)

La última noticia es que el Mac me llega el 17 de este :(
A ver si es verdad y puedo contribuir
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: he conseguido un iphone

Postby pgfdz » Tue Dec 07, 2010 3:30 pm

Paco García
pgfdz
 
Posts: 145
Joined: Wed Nov 03, 2010 9:16 am

Re: he conseguido un iphone

Postby mastintin » Wed Dec 08, 2010 8:14 pm

Tengo el programa casi terminado , faltan los detalles de calidad (un view que no permita tocar el browse mientras buscas , y cosas asi ).
Cuando lo tenga mas completo pondré aqui todo su codigo para quien lo quiera compilar ...
Ya tengo implementada y funcionando la busqueda en browse sobre array . De momento esta un poco complicada ,pero miraré como simplificar todo . para sacar el "buscador" se invoca a obrw:addsearch() y para quitarlo obrw:delsearch() ...el proceso de filtrado me funciona pero tengo que pensar como "generalizarlo".
Tambien funciona muy bien la busqueda de la calle en el maps del iphone ....
Saludos.
Image Image
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

PreviousNext

Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 8 guests