Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found #26223

Closed
juskek opened this issue Jan 3, 2024 · 5 comments
Closed

fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found #26223

juskek opened this issue Jan 3, 2024 · 5 comments
Assignees

Comments

@juskek
Copy link

juskek commented Jan 3, 2024

Minimal reproducible example

https://github.com/expo/examples/tree/master/with-tv

Summary

  1. npx create-expo-app -e with-tv
  2. cd into the project
  3. export EXPO_TV=1
  4. npx expo prebuild
  5. yarn android

Throws:

> Task :expo-modules-core:buildCMakeDebug[arm64-v8a]

... long stack trace ...

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

Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.1.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
Watchman: 2023.12.04.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2
Android SDK:
API Levels: 28, 29, 30, 31, 32, 33, 34
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.1, 34.0.0
System Images: android-30 | Google TV Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64, android-33 | Google APIs Intel x86_64 Atom
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode: 15.1/15C65 - /usr/bin/xcodebuild
npmPackages:
expo: ^50.0.0-preview.4 => 50.0.0-preview.7
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native-tvos: 0.73.1-2
Expo Workflow: bare

@juskek juskek added the needs validation Issue needs to be validated label Jan 3, 2024
@expo-bot expo-bot added needs review Issue is ready to be reviewed by a maintainer and removed needs validation Issue needs to be validated labels Jan 3, 2024
@joshuaben
Copy link

joshuaben commented Jan 3, 2024

Confirming this. I am experiencing it in all versions from 50 - ^50.0.0-preview.7. This is from a fresh install.

@expo-bot
Copy link
Collaborator

expo-bot commented Jan 6, 2024

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

@github-actions github-actions bot removed the needs review Issue is ready to be reviewed by a maintainer label Jan 6, 2024
@ofurtumi
Copy link

ofurtumi commented Feb 6, 2024

I am facing the same problem on a similar machine, MacOs 13.6, same binary versions, did you find any workaround?

@geolffreym
Copy link

I have been reading about this. Seems like a solution for me:
#26942

@douglowder
Copy link
Contributor

Agreed this seems to be the same issue as #26942 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants