Can you recommend manual to convert deploy.prototxt into tensorrt format?

I made the tensorrt code to execute the code.
But I met some error for parsing.

I read the deploy.prototxt and model file.
But It cannot read this files.

run code
const IBlobNameToTensor* blobNameToTensor = parser->parse(deployFile.c_str(),
modelFile.c_str(),
*network,
DataType::kFLOAT);

error message
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format ditcaffe.NetParameter: 469:1: Expected identifier, got: }

What is this error?

Maybe I think deploy.prototxt format is wrong.
Can you recommend manual to convert deploy.prototxt into tensorrt format?

Googling similar error messages it sounds like there might be a typo in the prototext at line 469. Any chance this is the problem?