Turn off the example, still the same errors. But at the end I found a way to make it work, the problem is I missed the dll “libgfortran-3.dll”, you can download it from the openBLAS link introduce in the install tutorial page of mxnet. After I download OpenBLAS-v0.2.14-Win64-int64.zip and mingw64_dll.zip, put following dll in the path register in the PATH of win10, op.h is generated.
libgcc_s_seh-1.dll //not sure this one is needed or not
libquadmath-0.dll //not sure this one is needed or not
The examples of the cpp_package can’t build since it need static lib of mxnet, but the default settings of the cmake do not build as static lib.
Hope this post could help another people. Thanks for your link of gluoncv too, I need the example of using c++ api to do the inference tasks.