Brandon Yeah, it would be great if you could send me a replacement unit. Can you also send me a tripod with it? By the way, if you happen to have a spare enclosure prototype that is not in use, I would love to receive one too. I'm willing to pay for the tripod, the enclosure, and the transportation fee.
I got an error when running python3 install_requirements.py
, i.e. Failed to build opencv-python
. Here are the last few lines of the error log
[443/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o
FAILED: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o
/opt/local/bin/c++ -DHAVE_PTHREAD=1 -I/private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/icv/include -I/private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/iw/include -isystem /private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/opencv/3rdparty/protobuf/src -isystem /private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/_skbuild/macosx-10.14-x86_64-3.9/cmake-build -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof -Wno-suggest-override -Wno-implicit-fallthrough -Wno-array-bounds -O3 -DNDEBUG -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -fPIC -std=c++11 -MD -MT 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o -MF 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o.d -o 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o -c /private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/opencv/3rdparty/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:90:0,
from /opt/local/include/gcc7/c++/cwchar:44,
from /opt/local/include/gcc7/c++/bits/postypes.h:40,
from /opt/local/include/gcc7/c++/iosfwd:40,
from /opt/local/include/gcc7/c++/ios:38,
from /opt/local/include/gcc7/c++/ostream:38,
from /opt/local/include/gcc7/c++/iostream:39,
from /private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/opencv/3rdparty/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:42:
/opt/local/lib/gcc7/gcc/x86_64-apple-darwin18/7.5.0/include-fixed/stdio.h:222:7: error: conflicting declaration of 'char* ctermid(char*)' with 'C' linkage
char *ctermid(char *);
^~~~~~~
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:525:0,
from /private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-install-_d12blhc/opencv-python_0ea44ee671014bde9e335d27d16ba66e/opencv/3rdparty/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:36:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h:26:10: note: previous declaration with 'C++' linkage
char *ctermid(char *);
^~~~~~~
[444/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o
[445/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o
[446/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o
[447/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o
[448/1092] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o
ninja: build stopped: subcommand failed.
File "/private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-build-env-92i_6n5_/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 593, in setup
cmkr.make(make_args, env=env)
File "/private/var/folders/m4/7my6q_kj6pxgzb1b7pxyhp0h0000gn/T/pip-build-env-92i_6n5_/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 504, in make
raise SKBuildError(
I guess there is some issue with my environment. Will try to figure that out later.