file not found #include <boost/preprocessor/control/expr_iif.hpp>
juskek opened this issue · 1 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- npx create-expo-app -e with-tv
- export EXPO_TV=1
- npx expo prebuild
- yarn ios
- yarn android
yarn ios works fine, but yarn android throws the following error:
In file included from /Users/justinkek/.gradle/caches/transforms-3/03658dcb6075d6cbc41f64dd0325babd/transformed/jetified-react-android-0.73.1-2-debug/prefab/modules/folly_runtime/include/folly/container/View.h:20:
/Users/justinkek/.gradle/caches/transforms-3/03658dcb6075d6cbc41f64dd0325babd/transformed/jetified-react-android-0.73.1-2-debug/prefab/modules/folly_runtime/include/folly/functional/Invoke.h:22:10: fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found
#include <boost/preprocessor/control/expr_iif.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
/Users/justinkek/Library/Android/sdk/cmake/3.22.1/bin/ninja \
-C \
/Users/justinkek/Desktop/Repositories/theodo/rntv/rntv-app/node_modules/expo-modules-core/android/.cxx/Debug/o3h96h64/arm64-v8a \
expo-modules-core
from /Users/justinkek/Desktop/Repositories/theodo/rntv/rntv-app/node_modules/expo-modules-core/android
What platform(s) does this occur on?
Android
Environment
environment info:
System:
OS: macOS Sonoma 14.1.1
Binaries:
Node: v18.19.0
npm: 10.2.3
Packages:
"@react-native-tvos/config-tv": "~0.0.4",
"expo": "^50.0.0-preview.4",
"expo-splash-screen": "~0.26.0",
"expo-status-bar": "~1.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "npm:react-native-tvos@~0.73.1-0"
Spotted more information further up the logs - > Task :expo-modules-core:buildCMakeDebug[arm64-v8a] FAILED
$ expo run:android
› Opening emulator Android_TV_1080p_API_30
› Building app...
Configuration on demand is an incubating feature.
> Configure project :expo
Using expo modules
- expo-constants (15.4.2)
- expo-file-system (16.0.2)
- expo-font (11.10.0)
- expo-keep-awake (12.8.0)
- expo-modules-core (1.11.4)
- expo-modules-core$android-annotation (1.11.4)
- expo-modules-core$android-annotation-processor (1.11.4)
- expo-splash-screen (0.26.1)
> Task :expo-modules-core:buildCMakeDebug[arm64-v8a]
...
... more logs ...
...
C/C++: /Users/justinkek/.gradle/caches/transforms-3/03658dcb6075d6cbc41f64dd0325babd/transformed/jetified-react-android-0.73.1-2-debug/prefab/modules/folly_runtime/include/folly/functional/Invoke.h:22:10: fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found
C/C++: #include <boost/preprocessor/control/expr_iif.hpp>
C/C++: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: 1 error generated.
> Task :expo-modules-core:buildCMakeDebug[arm64-v8a] FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':expo-modules-core:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/justinkek/Desktop/Repositories/theodo/rntv/expo-tv-app/node_modules/expo-modules-core/android/.cxx/Debug/qn1625u5/arm64-v8a'
I'm on an Intel Mac, does the fact that arm64 is running have anything to do with it?