chhokrad opened a new issue #15771: Cross Compile MXNET for RPI 4 with opencv, openmp and DIST_KVSTORE enabled failed URL: https://github.com/apache/incubator-mxnet/issues/15771 ## Description Need instructions to cross compile mxnet for raspberry pi using docker with opencv, openmp and DIST_KVSTORE enabled. I tried changing build_armv7() function to reflect my options but got the following error. ## Environment info (Required) Distributor ID: Ubuntu (Virtual Machine) Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial MXNET REPO: git clone https://github.com/apache/incubator-mxnet.git --branch v1.4.x --recursive Package used (Python/R/Scala/Julia): Python ## Build info (Required if built from source) Compiler (gcc/clang/mingw/visual studio): gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 MXNet commit hash: e368ea24895b92f7e6b43fc0a51b3b0131193f12 ## Error Message: CMake Warning at CMakeLists.txt:376 (find_package): By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by “OpenCV”, but CMake did not find one. Could not find a package configuration file provided by “OpenCV” with any of the following names: OpenCVConfig.cmake opencv-config.cmake Add the installation prefix of “OpenCV” to CMAKE_PREFIX_PATH or set “OpenCV_DIR” to a directory containing one of the above files. If “OpenCV” provides a separate development package or SDK, be sure it has been installed. CMake Error at CMakeLists.txt:379 (find_package): By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by “OpenCV”, but CMake did not find one. Could not find a package configuration file provided by “OpenCV” with any of the following names: OpenCVConfig.cmake opencv-config.cmake Add the installation prefix of “OpenCV” to CMAKE_PREFIX_PATH or set “OpenCV_DIR” to a directory containing one of the above files. If “OpenCV” provides a separate development package or SDK, be sure it has been installed. ## Minimum reproducible example Changed build_armv7() function in runtime_function.sh as follows: ``` build_android_armv7() { set -ex cd /work/build cmake \ -DANDROID=ON\ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DUSE_CUDA=OFF\ -DUSE_DIST_KVSTORE=ON\ -DUSE_SSE=OFF\ -DSUPPORT_F16C=OFF\ -DUSE_LAPACK=OFF\ -DUSE_OPENCV=ON\ -DUSE_OPENMP=ON\ -DUSE_SIGNAL_HANDLER=ON\ -DCMAKE_BUILD_TYPE=RelWithDebInfo\ -DUSE_MKL_IF_AVAILABLE=OFF\ -G Ninja /work/mxnet ninja -v } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
