-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Lack of CMakeLists.txt in component creates extremely confusing build errors. (IDFGH-1354) #3637
Comments
github-actions
bot
changed the title
Lack of CMakeLists.txt in component creates extremely confusing build errors.
Lack of CMakeLists.txt in component creates extremely confusing build errors. (IDFGH-1354)
Jun 16, 2019
This all stems from #find_component_path in component_utils.cmake If as indicated in the method comment it through a FATAL_ERROR if the component is not found we would have a really good error message. Ie
|
Thanks for reporting this issue. We'll be taking a look at this as soon as possible. |
igrr
pushed a commit
that referenced
this issue
Jul 2, 2019
igrr
pushed a commit
that referenced
this issue
Jul 12, 2019
igrr
pushed a commit
that referenced
this issue
Jul 16, 2019
This should be fixed @william-ferguson-au |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem Description
If a component is listed as a dependency, but is missing its CMakeLists.txt file then the error message from the build points you in entirely the wrong direction.
Ie libA lists libB as a dependency but libB is missing CMakeLists.txt
Expected Behavior
That the build error message points you towards the problem.
Ie that it says there is a problem because libB is referenced as a dependency but cannot be found on the component path.
Actual Behavior
It says that libA " is already used to build a source directory. It cannot be used to build
source directory" pathToLibA. "Specify a unique binary directory name."
Steps to repropduce
The text was updated successfully, but these errors were encountered: