You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/03/18 09:40:49 UTC

[GitHub] [incubator-mxnet] shimiaoli opened a new issue #17867: Error C1002 encountered while building under windows

shimiaoli opened a new issue #17867: Error C1002 encountered while building under windows
URL: https://github.com/apache/incubator-mxnet/issues/17867
 
 
   ## Description
   While I am trying to build mxnet CPU version in windows using VS 2015 Release x64, I encounter the following error:
   
   ### Error Message
   6>d:\face_4.0\mxnet\incubator-mxnet-master\src\operator\mxnet_op.h(941): fatal error C1002: compiler is out of heap space in pass 2
   6>d:\face_4.0\mxnet\incubator-mxnet-master\3rdparty\mshadow\mshadow\half.h(292): fatal error C1002: compiler is out of heap space in pass 2
   6>d:\face_4.0\mxnet\incubator-mxnet-master\src\operator\mxnet_op.h(654): fatal error C1002: compiler is out of heap space in pass 2
   6>d:\face_4.0\mxnet\incubator-mxnet-master\src\operator\mxnet_op.h(941): fatal error C1002: compiler is out of heap space in pass 2
   
   Please help . Thank you.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] shimiaoli commented on issue #17867: Error C1002 encountered while building under windows

Posted by GitBox <gi...@apache.org>.
shimiaoli commented on issue #17867: Error C1002 encountered while building under windows
URL: https://github.com/apache/incubator-mxnet/issues/17867#issuecomment-603609036
 
 
   @yajiedesign 
   Thank you. Yes. After changed to x64 native compiler, libmxnet.dll can be built.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] yajiedesign commented on issue #17867: Error C1002 encountered while building under windows

Posted by GitBox <gi...@apache.org>.
yajiedesign commented on issue #17867: Error C1002 encountered while building under windows
URL: https://github.com/apache/incubator-mxnet/issues/17867#issuecomment-602320746
 
 
   please use msvc hostx64. add -T host=x64 to cmake cmd or set it in gui.
    

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] shimiaoli removed a comment on issue #17867: Error C1002 encountered while building under windows

Posted by GitBox <gi...@apache.org>.
shimiaoli removed a comment on issue #17867: Error C1002 encountered while building under windows
URL: https://github.com/apache/incubator-mxnet/issues/17867#issuecomment-603608489
 
 
   @yajiedesign 
   Thank you.  I found that VS Express 2015 does not have native x64 compiler. After I changed to VS Community 2015 and used the setting -T host=x64, libmxnet.dll can be built.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] shimiaoli commented on issue #17867: Error C1002 encountered while building under windows

Posted by GitBox <gi...@apache.org>.
shimiaoli commented on issue #17867: Error C1002 encountered while building under windows
URL: https://github.com/apache/incubator-mxnet/issues/17867#issuecomment-603608489
 
 
   @yajiedesign 
   Thank you.  I found that VS Express 2015 does not have native x64 compiler. After I changed to VS Community 2015 and used the setting -T host=x64, libmxnet.dll can be built.

----------------------------------------------------------------
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


With regards,
Apache Git Services