woreom commented on issue #18471:
URL:
https://github.com/apache/incubator-mxnet/issues/18471#issuecomment-640045172
Okay I finally found out what was wrong I use the command:
`cmake -DUSE_SSE=OFF -DUSE_CUDA=OFF -DUSE_OPENCV=ON -DUSE_OPENMP=ON
-DUSE_MKL_IF_AVAILABLE=OFF -DUSE_SIGNAL_HANDLER=ON -DUSE_LAPACK=OFF
-DUSE_F16C=0 -DCMAKE_BUILD_TYPE=Release -GNinja ..`
I add `-DUSE_LAPACK=OFF -DUSE_F16C=0` because I encounter:
```
USE_LAPACK is ON
CMake Error at CMakeLists.txt:462 (add_subdirectory):
add_subdirectory given source
"/mnt/USB/.mxnet/mxnet/3rdparty/googletest/googletest" which is not an
existing directory.
-- Found GTest: gtest
-- Determining F16C support
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Failed
CPU does not support F16C instructions
-- Found Python3: /home/pi/.virtualenvs/py3/bin/python3.7 (found version
"3.7.3") found components: Interpreter
```
but even after that I still get :
```
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR armv7l
-- CMAKE_SYSTEM_PROCESSOR armv7l
-- CMAKE_SYSTEM_NAME Linux
-- CMake version '3.13.4' using generator 'Ninja'
-- Found OpenBLAS libraries: /usr/lib/arm-linux-gnueabihf/libopenblas.so
-- Found OpenBLAS include: /usr/include/arm-linux-gnueabihf
-- Found OpenCV: /usr/local (found version "4.0.0") found components: core
highgui imgproc imgcodecs
-- OpenCV 4.0.0 found (/usr/local/lib/cmake/opencv4)
-- OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
CMake Error at CMakeLists.txt:462 (add_subdirectory):
add_subdirectory given source
"/mnt/USB/.mxnet/mxnet/3rdparty/googletest/googletest" which is not an
existing directory.
-- Found GTest: gtest
-- Found Python3: /home/pi/.virtualenvs/py3/bin/python3.7 (found version
"3.7.3") found components: Interpreter
-- Configuring incomplete, errors occurred!
See also "/mnt/USB/.mxnet/mxnet/build/CMakeFiles/CMakeOutput.log".
```
what version of python did you use to build?
----------------------------------------------------------------
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]