-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🐛 ld: error: undefined symbol: typeinfo for RNWorklet::JsiHostObject #1770
Comments
I thought CMakeLists.txt would be fixed now -- apparently it isn't. set(ENABLE_FRAME_PROCESSORS ON) towards the beginning of the file. This fixes the problem I reported above. Hopefully this will help someone else. But I wanted to report that you can't just install Vision Camera and build it as-is -- this error should happen for just about everyone. Frame Processors are never enabled, so you get a ton of errors at the linking stage of the build process. |
Thanks @DeveloperMCD |
I managed to create a working patch-package file, in case anyone else is encountering this error:
Name it like this:
Content:
|
Hey - I've seen similar issues with RN Worklets cc @chrfalch |
I don't get how this can be off when it even logs that it's on... |
I just got this error after upgrading to the latest release. Weird. However the fix proposed fixed the issue, but it enables by default the frameProcessor even if you don't want it, as to my understanding, which is not a final solution |
@mrousavy I don't quite grasp the details, but it seems that the actual value passed to ENABLE_FRAME_PROCESSORS when defined is relevant. |
@juanevp wow, if that's the case then that's ridiculous 😂 Did you test if it works fine with and without Worklets using your change? |
I still experience flaky build issues. It works perfectly for hours, then I have to redo the build and it fails again. It is very inconsistent, is there any other workarounds? |
Same as @yknx4, I have never patched this lib (as suggested by @DeveloperMCD) and had frame processors enabled without trouble for about a year now. Without any reason, I had to apply this patch (which works fine) today... |
The only working fix for me was clearing the global .gradle cache, node_modules + bun.lock (yarn.lock..) and the android generated build, cxx folders (With expo prebuild its easier, just prebuild --clean). |
What's happening?
Getting all kinds of linking errors after I upgraded to Vision Camera 3.0.0 (release)
RC6 was building just fine for me.
Reproduceable Code
Relevant log output
Camera Device
Device
Android 12
VisionCamera Version
3.0.0
Can you reproduce this issue in the VisionCamera Example app?
Additional information
The text was updated successfully, but these errors were encountered: