Closed alexsharoff closed 3 weeks ago
Correct, that header is only available on macOS. However this is just one of many problems you will run into trying to build boost process on iOS. As far as I'm aware iOS is not even a platform we are looking to support just yet. It doesn't even support any real or actual shell interpreter. Many features will be missing due to how locked-down of a platform it is. I wouldn't count on this ever changing.
Edit:
Perhaps we could at least do platform macros which exclude stuff from iOS builds that are meant for macOS in specific, that way boost itself will still build even if that means boost process being very incomplete in of itself.
Edit2:
Neither me or the lead boost process dev know whether boost officially supports iOS at any capacity. That is something worth looking in to.
Thank you for clarification. If Boost.Process is not supported for iOS, it would be nice to disable it when building the whole Boost library collection for iOS by default, if possible.
I don't have any experience with this, so don't ask me how, but according to the lead boost process dev:
They can just exclude build process manually
For context: we're migrating from version 1.78 to 1.86. Running b2 with the same arguments as before now produces the above error. Of course we did exclude the library already via --without-process
, but it seems like a workaround rather than a solution. If possible, it would be nice to have a working build out of the box.
When building Boost 1.86.0 for iOS we get the following error:
Maybe
sys/proc_info.h
is available only on macOS?