-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🐛 Unable to build app with "#include <boost/operators.hpp>" error #977
Comments
Hi! This is not a bug, I have to download boost from somewhere. This will hopefully get fixed soon in the future by react-native core once they start providing prefabs. |
I've been facing this issue for a while, had to remove the camera library until a fix is done somewhere. why does this happen anyway? is it a bug with the boost library? |
Which RN version are you even on? |
it's 0.67.3 and could you review my answers here please? they describe the issue well enough #908 |
This happens sometimes when boost have not been installed properly. Just do this :
|
Thanks Mohamad, yeah I know the drill but this time it's different, every time boost does not install properly and you'd have to do these steps and even then the first build fails and you have to delete the build folder and build again. it's very tedious and there's something wrong here not sure where. this issue here explains the situation very clearly. #908 |
This issue hasn't been resolved for Windows yet |
I encountered this issue a couple of times and all I had to do is what I said in my previous comment (deleting node_modules folder is key). I'm running react-native 0.68.1, latest versions of react-native-vision-camera, react-native-mmkv, realm-js, wix RNN + many others. |
Do we need to do this each time we encounter this issue? |
Unfortunately yes. But once you fix it, you should be good. I never encountered it since I deleted node_modules folder and rebuilt project. Also, if your project's path contains weird characters or spaces, try moving it to new clean path and rebuild. |
I just cloned and old project to start a new one and got the same error when building the app. Did Hope this helps someone. |
see solution in: #908 |
What were you trying to do?
Just developing the app.
Reproduceable Code
No response
What happened instead?
This package downloads react-native boost each time. it takes so much time on each building. and also fails to build sometimes.
Relevant log output
Device
Android 12
VisionCamera Version
2.13.1
Additional information
The text was updated successfully, but these errors were encountered: