Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 11:56:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240187] science/ncnn: cmake fails to find the library
Message-ID:  <bug-240187-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240187

            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@freebsd.org
          Reporter: jbeich@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240187-7788>