You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/16 19:22:04 UTC
[GitHub] dtmoodie opened a new issue #7493: cpp-package does not build with makefile build.
dtmoodie opened a new issue #7493: cpp-package does not build with makefile build.
URL: https://github.com/apache/incubator-mxnet/issues/7493
For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
## Environment info
Operating System:
Ubuntu 16.04
Compiler:
GCC 5.4
MXNet commit hash (`git rev-parse HEAD`):
75ee5976bc1a7ec24746d764b529d0ae8e6e9583
## Error Message:
Please paste the full error message, including stack trace.
cpp-package/example/mlp_cpu.cpp: In function 'mxnet::cpp::Symbol mlp(const std::vector<int>&)':
cpp-package/example/mlp_cpu.cpp:44:16: error: 'FullyConnected' was not declared in this scope
layers[i]);
^
cpp-package/example/mlp_cpu.cpp:45:61: error: 'ActivationActType' has not been declared
outputs[i] = i == layers.size()-1 ? fc : Activation(fc, ActivationActType::kRelu);
^
cpp-package/example/mlp_cpu.cpp:48:45: error: 'SoftmaxOutput' was not declared in this scope
return SoftmaxOutput(outputs.back(), label);
^
cpp-package/example/test_score.cpp: In function 'mxnet::cpp::Symbol mlp(const std::vector<int>&)':
cpp-package/example/test_score.cpp:44:16: error: 'FullyConnected' was not declared in this scope
layers[i]);
^
cpp-package/example/test_score.cpp:45:60: error: 'ActivationActType' has not been declared
outputs[i] = i == layers.size()-1? fc : Activation(fc, ActivationActType::kRelu);
^
cpp-package/example/test_score.cpp:48:45: error: 'SoftmaxOutput' was not declared in this scope
return SoftmaxOutput(outputs.back(), label);
^
cpp-package/example/mlp_gpu.cpp: In function 'mxnet::cpp::Symbol mlp(const std::vector<int>&)':
cpp-package/example/mlp_gpu.cpp:44:16: error: 'FullyConnected' was not declared in this scope
layers[i]);
^
cpp-package/example/mlp_gpu.cpp:45:61: error: 'ActivationActType' has not been declared
outputs[i] = i == layers.size()-1 ? fc : Activation(fc, ActivationActType::kRelu);
^
cpp-package/example/mlp_gpu.cpp:48:45: error: 'SoftmaxOutput' was not declared in this scope
return SoftmaxOutput(outputs.back(), label);
What I've tried:
Have not been building the cpp-package.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services