Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant make on the raspberrypi #22

Open
masterchop opened this issue Jul 4, 2018 · 1 comment
Open

Cant make on the raspberrypi #22

masterchop opened this issue Jul 4, 2018 · 1 comment

Comments

@masterchop
Copy link

masterchop commented Jul 4, 2018

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

@lbcastro
Copy link

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

int buflen;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants