You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/02 19:59:33 UTC

[GitHub] [incubator-mxnet] ekdnam edited a comment on issue #19048: [BUG] config for windows?

ekdnam edited a comment on issue #19048:
URL: https://github.com/apache/incubator-mxnet/issues/19048#issuecomment-685961806


   I cloned the repo once again, followed the entire procedure of building from start to end, and now atleast the project has been built! Thanks! 
   
   But sorry, the installation problems are still going on. :( In the next step, for installing mxnet for python, the following errors occured:
   
   ```
   (base) C:\Users\adeet\git-desktop\incubator-mxnet>pip install --user -e ./python
   Obtaining file:///C:/Users/adeet/git-desktop/incubator-mxnet/python
       ERROR: Command errored out with exit status 1:
        command: 'C:\Users\adeet\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\adeet\\git-desktop\\incubator-mxnet\\python\\setup.py'"'"'; __file__='"'"'C:\\Users\\adeet\\git-desktop\\incubator-mxnet\\python\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\adeet\AppData\Local\Temp\pip-pip-egg-info-ehf1rqbh'
            cwd: C:\Users\adeet\git-desktop\incubator-mxnet\python\
       Complete output (14 lines):
       Traceback (most recent call last):
         File "<string>", line 1, in <module>
         File "C:\Users\adeet\git-desktop\incubator-mxnet\python\setup.py", line 47, in <module>
           LIB_PATH = libinfo['find_lib_path']()
         File "C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet/libinfo.py", line 72, in find_lib_path
           raise RuntimeError('Cannot find the MXNet library.\n' +
       RuntimeError: Cannot find the MXNet library.
       List of candidates:
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\libmxnet.dll
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\../../lib/libmxnet.dll
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\../../build/libmxnet.dll
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\../../build\libmxnet.dll
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\../../build\Release\libmxnet.dll
       C:\Users\adeet\git-desktop\incubator-mxnet\python\mxnet\../../windows/x64\Release\libmxnet.dll
       ----------------------------------------
   ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
   
   ```
   
   The output from the build is below:
   
   ```
   (base) C:\Users\adeet\git-desktop\incubator-mxnet\build>cmake ..
   -- Building for: Visual Studio 16 2019
   -- The C compiler identification is MSVC 19.27.29111.0
   -- The CXX compiler identification is MSVC 19.27.29111.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR AMD64
   -- CMAKE_SYSTEM_PROCESSOR AMD64
   -- CMAKE_SYSTEM_NAME Windows
   -- CMake version '3.18.2' using generator 'Visual Studio 16 2019'
   -- The ASM_MASM compiler identification is MSVC
   -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/ml64.exe
   -- CMAKE_BUILD_TYPE is unset, defaulting to Release
   -- Intel MKL-DNN compat: set DNNL_BUILD_EXAMPLES to MKLDNN_BUILD_EXAMPLES with value `OFF`
   -- Intel MKL-DNN compat: set DNNL_BUILD_TESTS to MKLDNN_BUILD_TESTS with value `OFF`
   -- Intel MKL-DNN compat: set DNNL_ENABLE_JIT_PROFILING to MKLDNN_ENABLE_JIT_PROFILING with value `OFF`
   -- Intel MKL-DNN compat: set DNNL_LIBRARY_TYPE to MKLDNN_LIBRARY_TYPE with value `STATIC`
   -- Intel MKL-DNN compat: set DNNL_ARCH_OPT_FLAGS to MKLDNN_ARCH_OPT_FLAGS with value ``
   -- Looking for pthread.h
   -- Looking for pthread.h - not found
   -- Found Threads: TRUE
   -- Found OpenMP_C: -openmp (found version "2.0")
   -- Found OpenMP_CXX: -openmp (found version "2.0")
   -- Found OpenMP: TRUE (found version "2.0")
   -- GPU support is disabled
   -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
   -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.28.0.windows.1")
   -- Intel(R) VTune(TM) Amplifier JIT profiling disabled
   -- OpenCV ARCH: x64
   -- OpenCV RUNTIME: vc15
   -- OpenCV STATIC: OFF
   -- Found OpenCV: C:/tools/opencv/build (found version "4.1.2") found components: core highgui imgproc imgcodecs
   -- Found OpenCV 4.1.2 in C:/tools/opencv/build/x64/vc15/lib
   -- You might need to add C:\tools\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
   -- OpenCV 4.1.2 found (C:/tools/opencv/build/x64/vc15/lib)
   --  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
   USE_LAPACK is ON
   CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
     VERSION keyword not followed by a value or was followed by a value that
     expanded to nothing.
   
   
   -- Found PythonInterp: C:/Users/adeet/anaconda3/python.exe (found version "3.8.3")
   -- Found GTest: gtest
   -- Looking for clock_gettime in rt
   -- Looking for clock_gettime in rt - not found
   -- Looking for fopen64
   -- Looking for fopen64 - not found
   -- Looking for C++ include cxxabi.h
   -- Looking for C++ include cxxabi.h - not found
   -- Looking for nanosleep
   -- Looking for nanosleep - not found
   -- Looking for backtrace
   -- Looking for backtrace - not found
   -- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
   -- Check if the system is big endian
   -- Searching 16 bit integer
   -- Looking for sys/types.h
   -- Looking for sys/types.h - found
   -- Looking for stdint.h
   -- Looking for stdint.h - found
   -- Looking for stddef.h
   -- Looking for stddef.h - found
   -- Check size of unsigned short
   -- Check size of unsigned short - done
   -- Searching 16 bit integer - Using unsigned short
   -- Check if the system is big endian - little endian
   -- C:/Users/adeet/git-desktop/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in -> include/dmlc/build_config.h
   -- Found Python3: C:/Users/adeet/anaconda3/python.exe (found version "3.8.3") found components: Interpreter
   -- Google Test not found
   -- Configuring done
   -- Generating done
   -- Build files have been written to: C:/Users/adeet/git-desktop/incubator-mxnet/build
   ```
   
   What am I doing wrong?


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org