See this tutorial on TX2.
Tips:
- Modify Makefile:
- specify path of include and library of ros-opencv
export PKG_CONFIG_PATH=/opt/ros/kinetic/lib/pkgconfig:$PKG_CONFIG_PATH
sudo timedatectl set-ntp 0 | |
sudo timedatectl set-time "2017-07-28 09:19:40" | |
sudo timedatectl set-timezone Asia/Tokyo |
See this tutorial on TX2.
Tips:
export PKG_CONFIG_PATH=/opt/ros/kinetic/lib/pkgconfig:$PKG_CONFIG_PATH
# download opencv 3.3.1
# https://codeload.github.com/opencv/opencv/zip/3.3.1
unzip opencv-3.3.1.zip
cd opencv-3.3.1
mkdir build
cd build
#chromebrew directories | |
OWNER="skycocker" | |
REPO="chromebrew" | |
BRANCH="master" | |
URL="https://raw.githubusercontent.com/$OWNER/$REPO/$BRANCH" | |
CREW_PREFIX=${CREW_PREFIX:-/usr/local} | |
CREW_LIB_PATH=$CREW_PREFIX/lib/crew/ | |
CREW_CONFIG_PATH=$CREW_PREFIX/etc/crew/ | |
CREW_BREW_DIR=$CREW_PREFIX/tmp/crew/ | |
CREW_DEST_DIR=$CREW_BREW_DIR/dest |
Xcode 8.3.2
for Command Line Tools in Xcode. (Or use xcode-select
)$ https://github.com/apache/incubator-mxnet.git --recursive
$ cd incubator-mxnet
$ sudo xcode-select --switch /Library/Developer/CommandLineTools/
$ clang --version
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin17.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
bazel build \
--config=opt //tensorflow/tools/pip_package:build_pip_package \
--incompatible_remove_native_http_archive=false \
--incompatible_package_name_is_a_function=false \
--local_resources 4096,4.0,4.0 \
--cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
--define=grpc_no_ares=true
{"lastUpload":"2019-04-13T11:49:50.646Z","extensionVersion":"v3.2.8"} |
See this tutorial first.
During the installation, two other problems encountered:
luajit: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory