-
Notifications
You must be signed in to change notification settings - Fork 38
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
build failed due to mismatches with linuxdeploy inclusion tree #162
Comments
I'm sorry. I didn't get my application work using appimage in combination with Ubuntu 20.04. I don't remember that error though. I switched to Ubuntu 22.04 as I don't care about old Ubuntu distributions. Also I never tried to build my app for ARM. |
Please excuse the hack-worthy quality of this code, as my neck is on the line I had to get this working, but I'm sure there are many ways of doing it with more civility. With that said, here is a summary of what I had to do to get compiled against base linuxdeploy: with the following patches to linuxdeploy main repo: Duplicate
... and the following modifications to the Build-time depencency of
NOTE : When cloning
Change the namespace in
NOTE : It's also necessary to go into apply the following patch (see the softlinks I created from the qt plugin back to the core repositoriy) Removed args since it's a single-file included library, resolved at build time, not link time.
|
@TheAssassin Please respond to these rough proposed changes and, if you agree, I'll clean them up and submit a PR for the same. Thanks. |
In my attempt to build PR #157 I got the following compilation error:
Any idea how to proceed, @SushiTee ?
I tried doing Docker build on x86_64 build VM for target ARCH=aarch64 but it failed (apparently cross-compilation is not supported).
My QEMU running aarch64 is too resource constrained to run docker, and my physical aarch64 device is even more constrained. The QEMU is running nested virtualization inside an x86_64 Ubunto 20.046 LTS VM, which itself is running as a guest on a Windows 11 host.
The head of my git log for each repo:
qt plugin:
commit 2b73a2173f8acfc0269e681bdb28ebf65b0b4b48 (HEAD -> mdear_elf_fix, tag: 1-alpha-20240109-1, origin/master, origin/HEAD, master)
Author: TheAssassin [email protected]
Date: Wed Jan 3 11:48:25 2024 +0100
base:
commit 2b73a2173f8acfc0269e681bdb28ebf65b0b4b48
Author: TheAssassin [email protected]
Date: Wed Jan 3 11:48:25 2024 +0100
Apaprently, this is a dependency that reaches back to the main linuxdeploy repository, which does not have that header file at the requested location.
I tried adding the following line to the end of the top level CMakeLists.txt but didn't see an -I argument showing up when compiling with --verbose flag:
include_directories(/home/ccs/workspaces/git/linuxdeploy/include)
so I added the following hack:
The text was updated successfully, but these errors were encountered: