Recent

Author Topic: compiler error  (Read 776 times)

Blu32

  • Newbie
  • Posts: 4
compiler error
« on: July 01, 2023, 08:06:04 am »
so i'm using lazarus for cheat engine but when i open the "cecore.lpi" in the Cheat Engine folder and im greeted with "compiler "C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe" does not support target arm-android" and i've downloaded the latest win64 and the cross 32 64version as well. i don't know what to to

Thaddy

  • Hero Member
  • *****
  • Posts: 13235
Re: compiler error
« Reply #1 on: July 01, 2023, 08:17:11 am »
You need to build a cross compiler for Android and the right processor, possibly 32 ARM-Android and/or 64bit AARCH-Android. Best way to do that is with FpcUpDeluxe. Currently your cross-compiler is for Intel.
And use FpcUpDeluxe, since that will also solve the dependencies for you.
« Last Edit: July 01, 2023, 08:18:50 am by Thaddy »
I actually get compliments for being rude... (well, Dutch, but that is the same)

Blu32

  • Newbie
  • Posts: 4
Re: compiler error
« Reply #2 on: July 01, 2023, 08:21:50 am »
You need to build a cross compiler for Android and the right processor, possibly 32 ARM-Android and/or 64bit AARCH-Android. Best way to do that is with FpcUpDeluxe. Currently your cross-compiler is for Intel.
And use FpcUpDeluxe, since that will also solve the dependencies for you.
i have a 64bit machine and how do i use FpcUpDeluxe

Blu32

  • Newbie
  • Posts: 4
Re: compiler error
« Reply #3 on: July 01, 2023, 09:24:20 am »
You need to build a cross compiler for Android and the right processor, possibly 32 ARM-Android and/or 64bit AARCH-Android. Best way to do that is with FpcUpDeluxe. Currently your cross-compiler is for Intel.
And use FpcUpDeluxe, since that will also solve the dependencies for you.
sooo how do i build the cross compiler for android and the rest of all of that

Thaddy

  • Hero Member
  • *****
  • Posts: 13235
Re: compiler error
« Reply #4 on: July 01, 2023, 10:08:20 am »
With FpcUpDeLuxe, as I explained.....
I actually get compliments for being rude... (well, Dutch, but that is the same)

Peter H

  • Sr. Member
  • ****
  • Posts: 272
Re: compiler error
« Reply #5 on: July 01, 2023, 10:17:02 am »
There are several Youtube videos that explain it.
Because they also demonstrate each step this clarifies it and avoids misunderstanding.

After watching this you should understand the written documentation too ;-).

This is only one example, maybe watch more than one, then choose what you prefer.
https://youtu.be/Q1BQ_6w8whc
« Last Edit: July 01, 2023, 10:25:21 am by Peter H »

Blu32

  • Newbie
  • Posts: 4
Re: compiler error
« Reply #6 on: July 01, 2023, 11:08:47 am »
so... i've watched the video and done exactly what he did in the video but when i open the cecore.lpi it gives me an error message but when i open lazarus through the desktop shortcut its fine but it does say project 1 and not cecore

Peter H

  • Sr. Member
  • ****
  • Posts: 272
Re: compiler error
« Reply #7 on: July 01, 2023, 11:43:33 am »
I have not fully watched the video and I myself do not compile for Arm processor or linux.
Edit: I watched it, he does not demonstrate installing the Arm compiler. He just shows how to install cross compilers in common.

You must understand what he does in the video and possibly adjust this for your use case or watch another video.
Also watch out for global environment variables which could interfere, if you had previous and different installations.

Somewhere I have read the recommendation to use trunk for crosscompiling to other processors, because this is most up to date.
I do not know, if this is true for your use case.

« Last Edit: July 01, 2023, 12:05:37 pm by Peter H »

 

TinyPortal © 2005-2018