Replies: 1 comment
-
So I know this is old, but just in case you haven't figured it out, I'm pretty sure you have to specify the target-arch ZLib path and lib in cmake. I had to do something similar when building Something like:
You'll probably have to do that with any other dependency libraries as well. An alternative might be to add your target-arch lib and include paths to your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am trying to cross-compile program which require several dependencies, one of them being☹️
prometheus-cpp
but it fails to compileZLIB isn't found for some reason for the target arch.
Here is my Dockerfile:
The prometheus-cpp library require ZLIB by default, but for some reason it doesn't find the library when cross compiling to arm. It builds if I add
zlib-dev
to the build platform arch, but in that casexx-verify
complains about the output files.Any help welcome !
Beta Was this translation helpful? Give feedback.
All reactions