You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a pure C++ TurboModule library following the approach in PR #2387 and referencing the react-native-cxx-turbomodule repo . However, when I add react-native-cxx-turbomodule as a dependency, I'm encountering an error.
C/C++: -- GLOB mismatch!
C/C++: -- GLOB mismatch!
C/C++: CMake Error at /Users/narwal/workspace/RN/webApp/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
C/C++: add_subdirectory given source
C/C++: "/Users/narwal/workspace/RN/webApp/node_modules/react-native-cxx-turbomodule/cpp/build/generated/source/codegen/jni/"
C/C++: which is not an existing directory.
C/C++: Call Stack (most recent call first):
C/C++: /Users/narwal/workspace/RN/webApp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:85 (include)
C/C++: CMakeLists.txt:31 (include)
C/C++: CMake Error at /Users/narwal/workspace/RN/webApp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:88 (target_link_libraries):
C/C++: Cannot specify link libraries for target
C/C++: "react_codegen_RNCxxTurbomoduleSpec" which is not built by this project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:31 (include)
C/C++: ninja: error: rebuilding 'build.ninja': subcommand failed
Our project currently uses React Native version "0.76.5". We kindly request support for version "0.76.5" and above.
Description
I'm trying to create a pure C++ TurboModule library following the approach in PR #2387 and referencing the react-native-cxx-turbomodule repo . However, when I add react-native-cxx-turbomodule as a dependency, I'm encountering an error.
C/C++: -- GLOB mismatch!
C/C++: -- GLOB mismatch!
C/C++: CMake Error at /Users/narwal/workspace/RN/webApp/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
C/C++: add_subdirectory given source
C/C++: "/Users/narwal/workspace/RN/webApp/node_modules/react-native-cxx-turbomodule/cpp/build/generated/source/codegen/jni/"
C/C++: which is not an existing directory.
C/C++: Call Stack (most recent call first):
C/C++: /Users/narwal/workspace/RN/webApp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:85 (include)
C/C++: CMakeLists.txt:31 (include)
C/C++: CMake Error at /Users/narwal/workspace/RN/webApp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:88 (target_link_libraries):
C/C++: Cannot specify link libraries for target
C/C++: "react_codegen_RNCxxTurbomoduleSpec" which is not built by this project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:31 (include)
C/C++: ninja: error: rebuilding 'build.ninja': subcommand failed
Our project currently uses React Native version "0.76.5". We kindly request support for version "0.76.5" and above.
Packages
Selected options
C++ Turbo Module
Link to repro
https://github.com/atlj/react-native-cxx-turbomodule
#630
Environment
React Native "0.76.5"
The text was updated successfully, but these errors were encountered: