You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/10/05 06:58:24 UTC

[GitHub] Bumblebee1964 opened a new issue #8155: Error when compiling MXNet from source with VS2013 / Windows 10

Bumblebee1964 opened a new issue #8155: Error when compiling MXNet from source with VS2013 / Windows 10
URL: https://github.com/apache/incubator-mxnet/issues/8155
 
 
   For bugs or installation issues, please provide the following information.
   The more information you provide, the more likely people will be able to help you.
   
   ## Environment info
   Operating System: Windows 10
   
   Compiler: VS2013 Professional
   
   Package used (Python/R/Scala/Julia):
   
   MXNet version: 0.11
   
   Or if installed from source: Cloned on October 4th 2017
   
   MXNet commit hash (`git rev-parse HEAD`):
   
   If you are using python package, please provide
   
   Python version and distribution:
   
   If you are using R package, please provide
   
   R `sessionInfo()`:
   
   ## Error Message:
   Error	277	error C2668: 'mshadow::cuda::AddTakeGrad' : ambiguous call to overloaded function	c:\projects\mxnet-0.11\base\src\operator\tensor\indexing_op.h	304	1	mxnet
   
   
   ## Minimum reproducible example
   if you are using your own code, please provide a short script that reproduces the error.
   
   Generated CMake script:
   # Install script for directory: C:/Projects/MxNet-0.11/Base
   
   # Set the install prefix
   if(NOT DEFINED CMAKE_INSTALL_PREFIX)
     set(CMAKE_INSTALL_PREFIX "C:/Program Files/mxnet")
   endif()
   string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
   
   # Set the install configuration name.
   if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
     if(BUILD_TYPE)
       string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
              CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
     else()
       set(CMAKE_INSTALL_CONFIG_NAME "Release")
     endif()
     message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
   endif()
   
   # Set the component getting installed.
   if(NOT CMAKE_INSTALL_COMPONENT)
     if(COMPONENT)
       message(STATUS "Install component: \"${COMPONENT}\"")
       set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
     else()
       set(CMAKE_INSTALL_COMPONENT)
     endif()
   endif()
   
   if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
     if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY OPTIONAL FILES "C:/Projects/MxNet-0.11/Base/build/Debug/libmxnet.lib")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY OPTIONAL FILES "C:/Projects/MxNet-0.11/Base/build/Release/libmxnet.lib")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY OPTIONAL FILES "C:/Projects/MxNet-0.11/Base/build/MinSizeRel/libmxnet.lib")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY OPTIONAL FILES "C:/Projects/MxNet-0.11/Base/build/RelWithDebInfo/libmxnet.lib")
     endif()
   endif()
   
   if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
     if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE SHARED_LIBRARY FILES "C:/Projects/MxNet-0.11/Base/build/Debug/libmxnet.dll")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE SHARED_LIBRARY FILES "C:/Projects/MxNet-0.11/Base/build/Release/libmxnet.dll")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE SHARED_LIBRARY FILES "C:/Projects/MxNet-0.11/Base/build/MinSizeRel/libmxnet.dll")
     elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
       file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE SHARED_LIBRARY FILES "C:/Projects/MxNet-0.11/Base/build/RelWithDebInfo/libmxnet.dll")
     endif()
   endif()
   
   if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
     file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "C:/Projects/MxNet-0.11/Base/include/")
   endif()
   
   if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
     file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mxnet" TYPE DIRECTORY FILES "C:/Projects/MxNet-0.11/Base/example")
   endif()
   
   if(NOT CMAKE_INSTALL_LOCAL_ONLY)
     # Include the install script for each subdirectory.
     include("C:/Projects/MxNet-0.11/Base/build/dmlc-core/cmake_install.cmake")
     include("C:/Projects/MxNet-0.11/Base/build/mshadow/cmake_install.cmake")
     include("C:/Projects/MxNet-0.11/Base/build/tests/cmake_install.cmake")
     include("C:/Projects/MxNet-0.11/Base/build/cpp-package/cmake_install.cmake")
   
   endif()
   
   if(CMAKE_INSTALL_COMPONENT)
     set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
   else()
     set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
   endif()
   
   string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
          "${CMAKE_INSTALL_MANIFEST_FILES}")
   file(WRITE "C:/Projects/MxNet-0.11/Base/build/${CMAKE_INSTALL_MANIFEST}"
        "${CMAKE_INSTALL_MANIFEST_CONTENT}")
   
   
   
   ## Steps to reproduce
   or if you are running standard examples, please provide the commands you have run that lead to the error.
   
   1.
   2.
   3.
   
   ## What have you tried to solve it?
   
   1. Tried to compile with VS2017 Professional. Got same error message
   2.
   3.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services