static library file missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dlib (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When including dlib in a custom project using CMake
find_package(dlib REQUIRED)
... and later...
target_
${dlib_LIBRARIES})
I get the following error:
CMake Error at /usr/lib/
The imported target "dlib::dlib" references the file
"/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/
but not all the files it references.
This can be solved by removing the line
list(APPEND _IMPORT_
from /usr/lib/
or by adding libdlib.a to the -dev package.
Status changed to 'Confirmed' because the bug affects multiple users.