无法安装Vision Workbench [英] Can't install Vision Workbench

查看:659
本文介绍了无法安装Vision Workbench的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在我的计算机上安装Vision Workbench,请按照此主页的说明进行操作: http:// lunokhod.org/?p=13 。我已经安装了所有依赖项,但我有libboost1.54-all-dev,因为我使用Mint 17(Ubuntu 14.4)。



之后,我创建了config.options文件,我做 ./ autogen ./configure



但是,我在日志文件中获得以下内容:


configure:20861:/ usr / include / boost缺少这些必需的库:BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM BOOST_THREAD



检查/ usr / include / boost - *



检查/ usr / local / cuda / include中的提升



/ usr / local / cuda / include / boost - *

中的提升。配置:20875:检查包BOOST



HAVE_PKG_BOOST = no


但是,在 / usr / include / boost / 我有展位 program_options 文件系统线程



.so 文件位于 / usr / lib / x86_64-linux-gnu / 为opencv,boost和flann,但不知何故,它只能找到flann。



有没有人知道错误可能在哪里?



编辑:在日志文件中,我看到程序在搜索opencv时查找cxcore,但在新版本中,它被称为opencv_core,所以我做了一个符号链接从cxcore到opencv_core然后./configure发现opencv。但是,boost仍然是一个问题,并且是构建程序所必需的。



EDIT2:
我现在已经下载了boost的早期版本除了BOOST_THREAD外几乎所有的升压程序。当我安装boost库我得到以下消息:

 错误:#error线程支持不可能: with BOOST_DISABLE_THREADS

/ Erik

解决方案

尝试运行

  ./ configure --with-boost =path / to / boost 

如果您安装了多个版本的boost,您可能还需要设置环境变量< $ p



I am trying to install the Vision Workbench on my computer, following the instructions from this homepage: http://lunokhod.org/?p=13. I have installed all dependencies but I have libboost1.54-all-dev instead since I am using Mint 17 (Ubuntu 14.4).

After that I have created the config.options file I do ./autogen and ./configure.

However, I get the following in the logfile:

configure:20861: /usr/include/boost is missing these required libraries: BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM BOOST_THREAD

Checking for a boost in /usr/include/boost-*

Checking for a boost in /usr/local/cuda/include

Checking for a boost in /usr/local/cuda/include/boost-*

configure:20875: checking for package BOOST

HAVE_PKG_BOOST=no

However, in /usr/include/boost/ I have booth program_options, filesystem and thread.

The .so files are under /usr/lib/x86_64-linux-gnu/ for opencv, boost and flann, but somehow it can only find flann.

Does anyone have an idea about where the error might be?

EDIT: In the log-file I saw that the program looked for cxcore when it searched for opencv, but in the new version it is called opencv_core so I did a symbolic link from cxcore to opencv_core and then ./configure finds opencv. However, boost is still a problem and is necessary to build the program.

EDIT2: I have now downloaded an earlier version of boost (1.42), and almost all boost programs are found except BOOST_THREAD. When I install the boost library I get the following messages:

error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"

/ Erik

解决方案

try running

./configure --with-boost="path/to/boost"

if you have more than one version of boost installed, you may need to also set environment variables

HAVE_PKG_BOOST=yes
PKG_BOOST_CPPFLAGS=/path/to/boost
PKG_BOOST_LDFLAGS=/path/to/boost

这篇关于无法安装Vision Workbench的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆