You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/01/07 09:47:58 UTC

[GitHub] [incubator-mxnet] benz725 commented on issue #19731: Cannot compile the source code with the tensorrt flag(cmake -D USE_TENSORRT=1)

benz725 commented on issue #19731:
URL: https://github.com/apache/incubator-mxnet/issues/19731#issuecomment-756007736


   problem resolved!
   from the Reported message : Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR) 
   i install the protobuf ( sudo apt-get install libprotobuf-dev protobuf-compiler), then solved the problem.
   but when compile again , it reported another problem:
   CMake Error at CMakeLists.txt:242 (find_library):
     Could not find ONNX_LIBRARY using the following names: libonnx.so
   
   
   -- Configuring incomplete, errors occurred!
   See also "/home/yfzx/mxnet-src/apache-mxnet-src-1.7.0-incubating/build/CMakeFiles/CMakeOutput.log".
   See also "/home/yfzx/mxnet-src/apache-mxnet-src-1.7.0-incubating/build/CMakeFiles/CMakeError.log".
   ---------------------------------------------------
   i install the onnx follow the tensorrt official tutorial, untar the .tar file, then cd TensorRT-${version}/onnx_graphsurgeon
   pip3 install  onnx_graphsurgeon-0.2.6-py2.py3-none-any.whl
   i guess the onnx is not installed correctly, is that another way to install onnx?
   
   
   


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org