首页 > 其他分享 >安装scenelib出错

安装scenelib出错

时间:2023-01-22 12:34:01浏览次数:32  
标签:... whether scenelib VW yeschecking compiler 安装 出错

提问:

 装scenelib时,执行./configure时出现VW location is missing

zjy@zjy-OptiPlex-3010:~/monoslam/scenelib/SceneLib$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux
checking host system type... x86_64-unknown-linux
checking for style of include used by make... GNU
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether to enable optimisation... yes
checking for 64-bit extensions... yes
checking compiler supports -march=i686... no
checking compiler supports -march=i586... no
checking compiler supports -march=i486... no
checking compiler supports -march=i386... no
checking whether to enable debugging... yes
checking whether to enable simd instructions... yes
checking for MMX, SSE... yes
checking for MMX, MMXEXT... no
checking for SSE2... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for VW location... Missing
configure: error: VW is missing!
 
 VW is missing

运行结果如上

尝试重新安装VW34库,不确定是否由这个库引起还是缺依赖项

成功安装scenelib

解答:

 根据您给出的错误信息,VW 库没有找到。在进行 scenelib 库安装之前,您需要先安装 VW 库。

您可以尝试重新安装 VW 库,确保它已经安装在正确的位置。您可以在安装 VW 库时指定它的位置,例如使用 --prefix 选项。

您还可以检查是否缺少其他依赖项,例如 gawk 和 ranlib。
如果安装 VW 库后仍然无法解决问题,您可以尝试以下操作:

1.检查环境变量:确保您已经设置了环境变量,使得 scenelib 库能够找到 VW 库。

2.检查编译选项:确保您在编译 scenelib 库时使用了正确的选项,例如使用 VW_INCLUDE_DIR 和 VW_LIBRARY_DIR 指定 VW 库的位置。

3.检查依赖项:确保您已经安装了所有 scenelib 库所需的依赖项,例如 gawk 和 ranlib。

4.查看日志文件:查看编续 scenelib 库时产生的日志文件,以了解问题的具体原因。
5.使用虚拟机:如果您在自己的电脑上安装时出现问题,可以尝试在虚拟机中安装。这样可以避免和现有环境冲突。

6.查看在线资源:查看社区论坛、博客或其他在线资源,可能会有其他人遇到类似问题并解决的方法。

标签:...,whether,scenelib,VW,yeschecking,compiler,安装,出错
From: https://www.cnblogs.com/dituirenwu/p/17064349.html

相关文章

  • 使用 U盘安装ubuntu linux全过程
     001、准备一个大于8G的U盘 002、打开ultraiso官网  003、双击下载好的安装包  004、点击是  005、点击我接受协议   006、点击下一步......
  • 国内环境的scoop 安装
    Powershell7安装的,普通用户和管理员安装路径不同,普通用户是默认安装在自己的路径下的,我的是win10用户目录Lenovo下。可以用来安装一些linux或者mac下好的应用,比如helix,直......
  • nginx安装
     什么是nginx?    Nginx (enginex)是一个高性能的HTTP和反向代理web服务器,Nginx是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,在BS......
  • manjaro安装后配置与美化
    换源sudopacman-mirrors-i-cChina-mrank更新更新系统sudopacman-Syyu安装yaypacman-syay输入法:安装yay-Sfcitx-imfcitx-configtoolfcitx-sogoupin......
  • 记录一下我安装ubuntu server的几个要点
       今天安装了一下ubuntuserver22.04,记录一下过程中的几个要点,以备下次折腾:1.虚拟硬件配置2.镜像地址3.自定义磁盘分区4.桌面系统1.虚拟硬件配置   内存......
  • Ubuntu22.04 安装 ssh
    目录Ubuntu22.04安装ssh一、环境配置二、启动远程连接三、开放端口四、远程连接Ubuntu22.04安装ssh一、环境配置安装Ubuntu系统后,我们首先需要配置管理员ro......
  • Python——01.环境及安装
    Python介绍--Python是解释型,面向对象的语言,程序结构简洁,清晰--Python解释器分类:CPython(官方解释器):用C语言编写的Python解释器PyPy:用Python语言编写的Python......
  • vue2 router 安装
    报错PSE:\ES6\vue2\vue_2\demo>npminstallvue-router@4npmERR!codeERESOLVEnpmERR!ERESOLVEunabletoresolvedependencytreenpmERR!npmERR!Found:v......
  • Ubuntu 安装 Anaconda
    下载anaconda官网https://repo.anaconda.com/archive/国内镜像https://mirrors.bfsu.edu.cn/anaconda/archive/https://mirrors.xjtu.edu.cn/anaconda/archive/htt......
  • ubuntu 中 如何查看是否安装了ssh服务
     001、sudops-e|grepssh           ##如下界面提示没有安装  002、sudoservicesshstatus##查看ssh服务......