Skip to content

没有规则可制作目标"......opencv-4.5.0/release/lib/libopencv_dnn.so.4.5.0" #30

@Zuoqiu-Yingyi

Description

@Zuoqiu-Yingyi
EDCC-Palmprint-Recognition/build$ cmake .. && sudo make install
CMake Warning (dev) at CMakeLists.txt:7 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build/googletest-download
[ 11%] Performing update step for 'googletest'
当前分支 master 是最新的。
[ 22%] No configure step for 'googletest'
[ 33%] No build step for 'googletest'
[ 44%] No install step for 'googletest'
[ 55%] No test step for 'googletest'
[ 66%] Completed 'googletest'
[100%] Built target googletest
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_01.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_01.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_02.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_02.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_01.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_01.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_02.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_02.bmp success!
CMake Warning (dev) at build/edcc-config.cmake:11 (INCLUDE):
  Policy CMP0024 is not set: Disallow include export result.  Run "cmake
  --help-policy CMP0024" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  The file

    /home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build/edcc-targets.cmake

  was generated by the export() command.  It should not be used as the
  argument to the include() command.  Use ALIAS targets instead to refer to
  targets by alternative names.

Call Stack (most recent call first):
  examples/c_example/CMakeLists.txt:7 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build
[sudo] zuoqiuyingyi 的密码: 
Scanning dependencies of target edcc
[  4%] Building CXX object CMakeFiles/edcc.dir/src/config/reader.cpp.o
[  8%] Building CXX object CMakeFiles/edcc.dir/src/controller/c_api.cpp.o
[ 13%] Building CXX object CMakeFiles/edcc.dir/src/controller/facade.cpp.o
[ 17%] Building CXX object CMakeFiles/edcc.dir/src/core/comparer.cpp.o
[ 21%] Building CXX object CMakeFiles/edcc.dir/src/core/encoder.cpp.o
[ 26%] Building CXX object CMakeFiles/edcc.dir/src/core/gabor_filter.cpp.o
make[2]: *** 没有规则可制作目标“/home/zuoqiuyingyi/软件/opencv-4.5.0/release/lib/libopencv_dnn.so.4.5.0”,由“libedcc.so.0.2.0” 需求。 停止。
make[1]: *** [CMakeFiles/Makefile2:228:CMakeFiles/edcc.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2

这是否意味着该项目不支持OpenCV 4.5.0呀?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions