Recent

Author Topic: New OpenGL Android Example  (Read 97292 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: New OpenGL Android Example
« Reply #75 on: November 26, 2011, 01:01:29 pm »
Quote
after trying all day, finally i can compile the example on windows using fpc 2.7.1 from svn. working both on emulator and device. not trying anything else yet.
which svn revision? my 2.7.1 about two weeks ago can't generate runnable app, the example crashes even before something is shown.

irfanbagus

  • Jr. Member
  • **
  • Posts: 73
Re: New OpenGL Android Example
« Reply #76 on: November 26, 2011, 04:37:49 pm »
Quote
after trying all day, finally i can compile the example on windows using fpc 2.7.1 from svn. working both on emulator and device. not trying anything else yet.
which svn revision? my 2.7.1 about two weeks ago can't generate runnable app, the example crashes even before something is shown.
fpc rev 19673 and binutils 2.22. i did just like in http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM with small wrapper to pass option -meabi=5 to assembler (arm-linux-as.exe and as.exe).

Jonathan

  • New Member
  • *
  • Posts: 40
Re: New OpenGL Android Example
« Reply #77 on: November 29, 2011, 10:27:32 am »
fpc rev 19673 and binutils 2.22. i did just like in http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM with small wrapper to pass option -meabi=5 to assembler (arm-linux-as.exe and as.exe).

how to get fpc rev 19673 ??? But Now the rev is 19694...
« Last Edit: November 29, 2011, 11:31:02 am by Jonathan »

Andru

  • Full Member
  • ***
  • Posts: 112
Re: New OpenGL Android Example
« Reply #78 on: November 29, 2011, 11:26:40 am »
Quote
how to get fpc rev 19763 ??? But Now the rev is 19694...
Code: [Select]
svn update -r 19763 your_working_copy_of_trunkor
Code: [Select]
svn co -r 19763 http://svn.freepascal.org/svn/fpc/trunk

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: New OpenGL Android Example
« Reply #79 on: November 29, 2011, 11:27:59 am »
I think you didn't get the point. Go to: http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=fpc

rev 19763 does not exist.

Andru

  • Full Member
  • ***
  • Posts: 112
Re: New OpenGL Android Example
« Reply #80 on: November 29, 2011, 11:28:47 am »
Oh... :)

Jonathan

  • New Member
  • *
  • Posts: 40
Re: New OpenGL Android Example
« Reply #81 on: November 29, 2011, 11:36:27 am »
 :)  Oh  。Sorry  ,I write the wrong fpc SVN rev.

scept1c

  • New member
  • *
  • Posts: 9
Re: New OpenGL Android Example
« Reply #82 on: November 30, 2011, 08:58:08 pm »
Cool men

Jonathan

  • New Member
  • *
  • Posts: 40
Re: New OpenGL Android Example
« Reply #83 on: December 01, 2011, 08:24:06 am »
Finally I worked it out !  Fpc :2.6.0_rc1 .I build the the cross_compiler as http://wiki.freepascal.org/Setup_Cross_Compile_For_ARM.

I met the error :binutils/as connot found .I delete the -XP/home/$NAME/lazarus/fpc/binutils/ in the ./fpc.cfg , so it works!  I test it in the machine too!

« Last Edit: December 01, 2011, 08:51:19 am by Jonathan »

 

TinyPortal © 2005-2018