You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/03/11 09:39:21 UTC
[GitHub] [incubator-mxnet] Alex-Ob opened a new issue #17813: Non-compiling
code
Alex-Ob opened a new issue #17813: Non-compiling code
URL: https://github.com/apache/incubator-mxnet/issues/17813
## Description
I can't compile whole package **region_tlr_mxnet** for **Autoware.ai** due to this error:
### Error Message
```
In file included from /home/alex/apache-mxnet-src-1.6.0-incubating/cpp-package/include/mxnet-cpp/MxNetCpp.h:35:0,
from /home/alexautoware.ai/src/autoware/core_perception/trafficlight_recognizer/nodes/region_tlr_mxnet/mxnet_traffic_light_recognizer.h:7,
from /home/alex/autoware.ai/src/autoware/core_perception/trafficlight_recognizer/nodes/region_tlr_mxnet/mxnet_traffic_light_recognizer.cpp:1:
/home/alex/apache-mxnet-src-1.6.0-incubating/cpp-package/include/mxnet-cpp/optimizer.hpp:37:26: fatal error: mxnet-cpp/op.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/region_tlr_mxnet.dir/nodes/region_tlr_mxnet/mxnet_traffic_light_recognizer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/alex/apache-mxnet-src-1.6.0-incubating/cpp-package/include/mxnet-cpp/MxNetCpp.h:35:0,
from /home/alex/autoware.ai/src/autoware/core_perception/trafficlight_recognizer/nodes/region_tlr_mxnet/mxnet_traffic_light_recognizer.h:7,
from /home/alex/autoware.ai/src/autoware/core_perception/trafficlight_recognizer/nodes/region_tlr_mxnet/region_tlr_mxnet.h:18,
from /home/alex/autoware.ai/src/autoware/core_perception/trafficlight_recognizer/nodes/region_tlr_mxnet/region_tlr_mxnet.cpp:9:
/home/alex/apache-mxnet-src-1.6.0-incubating/cpp-package/include/mxnet-cpp/optimizer.hpp:37:26: fatal error: mxnet-cpp/op.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/region_tlr_mxnet.dir/nodes/region_tlr_mxnet/region_tlr_mxnet.cpp.o] Error 1
make[1]: *** [CMakeFiles/region_tlr_mxnet.dir/all] Error 2
make: *** [all] Error 2
```
Really, the file ../cpp-package/include/mxnet-cpp/optimizer.hpp in the string 37 contains a directive
`#include "mxnet-cpp/op.h"`
, but that file is absent.
## To Reproduce
This error appears when Autoware's module **region_tlr_mxnet** is compiling.
### Steps to reproduce
Simply try to build region_tlr_mxnet for autoware.ai (it is assumed mxnet was already standalone built)
## Environment
Autoware 1.12, ROS Kinetic
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] Alex-Ob closed issue #17813: Non-compiling code
Posted by GitBox <gi...@apache.org>.
Alex-Ob closed issue #17813: Non-compiling code
URL: https://github.com/apache/incubator-mxnet/issues/17813
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] Alex-Ob edited a comment on issue #17813:
Non-compiling code
Posted by GitBox <gi...@apache.org>.
Alex-Ob edited a comment on issue #17813: Non-compiling code
URL: https://github.com/apache/incubator-mxnet/issues/17813#issuecomment-597574341
The problem was solved by commenting out two `#include "op.h"` directives( `operator.hpp:36` and `MxNetCpp.h:37`). Now it builds correctly.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] Alex-Ob commented on issue #17813: Non-compiling
code
Posted by GitBox <gi...@apache.org>.
Alex-Ob commented on issue #17813: Non-compiling code
URL: https://github.com/apache/incubator-mxnet/issues/17813#issuecomment-597574341
The problem was solved by commenting out two include directives( operator.hpp:36 and MxNetCpp.h:37). Now it builds correctly.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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