[Bug 240187] science/ncnn: cmake fails to find the library

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 29 11:56:15 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240187

            Bug ID: 240187
           Summary: science/ncnn: cmake fails to find the library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: jbeich at FreeBSD.org
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

$ pkg install ncnn cmake
$ echo 'find_package(ncnn REQUIRED)' >CMakeLists.txt
$ cmake -Wno-dev .
[...]
CMake Error at /usr/local/lib/cmake/ncnn/ncnn.cmake:79 (message):
  The imported target "ncnn" references the file

     "/usr/local/lib/lib/libncnn.a"

  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

     "/usr/local/lib/cmake/ncnn/ncnn.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/ncnn/ncnnConfig.cmake:16 (include)
  CMakeLists.txt:1 (find_package)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list