Recent

Author Topic: LazSDL2 package for Android development  (Read 21046 times)

mewpokemon

  • New Member
  • *
  • Posts: 43
Re: LazSDL2 package for Android development
« Reply #30 on: July 06, 2016, 02:10:59 am »
Its working!!  I deleted all of the various versions and reinstalled the packages and now its working.

I think I did something wrong when I installed the new version.  I noticed that when I asked it to install LibSDL2Design 1.3.3 it said it was also going to install the 1.3.1 versions of LibSDL2 and LibSDL2Extensions.  So I deleted them all and started over and made sure it installed 1.3.3 of them all.

So, now I have some squares (and a rectangle, a triangle and polygon)...  One of just 4 points, one two lines, another 3 lines, 4 lines, a triangle, a polygon and various blend methods.  Is that correct?  You said something about circles?  Did you change that?

mewpokemon

  • New Member
  • *
  • Posts: 43
Re: LazSDL2 package for Android development
« Reply #31 on: July 06, 2016, 02:42:51 am »
I thought that you should know that I tried the other examples.

sdl_image worked correctly, as far as I could tell.

sdl_project has a compilation problem.  Procedure Initialize in TSDL2Application is marked final and the project tries to override it in TMySDLApplication.  I commented it out but I couldn't run it because I don't have SDL_Video.so.

sdl_thread has the same compilation problem but when I commented it out and ran it, it ran fine as far as I can tell.

Imants

  • Full Member
  • ***
  • Posts: 196
Re: LazSDL2 package for Android development
« Reply #32 on: July 06, 2016, 09:57:03 am »
Thank you for testing :).

It is good that it is working. Yeh there where some changes in code and I forgot to update all examples thanks for reminding me.

I will try to update Android example with images too. I forgot about circles but I will try to ad them too.
« Last Edit: July 06, 2016, 09:58:35 am by Imants »

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: LazSDL2 package for Android development
« Reply #33 on: July 21, 2016, 03:25:49 am »
Can LazSDL2 be used on Linux environment?

I downloaded sdl2-1.3.3.zip. The compilation of lazsdl2design.lpk was success but it failed to install, and I got this message:

Quote
Build IDE: Exit code 512, Errors: 12
Panic: make: Entering directory '/usr/share/lazarus/1.6'
Panic: /usr/bin/make -C ide idepkg
Panic: make[1]: Entering directory '/usr/share/lazarus/1.6/ide'
Panic: /bin/mkdir: cannot create directory ‘../units/x86_64-linux/wince’: Permission denied
...

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: LazSDL2 package for Android development
« Reply #34 on: July 21, 2016, 03:36:47 am »
There was something wrong in my Lazarus configuration. Issue fixed. The LazSDL2 was successfully installed. Now testing to see how it work.

Please ignore my previous post. Sorry for disturbing you.

jwhitten

  • Jr. Member
  • **
  • Posts: 61
Re: LazSDL2 package for Android development
« Reply #35 on: October 01, 2016, 05:11:14 am »

I tried to access your links (below) from your OP, but the whole project has apparently been moved to another password-protected site. Is this information still available? Do you have any other info, screenshots or development information available?

Thanks!

john


I have advanced my LazSDL2Design package little bit. Now I am trying to create easy android development inside Lazarus. My main goal is to developer press build button in Lazarus and he gets ".apk" file and do not manipulate any java code or any other android specifics file.

I have written about how I set up my cross compilation enviorment in Ubuntu 64 bit here: https://xp-dev.com/wiki/232197/Installing%20Lazarus%20multi-platform%20environment%20on%20Ubuntu%2064-bit

And I have written little bit about how to configure Lazarus for android development here: https://xp-dev.com/wiki/232197/LazSDL2Design%20package%20configuration

And I have written how to start develop cross compiling Lazarus project using my LazSDL2Design package here: https://xp-dev.com/wiki/232197/LazSDL2Design%20package

Downloads:
sdl2-1.3.1.tgz - https://files.inbox.lv/ticket/e9749e0a48a95c98928ea236da031863118fcf53/sdl2-1.3.1.tgz

1.3.1.zip - https://files.inbox.lv/ticket/0d5490035b77ee65cea030b858aa1cc8ad274376/sdl2-1.3.1.zip
Some programmers seem Blaise about Pascal...

 

TinyPortal © 2005-2018