-
Notifications
You must be signed in to change notification settings - Fork 503
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
Fix build for raspberry pi with cross #5272
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think adding this to the container is fine (no harm), but I don't think it's a general requirement on the target. Or am I missing something here?
@@ -7,7 +7,7 @@ FROM ghcr.io/slint-ui/cross-aarch64-base:1.0 | |||
|
|||
RUN dpkg --add-architecture arm64 && \ | |||
apt-get update && \ | |||
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes libfontconfig1-dev:arm64 libxcb1-dev:arm64 libxcb-render0-dev:arm64 libxcb-shape0-dev:arm64 libxcb-xfixes0-dev:arm64 libxkbcommon-dev:arm64 libinput-dev:arm64 libgbm-dev:arm64 python3 \ | |||
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes libfontconfig1-dev:arm64 libxcb1-dev:arm64 libxcb-render0-dev:arm64 libxcb-shape0-dev:arm64 libxcb-xfixes0-dev:arm64 libxkbcommon-dev:arm64 libinput-dev:arm64 libgbm-dev:arm64 libssl-dev:armhf python3 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
armhf looks wrong here, shouldn't it be arm64?
@@ -42,6 +42,7 @@ For Linux a few additional packages beyond the usual build essentials are needed | |||
- fontconfig library (`libfontconfig-dev` on debian based distributions) | |||
- (optional) Qt will be used when `qmake` is found in `PATH` | |||
- FFMPEG library `clang` `libavcodec-dev` `libavformat-dev` `libavutil-dev` `libavfilter-dev` `libavdevice-dev` `libasound2-dev` `pkg-config` | |||
- openssl (`libssl-dev` on debian based distributions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm no. Slint itself doesn't require OpenSSL on the target. I think maybe one of the examples (the energy monitor). But it's not a general build requirement of Slint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see there are other example specific items there, so no harm then:)
cargo tree says the dependency comes from reqwest that figma_import uses.
|
slint needs openssl to build it. The system library `openssl` required by crate `openssl-sys` was not found. The file `openssl.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. PKG_CONFIG_PATH contains the following: - /usr/lib/arm-linux-gnueabihf/pkgconfig HINT: you may need to install a package such as openssl, openssl-dev or openssl-devel.
Update containers are published. |
slint needs openssl to build it.
The system library
openssl
required by crateopenssl-sys
was not found. The fileopenssl.pc
needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. PKG_CONFIG_PATH contains the following:- /usr/lib/arm-linux-gnueabihf/pkgconfig
HINT: you may need to install a package such as openssl, openssl-dev or openssl-devel.