Recent

Author Topic: Preparing my Stack for Android and Blockchain  (Read 24788 times)

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #15 on: November 03, 2021, 11:45:33 pm »
I get the same error !

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Preparing my Stack for Android and Blockchain
« Reply #16 on: November 04, 2021, 02:43:16 am »
Quote
I get the same error !

Well,  I got Lazarus from oficial  site

https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%202.0.12/lazarus-2.0.12-fpc-3.2.0-win64.exe/download

I just do the installation without changing anything.... and it is OK for LAMW!


Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #17 on: November 04, 2021, 07:03:08 pm »
I installed Lazarus with Chocolatey, and as far as I know they use the same source.

I really don't know why this goes wrong.

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #18 on: November 04, 2021, 07:13:09 pm »
I did a reinstall of Lazarus with Chocolatey so you can see which source they use.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Preparing my Stack for Android and Blockchain
« Reply #19 on: November 04, 2021, 11:44:52 pm »
Quote
so you can see which source they use.

the same... from oficial  site

https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%202.0.12/lazarus-2.0.12-fpc-3.2.0-win64.exe/download


so possibly the information from some previous Lazarus installation is messing up your system....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #20 on: November 05, 2021, 01:31:04 am »
I tried it again. Failed.

Then I noticed that your folder name was /lazarus2012

While Chocolatey named mine just /lazarus

So I changed it. System made notice about possibly other install.
I went through, system probably made changes in environment variables.

Then I tried again. No luck. But got little bit different error.

So I changed back to /lazarus again (Because I did not want to confuse chocolatey with future updates).

Got the same message again about possible other install,system probably again changed environment variables.

Than I tried again. And guess what. Compiled without failure. Install also worked for all three packages. But did get several remarks. Like svn not being in the path. Hope this won't hurt, or do I need to make some extra adjustments.

Below you find the screens with remarks during compile and install of last of the 3 packages.

So what next to do...

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Preparing my Stack for Android and Blockchain
« Reply #21 on: November 05, 2021, 04:50:46 am »
Quote
But did get several remarks.

Dont worry about remarks....

Quote
Like svn not being in the path. ...

Where? When trying to Get FPC [trunk] Source??? 
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #22 on: November 06, 2021, 11:39:18 am »
I got the warning "svn not in path", as seen in picture above, during install of everyone of the 3 LAWM packages mentioned above.

So now I am trying to proceed with these steps in the process:

After install the LAMW packages [section II] go to:
         1. IDE "Tools" --> "[Lamw] Android Module Wizard" --> "Get FPC Source [Trunk]"
         2. IDE "Tools" --> "[Lamw] Android Module Wizard" --> "Build FPC Cross Android"

            [ex. Armv7a + Soft]   <<---- tested!
            .Build 
            .Install

            [ex. aarch64]        <<---- tested!
            .Build 
            .Install


I am now at the first of those 2 steps and get the screen attached to this message. What should I do here?


Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #23 on: November 06, 2021, 11:41:34 am »
Also, I would like to say that I am very grateful to you for helping me in this whole process. Because I would not have succeeded on my own.

I did not expect that it would be so difficult to make Lazarus suitable for programming for such an important platform as Android.

In this way there is not a very good chance that we will win many new programmers for Pascal and Lazarus. Hope this thread will help.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Preparing my Stack for Android and Blockchain
« Reply #24 on: November 06, 2021, 09:29:28 pm »
Quote
What should I do here?

you can follow the suggestions:

1) A folder (any) to save FPC source from svn trunk

2) the svn path to fpc source [trunk] (default)

3) the path to [any] SVN command line client
   (you can download "SlikSvn"  from here "https://sliksvn.com/download/")

Quote
I did not expect that it would be so difficult to make Lazarus suitable for programming for such an important platform as Android.

Sorry....  but, yes:  "Lamw Manager" and others can be more automatic....

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • Full Member
  • ***
  • Posts: 158
Re: Preparing my Stack for Android and Blockchain
« Reply #25 on: November 06, 2021, 10:19:06 pm »
I also 100% recommend LAMW Manager too, works really well, and ensures you have the correct Gradle/Apache Ant versions etc.  :)

Quote
What should I do here?

you can follow the suggestions:

1) A folder (any) to save FPC source from svn trunk

2) the svn path to fpc source [trunk] (default)

3) the path to [any] SVN command line client
   (you can download "SlikSvn"  from here "https://sliksvn.com/download/")

Quote
I did not expect that it would be so difficult to make Lazarus suitable for programming for such an important platform as Android.

Sorry....  but, yes:  "Lamw Manager" and others can be more automatic....
Lazarus 2.0.12 r64642/FPC 3.2.0 LAMW v0.8.6.4 on Windows 10+Linux Mint 21.2, projects mainly built using AppCompat and Gradle v8.5

Webdrifter

  • Jr. Member
  • **
  • Posts: 68
Re: Preparing my Stack for Android and Blockchain
« Reply #26 on: November 06, 2021, 11:34:16 pm »
I know, i am not taking the easiest route but still...

I installed Slik-Subversion-1.14.1-x64.msi
This without any problem.

Next I went back to Lazarus and tried to fulfil the next step.

And got an error. See attached picture.


dsiders

  • Hero Member
  • *****
  • Posts: 1080
Re: Preparing my Stack for Android and Blockchain
« Reply #27 on: November 06, 2021, 11:47:55 pm »
I know, i am not taking the easiest route but still...

I installed Slik-Subversion-1.14.1-x64.msi
This without any problem.

Next I went back to Lazarus and tried to fulfil the next step.

And got an error. See attached picture.

The error message is pretty self-explanatory. There is no SVN server at that address any more. The project(s) moved to git back in June-July.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Preparing my Stack for Android and Blockchain
« Reply #28 on: November 07, 2021, 02:41:38 am »
Quote
There is no SVN server at that address any more. The project(s) moved to git back in June-July.

Hi dsiders!

Please, can you point up to the new [direct] access to FPC source and how to download it?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

dsiders

  • Hero Member
  • *****
  • Posts: 1080
Re: Preparing my Stack for Android and Blockchain
« Reply #29 on: November 07, 2021, 02:56:48 am »
Quote
There is no SVN server at that address any more. The project(s) moved to git back in June-July.

Hi dsiders!

Please, can you point up to the new [direct] access to FPC source and how to download it?


FPC source code is at:

https://gitlab.com/freepascal.org/fpc/source/-/tree/main

If you're looking for a specific version, the releases are all on source forge:

https://sourceforge.net/projects/freepascal/files/

Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018