monoslam,scenelib,spcaview

本文详细介绍了如何在Ubuntu 13.04上搭建Spcaview,并解决相关依赖问题,如scenelib的编译,遇到的vw34 Qt配置问题,以及Monoslam中USB相机的支持。同时,文章提到了移植Spcaview到Ubuntu上时的设备控制问题和V4L2 API的使用。
摘要由CSDN通过智能技术生成

scenelib 只支持1394 camera.不支持usb camera.

1394 camera主要用于工业相机.目前工业相机的常用接口有camera link, GigE, USB3.0, 1394等.  PoE  power over eth

编译scenelib的过程  源码和安装指导见http://www.doc.ic.ac.uk/~ajd/Scene/index.html

monoSlam研究。glow104和vw34,作为scenelib依赖库,需要首先安装。
遇到vw34安装问题。qt配置。修改configure.ac文件中qt选项为xno。重新./bootstrap ./configure即可。
ifdef _VWDEBUG
 exit is not a member of std   在VW/Image/imagebase.h中报错。方法是,添加#include<cstdlib>
 memcpy is not declared in this scope. 解决办法:修改<string>为<cstring>
'free' was not declared in this scope. 解决办法添加<cstdlib>
用VS的NMAKE构建,不会报错,但是用GNU MAKE构建,就会报错。GeomObjects/point3d.cpp:88: error: ‘VW::Point3D VW::operator+(const VW::Point3D&, const VW::Point3D&)’ should have been declared inside ‘VW’
解决办法:记得不仅class里面要有friend声明,namespace里面也要有声明
解决方法:for all these errors, all the friend functions must be added outside the class declaration like this:
解决:std::ostream operator<< should have been declared inside 'xxx'
各种问题总结:I cannot compile configure scritpt of VW34
安装libXext dev。发现已经安装过了。但是仍然报错missing。无奈只能修改./configure文件,添加libXext.a文件所在的目录到搜索目录范围内,解决此问题。
It properly needs a re-write the config files. http://ubuntuforums.org/showthread.php?t=1252423
double drand48(void);error: 'drand48' was not declared in this scope  解决办法:添加cstdlib库
typeid 使用前必须包含 <typeinfo>  按照错误提示添加。
找不到GL/glu.h头文件。搜索/usr/include目录,找到GL目录下面,确实没有glu.h头文件。转而安装libglu-dev库。
找不到GL/glut.h头文件。搜索/usr/include目录,找到GL目录下面,确实没有glut.h头文件。sudo apt-get install freeglut3-dev。

编译MonoSlamglow。arch -k  选项错误,需要删除。
-lVWFireware 找不到。
spacaview在ubuntu上的移植

Couldn't get videodevice capability   修改控制命令字, 参照v4l和v4l2的命令字对应表

http://blog.csdn.net/ecocn/article/details/8077028

用的v4l,调用ioctl(fd, VIDIOCGCAP , &vcap),程序出错,如下:

<div><span class="pun" style="color:#66660;">错误信息:</span><span class="pln" style="color:#000000;">V
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值