MccreeZhao opened a new issue #10543: Failed to compile from source when set 
USE_CPP_PACKAGE = 1, fatal error C1083: unabel to open file: “mxnet-cpp/op.h”: 
No such file or directory
   ## Description
   I 'm trying to compile mxnet from source code. However, when I set 
USE_CPP_PACKAGE=1, VS gives me 12 same errors showing below: 
   **\mxnet\cpp-package\example\..\include\mxnet-cpp/optimizer.hpp(37): fatal 
error C1083: unabel to open file: “mxnet-cpp/op.h”: No such file or 
   In the build tutorial, op.h should be generate dynamicaly while compiling. 
If there has other option besides USE_CPP_PACKAGE?
   If i set USE_CPP_PACKAGE=0, then the compile can be done succesfully. And it 
does generate libmxnet.dll. So I think the configuration of other dependent 
library is ok.
   And also, there is a warning when I generate .sln by cmake:
   **CMake Warning at tests/CMakeLists.txt:61 (message):
     Google Test not found**
   Belows are my setting in cmake:
   ## Environment info (Required)
   windows 10
   CMake 3.11.0 (gui)
   OpenCV 3.2
   ## Build info (Required if built from source)
   Compiler : visual studio 2015
   ## What have you tried to solve it?
   1. I have tried to paste an op.h file from other's project to my mxnet-cpp 
folder. But when I compile the code in VS2015, the error happens again and it 
delete the op.h which I put automatically.

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:

With regards,
Apache Git Services

Reply via email to