yuxng / PoseCNN

A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes
https://rse-lab.cs.washington.edu/projects/posecnn/
MIT License
746 stars 242 forks source link

error: use of deleted function ‘pangolin::GlBuffer::GlBuffer(const pangolin::GlBuffer&)’ #77

Closed Abdul-Mukit closed 5 years ago

Abdul-Mukit commented 5 years ago

I got this error while trying to build "synthesize". I don't know how to fix it. Does anyone know how to fix it?

This was error message: /PoseCNN/lib/synthesize/synthesize.hpp:250:70: required from here /usr/include/c++/5/bits/stl_construct.h:75:7: error: use of deleted function ‘pangolin::GlBuffer::GlBuffer(const pangolin::GlBuffer&)’ { ::new(static_cast<void*>(p)) _T1(std::forward<_Args>(args)...); }

The last thing I did before this one was to comment the "private" in gl.h as suggested in #22 . I am not sure whether this is related to that. I am just a beginner, so a bit detailed answer would be very helpful. Thank you.

Update: I reinstalled pangolin but this time I installed the commit the owner originally used. (c2a6ef524401945b493f14f8b5b8aa76cc7d71a9)
This problem didn't appear anymore. but I got some two problems like in #22 . I commented the "private" declarations and it solved my problems.