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 2019/10/14 06:46:26 UTC
[GitHub] [incubator-mxnet] EasitMickly commented on issue #15908: mxnet
fails to compile: onnx_pb.h: No such file or directory
EasitMickly commented on issue #15908: mxnet fails to compile: onnx_pb.h: No such file or directory
URL: https://github.com/apache/incubator-mxnet/issues/15908#issuecomment-541521611
> mxnet fails to compile: onnx_pb.h: No such file or directory
> I'm building within a dockerfile shown below:
> FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
>
> RUN apt-get update && apt-get install -y wget
>
> # download mxnet
> ARG MXNET_VERSION=1.5.0
> ARG MXNET_DIR=apache-mxnet-src-${MXNET_VERSION}-incubating
> RUN wget https://github.com/apache/incubator-mxnet/releases/download/${MXNET_VERSION}/${MXNET_DIR}.tar.gz && tar -xzf ${MXNET_DIR}.tar.gz
>
> # compile mxnet
> RUN apt-get install -y wget cmake libopenblas-dev liblapack-dev libnvinfer5 libnvinfer-dev
> RUN cd /${MXNET_DIR} && make -j $(nproc) \
> USE_OPENCV=0 \
> USE_BLAS=openblas \
> USE_CUDA=1 \
> USE_CUDA_PATH=/usr/local/cuda \
> USE_CUDNN=1 \
> USE_TENSORRT=1
>
>
> Error message:
> make: *** [build/src/operator/subgraph/tensorrt/nnvm_to_onnx.o] Error 1
> In file included from src/operator/subgraph/tensorrt/./tensorrt-inl.h:39:0,
> from src/operator/subgraph/tensorrt/tensorrt.cc:29:
> src/operator/subgraph/tensorrt/./nnvm_to_onnx-inl.h:34:10: fatal error: onnx/onnx_pb.h: No such file or directory
> #include <onnx/onnx_pb.h>
> ^~~~~~~~~~~~~~~~
> compilation terminated.
hi, have you solved this problem. I have the some problem. so I want to ask you. Thank you.
----------------------------------------------------------------
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