-
Notifications
You must be signed in to change notification settings - Fork 173
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
How can I build pdfium on arm64 platform?(Debian glibc 2.28) #135
Comments
Hi @MyChuan, I had the same error today with the Windows build. Try to upgrade to Python >= 3.9 Best regards, |
OK,let me try it, thank you! |
I get another error,“/root/zbc/projects/pdfium-binaries/pdfium-binaries/.gclient_entries missing, .gclient file in parent directory /root/zbc/projects/pdfium-binaries/pdfium-binaries might not be the file you want to use. |
Hi @MyChuan, I don't know.
Thank you for your understanding. Best regards, |
I get, thank you all the same! |
step 1, I'm run the sh by command "./build.sh -b chromium/5670 linux arm64".
step 2, the error is "E: 软件包 libc6-i386 没有可安装候选
E: 无法定位软件包 gcc-9-multilib
E: 无法定位软件包 g++-9-aarch64-linux-gnu
E: 无法按照正则表达式 g++-9-aarch64-linux-gnu 找到任何软件包
E: 软件包 gcc-9-aarch64-linux-gnu:i386 没有可安装候选",
then i comment it out.
step 3, the error is "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree." when it reaches gclient sync -r origin/chromium/5670 --no-history --shallow, but i can get the codes from gclient, then i copy it in this place.
step 4, the error is "gn gen /root/zbc/projects/pdfium-binaries/pdfium-binaries/pdfium/out
Traceback (most recent call last):
File "/root/zbc/projects/pdfium-binaries/pdfium-binaries/depot_tools/gn.py", line 14, in
import gclient_paths
File "/root/zbc/projects/pdfium-binaries/pdfium-binaries/depot_tools/gclient_paths.py", line 24, in
def FindGclientRoot(from_dir, filename='.gclient'):
File "/usr/lib/python3.7/functools.py", line 477, in lru_cache
raise TypeError('Expected maxsize to be an integer or None')
TypeError: Expected maxsize to be an integer or None
"
How can i resolve the problems? Looking forward to your help.
The text was updated successfully, but these errors were encountered: