-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[0.76] Project with spaces in the path fail to build with CMake error: Cannot specify link libraries for target "..." which is not built by this project.
#47377
Comments
|
|
|
|
Your root folder contains whitespace. Rename |
This repository doesn't exists (or is not public). Can you update it @alferth-gonzalez ? |
Done, I've already put it in public. |
Cannot specify link libraries for target "..." which is not built by this project.
Summary: Fixes facebook#47364 Fixes facebook#47377 Fixes facebook#37124 We're having problems is a path contains a space ' ' because when autolinking, the `add_subdirectory()` function of CMake consider the path with space as 2 parameters. This fixes it by properly quoting the path. Changelog: [Android] [Fixed] - Properly handle paths with spaces in autolinking Differential Revision: D65434413
It turns out is a problem with having a space The fix for this is here: Will be shipped in 0.76.2. In the meantime, the workaround is to don't use spaces in your full path or apply the change from the PR with |
Description
I get the following error after installing react-navigation dependencies:
Steps to reproduce
React Native Version
0.76.1
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
I get the following error after installing react-navigation dependencies:
Reproducer
git@github.com:alferth-gonzalez/NavigationApp.git
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: