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

CMake Error while running in RN 0.75 (newArchEnabled = true) #661

Open
2 tasks done
anbumagan opened this issue Oct 24, 2024 · 1 comment
Open
2 tasks done

CMake Error while running in RN 0.75 (newArchEnabled = true) #661

anbumagan opened this issue Oct 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anbumagan
Copy link

Description

CMake Error at /Users/kishore/Documents/NEWARCH/MyApp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:138 (target_link_libraries): Cannot specify link libraries for target "react_codegen_RNTestlibSpec" which is not built by this project. Call Stack (most recent call first): CMakeLists.txt:31 (include) : com.android.ide.common.process.ProcessException: -- The C compiler identification is Clang 17.0.2 -- The CXX compiler identification is Clang 17.0.2 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/kishore/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Users/kishore/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring incomplete, errors occurred! See also "/Users/kishore/Documents/NEWARCH/MyApp/android/app/.cxx/Debug/3vw6c6w4/arm64-v8a/CMakeFiles/CMakeOutput.log".

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Screenshot 2024-10-23 at 6 48 19 PM Screenshot 2024-10-23 at 6 48 26 PM Screenshot 2024-10-23 at 6 48 33 PM

Link to repro

Have created new react native library with above options

Environment

React Native

@anbumagan anbumagan added the bug Something isn't working label Oct 24, 2024
@anbumagan
Copy link
Author

Hi Team, Any updates on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant