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 URL: https://github.com/apache/incubator-mxnet/issues/10543 ## 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 directory.** 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: ![1](https://user-images.githubusercontent.com/26180075/38744130-8f9b85ee-3f73-11e8-9113-3ff8bcd12dad.PNG) ![2](https://user-images.githubusercontent.com/26180075/38744139-939c356c-3f73-11e8-8c9f-da05f9bd738c.PNG) ## Environment info (Required) windows 10 VS2015 CMake 3.11.0 (gui) OpenCV 3.2 OpenBlas No CUDA No CuDNN ## 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: us...@infra.apache.org With regards, Apache Git Services