4,654 questions
0
votes
0
answers
35
views
How to cross-compile a customized QGroundControl (Qt 6.8.3) for Jetson Nano (ARM64) from Ubuntu x86_64
I have been customizing QGroundControl and have successfully built it for my Ubuntu system (x86_64 architecture) using Qt 6.8.3. I utilized the provided shell scripts and Dockerfiles located in the ...
-1
votes
1
answer
34
views
touch screen by tslib does not work correctly on qt button
I have Lynx-9500 sls device which I did cross compile Qt5.12 library by it's toolchain. Qt cross compilation was ok with Tslib library, but when I create simple QWidget to test touch screen it does ...
0
votes
2
answers
70
views
Add OpenSSL Dev Libraries to Yocto SDK target sysroot
I have a RISC-V dev board for which I am building Yocto Linux.
Some of the applications require OpenSSL and the development headers and libs to build the applications.
I have been able to add openssl ...
0
votes
1
answer
94
views
Cross-compiled executable for arm64: "No such file or directory"
I've cross-compiled an executable (AVR GCC) to run on Android arm64 device with aarch64-linux-gnu toolchain (not using Android NDK).
file avr-g++ gives the following in "adb shell":
file avr-...
0
votes
0
answers
32
views
CircleCI fails `cargo test` for cross-compiled Rust project
I have a Rust project created with cargo that I'm trying to cross compile (see "targets" in rust-toolchain.toml below) with the following dir structure:
.
├── .circleci
│ └── config.yaml
├─...
0
votes
0
answers
77
views
setuptools: fetch a remote cross-compiled library
My C++ library uses external dependencies, most of which are open source, but at least one of them is only available as cross-compiled binaries.
In our CI workflow, we typically fetch the artifact ...
0
votes
1
answer
78
views
Using CMake for a multi-chip embedded project [duplicate]
I'm working on a robot that consists of an ARM based SBC with an AVR based control board and would like to use CMake to manage the builds.
My desire is to just run CMake once and have the build ...
0
votes
0
answers
47
views
Cross-compile to an old architecture?
My intention is to build an app (ffmpeg) to an old armv6 architecture (32-bit only).
To achieve this, I've used ct-ng to build the actual cross-toolchain, posting here my config for better overview of ...
1
vote
0
answers
64
views
PKG_CONFIG_PATH being cleared halfway through "meson setup"
I'm attempting to build gstreamer from source. I've built all the dependencies from source, and exported the PKG_CONFIG_PATH so the pkg-config can find all of these dependencies.
I can echo my ...
0
votes
1
answer
123
views
gcc 14.2.0 fails fo compile
I'm trying to build Linux From Scratch 12.3 systemd, but the last (third, in chapter 8) gcc compilation fails. Apparently, is a problem with the 'mulxc3' function. These are the last lines of the log ...
0
votes
0
answers
16
views
How to enable --make_bundle in runcpu?
The tool suite of SPEC06, runspec, provides the --make_bundle option to package the already compiled benchmark binaries on the current server. This makes it very convenient to run these programs on ...
0
votes
0
answers
39
views
#error "Unable to determine type definition of intptr_t" with RX toolchain and PC-lint
I'm working on a Renesas RX project using the MinGW RX toolchain (GCC 8.3.0a) and running PC-lint for static analysis. During linting, I get the following error:
#error "Unable to determine type ...
0
votes
0
answers
155
views
SDL3 Android Manual Build - App won't start
I'm automating the Android build process for an SDL3-based project without using Gradle. While SDL provides an Android project template, it doesn't fully cover my case, so I'm customizing it to ...
0
votes
1
answer
196
views
gdb [unable to initialize decompress status for section .debug_loclists][not in executable format]
I use a cross-compile tool, compile a huge Android project to Unbuntu executable format app_host.
The app_host can run correctly on my Ubuntu system.
But when I try to gdb app_host,the gdb show below ...
2
votes
1
answer
78
views
"lld-link: error: could not open 'blosc.lib' " for cross-compiling in Rust (Linux->Windows)
I'm trying to cross-compile a Rust program on Linux to Windows. This program contains a function that uses Blosc. A minimal reproducible example can be done with
> cargo init
> cargo add blosc
...
0
votes
1
answer
59
views
How can I create an x86 fftw dynamic library on macOS/arm?
I'm trying to build a fftw dynamic library for macOS/x86 on a macOS/arm system. I am able to build a dynamic library for arm and a static library for x86, but unable to build a dynamic library for x86....
0
votes
0
answers
49
views
CMake CMAKE_FIND_ROOT_PATH not being used to find object files
I have a cmake toolchain file for cross compiling and have set a sysroot to a copy of my target platform.
I have thus set CMAKE_SYSROOT to point to that.
I have also set CMAKE_FIND_ROOT_PATH to ...
1
vote
1
answer
332
views
Add C Source Code to Debug Info (with GCC and for GDB)
I'm cross-compiling a C application for an ARM aarch64 target. I want to debug it on the target which has gdb 9.1 installed and I would like to avoid both remote debugging and having to copy the ...
1
vote
0
answers
148
views
Cross compiling GLIBC mismatch but ok for GLIBCXX
Hi I am cross compiling form a x86 ubuntu machine to are armv8 environment. I am using QT6.
I have followed this guide as a starting point to build qt6 for for my host and target. This has been ...
0
votes
0
answers
125
views
How to cross-compile glib 2.54.3 for aarch64 on Ubuntu 18.04?
I'm encountering issues trying to cross-compile glib 2.54.3 for the aarch64 architecture on Ubuntu 18.04.6. My development environment is as follows:
Operating System: Ubuntu 18.04.6 LTS
GCC Version: ...
3
votes
1
answer
272
views
Zig as C Linux->Mac cross-compiler for go project with go-sqlite3 error: unable to find dynamic system library 'resolv'
I'm building a Go application with native (CGO_ENABLED=1) SQLite support using https://github.com/mattn/go-sqlite3.
I'm trying to get the builder docker image to a reasonable size. (goreleaser/...
0
votes
0
answers
81
views
How to resolve missing libc.so.6 dependency on minimal Linux guest OS in RPi4 hypervisor?
I'm working on a project which involves using a RPi4B in order to build an open source hypervisor with two guest OS: Linux and FreeRTOS. Now all that build process is complete, and I'm trying to ...
0
votes
0
answers
61
views
How to fix "m2c -o scripts/Kbuild.include -e scripts/Kbuild.include scripts/Kbuild.include.mod" when cross compilg linux kernel
Newbie question: How to fix this error?
make[1]: Leaving directory '/home/denis/pmos/device_xiaomi_unified-kernel'
make[1]: Entering directory '/home/denis/pmos/device_xiaomi_unified-kernel'
m2c -o ...
0
votes
1
answer
149
views
Rust Binary Linking Issue: exec /opt/rust_application: no such file or directory on Scratch Container
I’m working on creating a scratch image as part of a test network for a system I’m building. My goal is to set up a multi-stage Docker build that allows me to compile and run a Rust application both ...
0
votes
0
answers
33
views
-finstrument-functions flag for aarch64-linux-gnu-g++ does not working
I've cross-compiled a small "hello world" app for my cortex-a72 CPU using -finstrument-functions flag (for debugging) in such way :
"aarch64-linux-gnu-g++ -o0 -finstrument-functions ...