OpenBR windows官网安装问题汇总

Build OpenBR!cmake,nmake失败!

问题1:6.Build OpenBR!(From the VS2013 x64 Cross Tools Command Prompt:)第四步

openbr官网http://openbiometrics.org/docs/install/

这里写图片描述

第四行中的c:/opencv-2.4.11/build/install;你会发现自己的opencv下并没有build路径,其实应该改为C:/opencv-2.4.11/build-msvc2013/install;经验证,这是官网的一个bug!

下面错误提醒,改为上面的路径就没有问题了

-- The C compiler identification is MSVC 18.0.21005.1
-- The CXX compiler identification is MSVC 18.0.21005.1
-- Check for working C compiler: D:/Program Files/vs/VC/bin/cl.exe
-- Check for working C compiler: D:/Program Files/vs/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: D:/Program Files/vs/VC/bin/cl.exe
-- Check for working CXX compiler: D:/Program Files/vs/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:88 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" (requested
  version 2.4.5) with any of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "D:/openbr/build-msvc2013/CMakeFiles/CMakeOutput.log".
See also "D:/openbr/build-msvc2013/CMakeFiles/CMakeError.log".

问题2:6.Build OpenBR!第五步

这里写图片描述

第五行运行会从网站上下载一个文件包,没有下载成功,附下载地址,拷贝到openbr下的路径C:/openbr/build-msvc2013/models-prefix/src/,重新nmake就可以了。

链接:http://pan.baidu.com/s/1i49Xe77 密码:wq54

下面是错误提示

Scanning dependencies of target models
[  1%] Creating directories for 'models'
[  1%] Performing download step (download, verify and extract) for 'models'
-- downloading...
     src='http://github.com/biometrics/openbr/releases/download/v1.1.0/models.tar.gz'
     dst='D:/openbr/build-msvc2013/models-prefix/src/models.tar.gz'
     timeout='none'
CMake Error at D:/openbr/build-msvc2013/models-prefix/src/models-stamp/download-models.cmake:27 (message):
  error: downloading
  'http://github.com/biometrics/openbr/releases/download/v1.1.0/models.tar.gz'
  failed

    status_code: 7
    status_string: "Couldn't connect to server"
    log: timeout on name lookup is not supported
    Trying 192.30.252.121...

  Connected to github.com (192.30.252.121) port 80 (#0)

  GET /biometrics/openbr/releases/download/v1.1.0/models.tar.gz HTTP/1.1

  Host: github.com

  User-Agent: curl/7.44.0

  Accept: */*



  HTTP/1.1 301 Moved Permanently

  Content-length: 0

  Location:
  https://github.com/biometrics/openbr/releases/download/v1.1.0/models.tar.gz


  Connection: close



  Closing connection 0

  Issue another request to this URL:
  'https://github.com/biometrics/openbr/releases/download/v1.1.0/models.tar.gz'


  timeout on name lookup is not supported

    Trying 192.30.252.121...

  Connected to github.com (192.30.252.121) port 443 (#1)

  schannel: SSL/TLS connection with github.com port 443 (step 1/3)

  schannel: disabled server certificate revocation checks

  schannel: sending initial handshake data: sending 178 bytes...

  schannel: sent initial handshake data: sent 178 bytes

  schannel: SSL/TLS connection with github.com port 443 (step 2/3)

  schannel: failed to receive handshake, need more data

  schannel: SSL/TLS connection with github.com port 443 (step 2/3)

  schannel: encrypted data buffer: offset 1436 length 4096

  schannel: encrypted data length: 1338

  schannel: encrypted data buffer: offset 1338 length 4096

  schannel: received incomplete message, need more data

  schannel: SSL/TLS connection with github.com port 443 (step 2/3)

  schannel: encrypted data buffer: offset 3492 length 4096

  schannel: sending next handshake data: sending 126 bytes...

  schannel: SSL/TLS connection with github.com port 443 (step 2/3)

  schannel: encrypted data buffer: offset 51 length 4096

  schannel: SSL/TLS handshake complete

  schannel: SSL/TLS connection with github.com port 443 (step 3/3)

  schannel: incremented credential handle refcount = 1

  schannel: stored credential handle in session cache

  GET /biometrics/openbr/releases/download/v1.1.0/models.tar.gz HTTP/1.1

  Host: github.com

  User-Agent: curl/7.44.0

  Accept: */*



  schannel: client wants to read 16384 bytes

  schannel: encdata_buffer resized 17408

  schannel: encrypted data buffer: offset 0 length 17408

  schannel: encrypted data got 2837

  schannel: encrypted data buffer: offset 2837 length 17408

  schannel: decrypted data length: 1370

  schannel: decrypted data added: 1370

  schannel: decrypted data cached: offset 1370 length 16384

  schannel: encrypted data length: 1438

  schannel: encrypted data cached: offset 1438 length 17408

  schannel: decrypted data length: 1370

  schannel: decrypted data added: 1370

  schannel: decrypted data cached: offset 2740 length 16384

  schannel: encrypted data length: 39

  schannel: encrypted data cached: offset 39 length 17408

  schannel: decrypted data length: 10

  schannel: decrypted data added: 10

  schannel: decrypted data cached: offset 2750 length 16384

  schannel: encrypted data buffer: offset 0 length 17408

  schannel: decrypted data buffer: offset 2750 length 16384

  schannel: schannel_recv cleanup

  schannel: decrypted data returned 2750

  schannel: decrypted data buffer: offset 0 length 16384

  HTTP/1.1 302 Found

  Server: GitHub.com

  Date: Wed, 18 May 2016 03:24:34 GMT

  Content-Type: text/html; charset=utf-8

  Transfer-Encoding: chunked

  Status: 302 Found

  Cache-Control: no-cache

  Vary: X-PJAX

  Location:
  https://github-cloud.s3.amazonaws.com/releases/7251195/e9d90e7e-6d0b-11e5-90ce-4a1b45bbcb62.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20160518%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20160518T032434Z&X-Amz-Expires=300&X-Amz-Signature=02ff175af2b2c922437b2f27acdbe562526b5d51a89286d7f7feb21b6cb0b9b0&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dmodels.tar.gz&response-content-type=application%2Foctet-stream


  X-UA-Compatible: IE=Edge,chrome=1

  Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 18 May
  2036 03:24:34 -0000; secure; HttpOnly

  Set-Cookie:
  _gh_sess=eyJzZXNzaW9uX2lkIjoiZDQ3YmMxODM5OTA4YWIzZjNjNzAwZTg0NmVlODk0OWIiLCJzcHlfcmVwbyI6ImJpb21ldHJpY3Mvb3BlbmJyIiwic3B5X3JlcG9fYXQiOjE0NjM1NDE4NzR9--b20e4503d55d11bc2779a24fbcbbc4b23e39e90a;
  path=/; secure; HttpOnly

  X-Request-Id: 0d4c0ef3f6514f713e652b78ac19620f

  X-Runtime: 0.029513

  Content-Security-Policy: default-src 'none'; base-uri 'self';
  block-all-mixed-content; child-src render.githubusercontent.com;
  connect-src 'self' uploads.github.com status.github.com api.github.com
  www.google-analytics.com github-cloud.s3.amazonaws.com
  api.braintreegateway.com client-analytics.braintreegateway.com
  wss://live.github.com; font-src assets-cdn.github.com; form-action 'self'
  github.com gist.github.com; frame-ancestors 'none'; frame-src
  render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com
  identicons.github.com www.google-analytics.com collector.githubapp.com
  *.gravatar.com *.wp.com checkout.paypal.com *.githubusercontent.com;
  media-src 'none'; object-src assets-cdn.github.com; plugin-types
  application/x-shockwave-flash; script-src assets-cdn.github.com; style-src
  'unsafe-inline' assets-cdn.github.com

  Strict-Transport-Security: max-age=31536000; includeSubdomains; preload

  Public-Key-Pins: max-age=5184000;
  pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=";
  pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";
  pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws=";
  pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q=";
  pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4=";
  pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0=";
  pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A=";
  includeSubDomains

  X-Content-Type-Options: nosniff

  X-Frame-Options: deny

  X-XSS-Protection: 1; mode=block

  Vary: Accept-Encoding

  X-Served-By: 9835a984a05caa405eb61faaa1546741

  X-GitHub-Request-Id: 6E3551C9:7A00:591F0C1:573BE06E



  schannel: client wants to read 16384 bytes

  schannel: encrypted data buffer: offset 0 length 17408

  schannel: encrypted data got 629

  schannel: encrypted data buffer: offset 629 length 17408

  schannel: decrypted data length: 600

  schannel: decrypted data added: 600

  schannel: decrypted data cached: offset 600 length 16384

  schannel: encrypted data buffer: offset 0 length 17408

  schannel: decrypted data buffer: offset 600 length 16384

  schannel: schannel_recv cleanup

  schannel: decrypted data returned 600

  schannel: decrypted data buffer: offset 0 length 16384

  Ignoring the response-body

  [600 bytes data]

  Connection #1 to host github.com left intact

  Issue another request to this URL:
  'https://github-cloud.s3.amazonaws.com/releases/7251195/e9d90e7e-6d0b-11e5-90ce-4a1b45bbcb62.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20160518%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20160518T032434Z&X-Amz-Expires=300&X-Amz-Signature=02ff175af2b2c922437b2f27acdbe562526b5d51a89286d7f7feb21b6cb0b9b0&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dmodels.tar.gz&response-content-type=application%2Foctet-stream'


  timeout on name lookup is not supported

    Trying 54.231.17.129...

  connect to 54.231.17.129 port 443 failed: Timed out

  Failed to connect to github-cloud.s3.amazonaws.com port 443: Timed out

  Closing connection 2





NMAKE : fatal error U1077: “echo”: 返回代码“0x1Stop.
NMAKE : fatal error U1077: “"D:\Program Files\vs\VC\BIN\nmake.exe"”: 返回代码“0x2Stop.
NMAKE : fatal error U1077: “"D:\Program Files\vs\VC\BIN\nmake.exe"”: 返回代码“0x2Stop.
  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值