Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram ARM64 #130

Closed
lexcyn opened this issue Sep 2, 2024 · 3 comments
Closed

Telegram ARM64 #130

lexcyn opened this issue Sep 2, 2024 · 3 comments

Comments

@lexcyn
Copy link
Contributor

lexcyn commented Sep 2, 2024

Hi all - looks like you can now compile an arm64 native version of Telegram as all dependencies can be compiled natively. You can follow the regular build guide except:

Follow the regular build guide except the following changes:

  • Run the ARM64 Native Tools Command Prompt
  • Use Python 3.11 (ARM native build)
  • Edit the tdesktop\cmake\variables.cmake file and adjust the following:
  • `if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm")` change to `if (CMAKE_SYSTEM_PROCESSOR MATCHES "ARM*")`
    
  • Change the arch in the build step to: configure.bat arm qt6 -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH
  • Note that I had to specify qt6 in order to get the build to work but you may not need to
image

Not sure if this counts to be added @arminask ? :)

@lexcyn lexcyn closed this as completed Sep 2, 2024
@arminask
Copy link
Owner

arminask commented Sep 2, 2024

Wow this is awesome, finally!

@arminask
Copy link
Owner

arminask commented Sep 2, 2024

And yes, I think this can definitely be added. Afaik there are no pre-compiled official builds?

@lexcyn
Copy link
Contributor Author

lexcyn commented Sep 2, 2024

And yes, I think this can definitely be added. Afaik there are no pre-compiled official builds?

Correct no official version yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants