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 2021/02/08 19:42:28 UTC

[GitHub] [incubator-mxnet] jbensabat opened a new issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

jbensabat opened a new issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861


   Hello 
   I managed to build mxnet libs and also the op.h file using the python script 
   trying to compile the file mlp_cpu.cpp I get errors of undefined functions 
   
   C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(62,5): error C3861: 'MXExecutorForward': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(65,5): error C3861: 'MXExecutorOutputs': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(87,7): error C3861: 'MXExecutorBackward': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(89,7): error C3861: 'MXExecutorBackward': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(103,17): error C3861: 'MXExecutorFree': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(78,1): error C3861: 'MXExecutorBindEX': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(89,3): error C3861: 'MXExecutorOutputs': identifier not found
   1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(97,3): error C3861: 'MXExecutorPrint': identifier not found
   
   I searched for these funntions and they do not seem to exist in version 1.7.0 
   any help would be welcome
   best
   jac
   
   
   ## Description
   (A clear and concise description of what the bug is.)
   
   ### Error Message
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=100` before running your script.)
   
   ## To Reproduce
   (If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
   
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1.
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   
   ## Environment
   
   ***We recommend using our script for collecting the diagnostic information with the following command***
   `curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3`
   
   <details>
   <summary>Environment Information</summary>
   
   ```
   # Paste the diagnose.py command output here
   ```
   
   </details>
   


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


[GitHub] [incubator-mxnet] szha commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776079565


   @jbensabat before building, you can check out the branch v1.7.x. Which instruction did you follow for building mxnet?


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


[GitHub] [incubator-mxnet] jbensabat commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
jbensabat commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-775720700


   Hi 
   thanks for your answer 
   I downloaded it using git
   "git clone --recursive https://github.com/apache/incubator-mxnet mxnet"
   I am not sure it was version 1.7.0 
   I was suggested to use this mode of downloading instead of downloading the archive (it did not build with CMAKE)
   if this is the case how can I download version 1.7.0 in such a way that I can build ?
   best
   jac
   
   


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


[GitHub] [incubator-mxnet] szha commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776094974


   Those functions are removed from the master branch which is for development of the 2.0 version. If there's any issue in using v1.7.x version for building, I think you can check out v1.x version and build from there.


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


[GitHub] [incubator-mxnet] szha closed issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha closed issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861


   


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


[GitHub] [incubator-mxnet] jbensabat commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
jbensabat commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776102650


   I got that 
   the question is how do  clone using git command above a specific version ?
   best 
   jac
   


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


[GitHub] [incubator-mxnet] szha commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776110881


   `git clone --recursive https://github.com/apache/incubator-mxnet -b v1.x mxnet`


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


[GitHub] [incubator-mxnet] szha commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-775470359


   @jbensabat I think you might have mixed the use of v1.x and master branch. Could you make sure that you are building the library from the v1.x branch?


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


[GitHub] [incubator-mxnet] szha edited a comment on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
szha edited a comment on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776079565


   @jbensabat before building, you can check out the branch v1.7.x. Which instruction did you follow for building mxnet for cpp?


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


[GitHub] [incubator-mxnet] jbensabat commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
jbensabat commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776088935


    Hi
   I tried to download the zip file for version 1.7.x but was unable to build using cmake.
   then I was suggested to download using git 
   "git clone --recursive https://github.com/apache/incubator-mxnet mxnet"
   but then I do not know which version is installed.
   the library builds but not the cpp-package 
   I managed to create the op.h file but the functions mentioned above are missing 
   best
   jac
   
   


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


[GitHub] [incubator-mxnet] jbensabat commented on issue #19861: mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10

Posted by GitBox <gi...@apache.org>.
jbensabat commented on issue #19861:
URL: https://github.com/apache/incubator-mxnet/issues/19861#issuecomment-776112127


   thanks a lot
   jac
   


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