You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I would like to start off by starting thank you for spending your free time in improving and helping others in this library. People like you are the reason why I do the same and wish to continue to grow open source code.
That being said, I do have one issue that I'm having trouble fixing due to me being inexperienced with cross compilation toolchains.
Currently I get the error below, even though for the architecture I'm trying to compile for (android arm64) I have built the hwloc library for. 'hwloc.h' file not found
How can I make golang recognize hwloc libraries I've built for the specific architecture? I've tried using CFLAGS and LDFlags with no affect
The text was updated successfully, but these errors were encountered:
Cross-compilation with CGO is a complex task. Besides golang, you need a target-platform compatible GCC and static-lib (like hwloc) compiled with the compatible GCC.
(Or compile from github source code by yourself)
Another simpler solution is to try to finish go build on your Android device with terminal software like Termux.
First I would like to start off by starting thank you for spending your free time in improving and helping others in this library. People like you are the reason why I do the same and wish to continue to grow open source code.
That being said, I do have one issue that I'm having trouble fixing due to me being inexperienced with cross compilation toolchains.
Currently I get the error below, even though for the architecture I'm trying to compile for (android arm64) I have built the hwloc library for.
'hwloc.h' file not found
How can I make golang recognize hwloc libraries I've built for the specific architecture? I've tried using CFLAGS and LDFlags with no affect
The text was updated successfully, but these errors were encountered: