Compilation errors while running examples in cpp-package

While trying to run the examples listed in the cpp-package, I see some compilation errors. It looks like the cpp-package is outdated and doesn’t run out of the box anymore. Also, the example given at: https://mxnet.incubator.apache.org/tutorials/c++/basics.html seems to be outdated too, and requires updates.

Is anyone able to get the cpp-package running?

Thanks

I’m using cpp package (for a few months) and it works fine for me.
Some examples I’ve tried from mxnet/cpp-package/example/*.cpp also compile and run fine.

Yes, example from the link you’ve mentioned is outdated, indeed.
In particular, ‘Executor’ class does not contains ‘UpdateAll’ method anymore. You need to call ‘Update’ individually for all parameters (check for example mxnet/cpp-package/example/mlp_cpu.cpp).

Do you have other compilation issues? If yes, please send some specifics.

Eugene

Thanks for the reply @eugeneraush, got my compilation issues fixed. seems to be some environment setup issues.