YoloV2NCS icon indicating copy to clipboard operation
YoloV2NCS copied to clipboard

Cant make on the raspberrypi

Open masterchop opened this issue 6 years ago • 1 comments

pi@raspberrypi:~/YoloV2NCS-1.0 $ make Compiling: src/PythonWrapper.cpp src/PythonWrapper.cpp: In member function ‘boost::python::list YoloDetector::Detect(boost::python::api::object, int, int, int, int, int, int, float, float, int)’: src/PythonWrapper.cpp:38:3: error: expected initializer before ‘bool’ bool isReadBuffer = !PyObject_AsReadBuffer(obj.ptr(), &buffer, &buflen); ^~~~ src/PythonWrapper.cpp:39:7: error: ‘isReadBuffer’ was not declared in this scope if(!isReadBuffer) ^~~~~~~~~~~~ src/PythonWrapper.cpp:25:29: warning: unused parameter ‘obj’ [-Wunused-parameter] bp::list Detect(bp::object obj, int c, int h, int w, ^~~ Makefile:35: recipe for target 'src/PythonWrapper.o' failed make: *** [src/PythonWrapper.o] Error 1

i am using raspbian with the NCSv1.12

masterchop avatar Jul 04 '18 08:07 masterchop

You probably missed a ";" while fixing the issue mentioned in #11

int buflen;

lbcastro avatar Jul 10 '18 10:07 lbcastro