Ewenwan / MVision

机器人视觉 移动机器人 VS-SLAM ORB-SLAM2 深度学习目标检测 yolov3 行为检测 opencv PCL 机器学习 无人驾驶

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stereo file has problems

kfchandsome opened this issue · comments

make生成出现问题,问题是在vtkAtomic.h文件中报错: “detail” 不明确
原文位置在528行开始:
template <> class vtkAtomic<void*>
{
private:
typedef detail::AtomicOps<sizeof(void*)> Impl;

public:
vtkAtomic() : Atomic(0)
{
}

vtkAtomic(void* val)
: Atomic(reinterpret_castImpl::value_type(val))
{
}

vtkAtomic(const vtkAtomic<void*> &atomic)
: Atomic(reinterpret_castImpl::value_type(atomic.load()))
{
}

operator void*() const
{
return reinterpret_cast<void*>(Impl::Load(&this->Atomic));
}

void* operator=(void* val)
{
Impl::Store(&this->Atomic,
reinterpret_castImpl::value_type(val));
return val;
}

vtkAtomic<void*>& operator=(const vtkAtomic<void*> &atomic)
{
this->store(atomic.load());
return *this;
}

void* load() const
{
return reinterpret_cast<void*>(Impl::Load(&this->Atomic));
}

void store(void* val)
{
Impl::Store(&this->Atomic,
reinterpret_castImpl::value_type(val));
}

private:
Impl::atomic_type Atomic;
};

想请问是什么原因造成?