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/03/08 09:43:26 UTC

[GitHub] [incubator-mxnet] sleepwalker2017 opened a new issue #14369: mxnet compile error: with flag USE_TENSORRT

sleepwalker2017 opened a new issue #14369: mxnet compile error:  with flag USE_TENSORRT
URL: https://github.com/apache/incubator-mxnet/issues/14369
 
 
   make -j USE_CPP_PACKAGE=1 USE_TENSORRT
   
   here is the error list:
   
   src/executor/onnx_to_tensorrt.cc: In function ‘nvinfer1::ICudaEngine* onnx_to_tensorrt::onnxToTrtCtx(const string&, int32_t, size_t, nvinfer1::ILogger::Severity, bool)’:
   src/executor/onnx_to_tensorrt.cc:99:19: error: expected id-expression before ‘::’ token
      ::ONNX_NAMESPACE::ModelProto parsed_model;
                      ^
   src/executor/onnx_to_tensorrt.cc:102:8: error: ‘parsed_model’ was not declared in this scope
      if (!parsed_model.ParseFromString(onnx_model)) {
           ^
   src/executor/onnx_to_tensorrt.cc:111:27: error: expected id-expression before ‘::’ token
              ::ONNX_NAMESPACE::NodeProto const& node =
                              ^
   src/executor/onnx_to_tensorrt.cc:114:27: error: ‘node’ was not declared in this scope
                   << " [" << node.op_type();
   

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