We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
You probably missed a ";" while fixing the issue mentioned in #11
int buflen;
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: