Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo pip3 install robotpy-cscore
- The directory '/home/nvidia/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- The directory '/home/nvidia/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
- Collecting robotpy-cscore
- Downloading robotpy-cscore-2017.0.2.tar.gz (205kB)
- 100% |████████████████████████████████| 215kB 2.4MB/s
- Requirement already satisfied: pynetworktables in /usr/local/lib/python3.5/dist-packages (from robotpy-cscore)
- Installing collected packages: robotpy-cscore
- Running setup.py install for robotpy-cscore ... error
- Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-snvzhczu/robotpy-cscore/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-q00w2kf0-record/install-record.txt --single-version-externally-managed --compile:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-aarch64-3.5
- creating build/lib.linux-aarch64-3.5/cscore
- copying cscore/cameraserver.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/_logging.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/__init__.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/version.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/grip.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/imagewriter.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/__main__.py -> build/lib.linux-aarch64-3.5/cscore
- copying cscore/_info.py -> build/lib.linux-aarch64-3.5/cscore
- running build_ext
- creating tmp
- aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c /tmp/tmp4a7th3hx.cpp -o tmp/tmp4a7th3hx.o -std=c++14
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c /tmp/tmp3exbd4pk.cpp -o tmp/tmp3exbd4pk.o -fvisibility=hidden
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- building 'cscore._cscore' extension
- creating build/temp.linux-aarch64-3.5
- creating build/temp.linux-aarch64-3.5/src
- creating build/temp.linux-aarch64-3.5/cscore_src
- creating build/temp.linux-aarch64-3.5/cscore_src/src
- creating build/temp.linux-aarch64-3.5/ntcore_src
- creating build/temp.linux-aarch64-3.5/ntcore_src/wpiutil
- creating build/temp.linux-aarch64-3.5/ntcore_src/wpiutil/src
- creating build/temp.linux-aarch64-3.5/ntcore_src/wpiutil/src/tcpsockets
- creating build/temp.linux-aarch64-3.5/ntcore_src/wpiutil/src/support
- creating build/temp.linux-aarch64-3.5/ntcore_src/wpiutil/src/llvm
- aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include/python3.5 -I/home/nvidia/.local/include/python3.5m -Icscore_src/include -Intcore_src/wpiutil/include -I/usr/local/lib/python3.5/dist-packages/numpy/core/include -I/usr/include/python3.5m -c src/_cscore.cpp -o build/temp.linux-aarch64-3.5/src/_cscore.o -DVERSION_INFO="2017.0.2" -s -g0 -std=c++14 -fvisibility=hidden
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include/python3.5 -I/home/nvidia/.local/include/python3.5m -Icscore_src/include -Intcore_src/wpiutil/include -I/usr/local/lib/python3.5/dist-packages/numpy/core/include -I/usr/include/python3.5m -c src/ndarray_converter.cpp -o build/temp.linux-aarch64-3.5/src/ndarray_converter.o -DVERSION_INFO="2017.0.2" -s -g0 -std=c++14 -fvisibility=hidden
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- src/ndarray_converter.cpp:92:5: error: ‘UMatData’ does not name a type
- UMatData* allocate(PyObject* o, int dims, const int* sizes, int type, size_t* step) const
- ^
- src/ndarray_converter.cpp:105:5: error: ‘UMatData’ does not name a type
- UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const
- ^
- src/ndarray_converter.cpp:134:19: error: ‘UMatData’ has not been declared
- bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
- ^
- src/ndarray_converter.cpp:134:49: error: ‘UMatUsageFlags’ has not been declared
- bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
- ^
- src/ndarray_converter.cpp:139:21: error: ‘UMatData’ has not been declared
- void deallocate(UMatData* u) const
- ^
- src/ndarray_converter.cpp: In constructor ‘NumpyAllocator::NumpyAllocator()’:
- src/ndarray_converter.cpp:89:39: error: ‘getStdAllocator’ is not a member of ‘cv::Mat’
- NumpyAllocator() { stdAllocator = Mat::getStdAllocator(); }
- ^
- src/ndarray_converter.cpp: In member function ‘bool NumpyAllocator::allocate(int*, int, int) const’:
- src/ndarray_converter.cpp:136:65: error: no matching function for call to ‘cv::MatAllocator::allocate(int*&, int&, int&) const’
- return stdAllocator->allocate(u, accessFlags, usageFlags);
- ^
- In file included from src/ndarray_converter.h:5:0,
- from src/ndarray_converter.cpp:4:
- /usr/include/opencv2/core/core.hpp:1495:18: note: candidate: virtual void cv::MatAllocator::allocate(int, const int*, int, int*&, uchar*&, uchar*&, size_t*)
- virtual void allocate(int dims, const int* sizes, int type, int*& refcount,
- ^
- /usr/include/opencv2/core/core.hpp:1495:18: note: candidate expects 7 arguments, 3 provided
- src/ndarray_converter.cpp: In member function ‘void NumpyAllocator::deallocate(int*) const’:
- src/ndarray_converter.cpp:144:22: error: request for member ‘urefcount’ in ‘* u’, which is of non-class type ‘int’
- CV_Assert(u->urefcount >= 0);
- ^
- src/ndarray_converter.cpp:145:22: error: request for member ‘refcount’ in ‘* u’, which is of non-class type ‘int’
- CV_Assert(u->refcount >= 0);
- ^
- src/ndarray_converter.cpp:146:15: error: request for member ‘refcount’ in ‘* u’, which is of non-class type ‘int’
- if(u->refcount == 0)
- ^
- src/ndarray_converter.cpp:148:41: error: request for member ‘userdata’ in ‘* u’, which is of non-class type ‘int’
- PyObject* o = (PyObject*)u->userdata;
- ^
- src/ndarray_converter.cpp: At global scope:
- src/ndarray_converter.cpp:157:16: error: cannot declare variable ‘g_numpyAllocator’ to be of abstract type ‘NumpyAllocator’
- NumpyAllocator g_numpyAllocator;
- ^
- src/ndarray_converter.cpp:86:7: note: because the following virtual functions are pure within ‘NumpyAllocator’:
- class NumpyAllocator : public MatAllocator
- ^
- In file included from src/ndarray_converter.h:5:0,
- from src/ndarray_converter.cpp:4:
- /usr/include/opencv2/core/core.hpp:1495:18: note: virtual void cv::MatAllocator::allocate(int, const int*, int, int*&, uchar*&, uchar*&, size_t*)
- virtual void allocate(int dims, const int* sizes, int type, int*& refcount,
- ^
- /usr/include/opencv2/core/core.hpp:1497:18: note: virtual void cv::MatAllocator::deallocate(int*, uchar*, uchar*)
- virtual void deallocate(int* refcount, uchar* datastart, uchar* data) = 0;
- ^
- src/ndarray_converter.cpp: In static member function ‘static bool NDArrayConverter::toMat(PyObject*, cv::Mat&)’:
- src/ndarray_converter.cpp:326:7: error: ‘class cv::Mat’ has no member named ‘u’
- m.u = g_numpyAllocator.allocate(o, ndims, size, type, step);
- ^
- src/ndarray_converter.cpp:326:63: error: no matching function for call to ‘NumpyAllocator::allocate(PyObject*&, int&, int [33], int&, size_t [33])’
- m.u = g_numpyAllocator.allocate(o, ndims, size, type, step);
- ^
- src/ndarray_converter.cpp:134:10: note: candidate: bool NumpyAllocator::allocate(int*, int, int) const
- bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
- ^
- src/ndarray_converter.cpp:134:10: note: candidate expects 3 arguments, 5 provided
- src/ndarray_converter.cpp: In static member function ‘static PyObject* NDArrayConverter::toNDArray(const cv::Mat&)’:
- src/ndarray_converter.cpp:343:12: error: ‘class cv::Mat’ has no member named ‘u’
- if(!p->u || p->allocator != &g_numpyAllocator)
- ^
- src/ndarray_converter.cpp:349:33: error: ‘class cv::Mat’ has no member named ‘u’
- PyObject* o = (PyObject*)p->u->userdata;
- ^
- error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-snvzhczu/robotpy-cscore/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-q00w2kf0-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-snvzhczu/robotpy-cscore/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement