Build issue when trying to build with ios.toolchain.cmake #769
Replies: 3 comments
-
I debugged this further. When I executed
got below log for thrd_create, accept4
But with
there is different log
In theory, both commands be using same toolchain and library paths. On debugging further, there seems to be false positives for I went ahead and commented below, as this were not detected without using
Then build was success. |
Beta Was this translation helpful? Give feedback.
-
I tried to do build libre in iOS using the same toolchain. I had to do some modifications because the toolchain overwrites After replacing But there is a compilation error as the below header file is not found in iOS SDK.
Similar thing is discussed and solved in below links. Solution is simply to copy and paste fluttercommunity/plus_plugins#431 I haven't tried these yet. But I would like to know from experts whether that is correct approach. |
Beta Was this translation helpful? Give feedback.
-
Hi All Would some like to give any inputs here? BRs |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am trying to use ios cmake toolchain to build libre using following command.
cmake -B build --fresh -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake -DPLATFORM=MAC_ARM64 && cmake --build build --target re -j
I am using this tool chain so that it can be used for other apple platforms. I found one issue when build with this tool chain.
UPDATE:
This command is to build libre on Mac M1 for Mac M1
Would someone like to help me in figuring this out?
BRs
Kiran
Beta Was this translation helpful? Give feedback.
All reactions