Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. prassanna@CVC210:~/Development/workspace/opencv-ndarray-conversion$ make
  2.  
  3. g++ -g -Wall -std=c++11 -I/usr/local/include $(pkg-config --cflags opencv) -I/opt/cuda/include $(pkg-config --cflags python2) \
  4. -fPIC -c examples.cpp
  5. In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1761:0,
  6. from /usr/include/python2.7/numpy/ndarrayobject.h:17,
  7. from conversion.h:8,
  8. from examples.cpp:5:
  9. /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]
  10. #warning "Using deprecated NumPy API, disable it by " \
  11. ^
  12. examples.cpp: In function ‘PyObject* mul(PyObject*, PyObject*)’:
  13. examples.cpp:57:10: warning: unused variable ‘r1’ [-Wunused-variable]
  14. auto r1 = leftMat.rows, c1 = leftMat.cols, r2 = rightMat.rows,
  15. ^
  16. examples.cpp:58:10: warning: unused variable ‘c2’ [-Wunused-variable]
  17. c2 = rightMat.cols;
  18. ^
  19. In file included from examples.cpp:5:0:
  20. conversion.h: At global scope:
  21. conversion.h:13:18: warning: ‘opencv_error’ defined but not used [-Wunused-variable]
  22. static PyObject* opencv_error = 0;
  23. ^
  24. conversion.h:15:12: warning: ‘int failmsg(const char*, ...)’ declared ‘static’ but never defined [-Wunused-function]
  25. static int failmsg(const char *fmt, ...);
  26. ^
  27. conversion.h:33:18: warning: ‘PyObject* failmsgp(const char*, ...)’ declared ‘static’ but never defined [-Wunused-function]
  28. static PyObject* failmsgp(const char *fmt, ...);
  29. ^
  30. g++ -g -Wall -std=c++11 -I/usr/local/include $(pkg-config --cflags opencv) -I/opt/cuda/include $(pkg-config --cflags python2) \
  31. -fPIC -c conversion.cpp
  32. In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1761:0,
  33. from /usr/include/python2.7/numpy/ndarrayobject.h:17,
  34. from conversion.h:8,
  35. from conversion.cpp:1:
  36. /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]
  37. #warning "Using deprecated NumPy API, disable it by " \
  38. ^
  39. In file included from conversion.cpp:1:0:
  40. conversion.h:13:18: warning: ‘opencv_error’ defined but not used [-Wunused-variable]
  41. static PyObject* opencv_error = 0;
  42. ^
  43. conversion.cpp:51:18: warning: ‘PyObject* failmsgp(const char*, ...)’ defined but not used [-Wunused-function]
  44. static PyObject* failmsgp(const char *fmt, ...)
  45. ^
  46. conversion.cpp:7:13: warning: ‘void init()’ defined but not used [-Wunused-function]
  47. static void init()
  48. ^
  49. g++ -shared -Wl,--export-dynamic -L/usr/local/lib \
  50. -L/opt/cuda/lib$(getconf LONG_BIT) $(pkg-config --libs opencv) -lboost_python $(pkg-config --libs python2) \
  51. examples.o conversion.o -o examples.so
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement