hwloc icon indicating copy to clipboard operation
hwloc copied to clipboard

Including built hwloc in linker for cross toolchain compilation

Open 0xffffa opened this issue 1 year ago • 1 comments

I'm currently on ubuntu trying to cross compile for android on golang. I'm able to successfully build the hwloc libraries for each android architecture using https://github.com/XMRig-for-Android/xmrig-for-android/tree/main/xmrig/lib-builder

However when trying to compile this library in a golang project using the same android tool chain I get the error

fatal error: 'hwloc.h' file not found

How can I make the compiler recognize the built hwloc libraries? Sorry if this is a dumb question but I'm not very good with understanding cross compilation or where the libraries are gotten from

0xffffa avatar Jun 30 '24 12:06 0xffffa