Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prassanna@CVC210:~/Development/workspace/opencv-ndarray-conversion$ make
- g++ -g -Wall -std=c++11 -I/usr/local/include $(pkg-config --cflags opencv) -I/opt/cuda/include $(pkg-config --cflags python2) \
- -fPIC -c examples.cpp
- In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1761:0,
- from /usr/include/python2.7/numpy/ndarrayobject.h:17,
- from conversion.h:8,
- from examples.cpp:5:
- /usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
- #warning "Using deprecated NumPy API, disable it by " \
- ^
- examples.cpp: In function ‘PyObject* mul(PyObject*, PyObject*)’:
- examples.cpp:57:10: warning: unused variable ‘r1’ [-Wunused-variable]
- auto r1 = leftMat.rows, c1 = leftMat.cols, r2 = rightMat.rows,
- ^
- examples.cpp:58:10: warning: unused variable ‘c2’ [-Wunused-variable]
- c2 = rightMat.cols;
- ^
- In file included from examples.cpp:5:0:
- conversion.h: At global scope:
- conversion.h:13:18: warning: ‘opencv_error’ defined but not used [-Wunused-variable]
- static PyObject* opencv_error = 0;
- ^
- conversion.h:15:12: warning: ‘int failmsg(const char*, ...)’ declared ‘static’ but never defined [-Wunused-function]
- static int failmsg(const char *fmt, ...);
- ^
- conversion.h:33:18: warning: ‘PyObject* failmsgp(const char*, ...)’ declared ‘static’ but never defined [-Wunused-function]
- static PyObject* failmsgp(const char *fmt, ...);
- ^
- g++ -g -Wall -std=c++11 -I/usr/local/include $(pkg-config --cflags opencv) -I/opt/cuda/include $(pkg-config --cflags python2) \
- -fPIC -c conversion.cpp
- In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1761:0,
- from /usr/include/python2.7/numpy/ndarrayobject.h:17,
- from conversion.h:8,
- from conversion.cpp:1:
- /usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
- #warning "Using deprecated NumPy API, disable it by " \
- ^
- In file included from conversion.cpp:1:0:
- conversion.h:13:18: warning: ‘opencv_error’ defined but not used [-Wunused-variable]
- static PyObject* opencv_error = 0;
- ^
- conversion.cpp:51:18: warning: ‘PyObject* failmsgp(const char*, ...)’ defined but not used [-Wunused-function]
- static PyObject* failmsgp(const char *fmt, ...)
- ^
- conversion.cpp:7:13: warning: ‘void init()’ defined but not used [-Wunused-function]
- static void init()
- ^
- g++ -shared -Wl,--export-dynamic -L/usr/local/lib \
- -L/opt/cuda/lib$(getconf LONG_BIT) $(pkg-config --libs opencv) -lboost_python $(pkg-config --libs python2) \
- examples.o conversion.o -o examples.so
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement