mx-maskrcnn
mx-maskrcnn copied to clipboard
mxnet compile error "fatal error: ../mshadow_op.h"
I git clone this repo and compile mxnet. then it raise some error like this
In file included from src/operator/roi_align_v1.cc:7:0:
src/operator/./roi_align_v1-inl.h:12:27: fatal error: ../mshadow_op.h: 没有那个文件或目录
#include "../mshadow_op.h"
^
compilation terminated.
Makefile:349: recipe for target 'build/src/operator/roi_align_v1.o' failed
make: *** [build/src/operator/roi_align_v1.o] Error 1
in the header file "roi_align-inl.h", the code is
#include <utility>
#include "./mshadow_op.h"
#include "./operator_common.h"
why the error shows #include "../mshadow_op.h"
?
And when I remove the 6 "roi_align***" file, mxnet is compiled succeed.
I also came across the same issue. How to solve it?
In file included from src/operator/roi_align_v1.cc:7:0: src/operator/./roi_align_v1-inl.h:12:27: fatal error: ../: No such file or directory
Where can I find this file: mshadow_op.h ? Please tell me if you can solve it.
如果解决了的话能说一下你的解决方法吗?
Try git clone $(this repo) —recursive
发自我的 iPhone
在 2018年3月2日,21:15,nigyiii <[email protected]mailto:[email protected]> 写道:
I also came across the same issue. How to solve it?
In file included from src/operator/roi_align_v1.cchttp://roi_align_v1.cc:7:0: src/operator/./roi_align_v1-inl.h:12:27: fatal error: ../: No such file or directory
Where can I find this file: mshadow_op.h ? Please tell me if you can solve it.
如果解决了的话能说一下你的解决方法吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/TuSimple/mx-maskrcnn/issues/123#issuecomment-369917865, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANB22qS_mt2f8jf4sGRDO7GxmzFYcgtTks5taUYAgaJpZM4SUef1.
@huangzehao it is a bug of including path, change it to #include "./mshadow_op.h" in roi_align_v1-inl.h, that's OK
@7oud Thank u! Yes, the path is wrong.
@7oud The author said, ROIAlign_v1 should lie within operator/contrib/ other than operator/