YOLOv3 + Tensorrt on Windows engine file error

I am facing a crash in running the YOLOv3 model in WIndows platform by using Yolo TRT plugin snippets which was available in earlier DeepStream sdk commits in github.
The Yolo model weights are getting read and engine file is created but on loading the engine file, I am facing this error and hence the crash:

“ERROR: The engine plan file is not compatible with this version of TensorRT, expecting library version 5.1.2 got 0.0.0, please rebuild.”

For the identical version of Tensorrt, Cuda and Cudnn, it’s running smoothly in Linux.

OS: Windows 10 Pro
CUDA version: 10.0
CUDNN version: 7.5
Tensorrt Version:
NVIDIA driver version: 431.86.

Engine files are specific to the target GPU. Ensure the same OS + version of TensorRT + target GPU when building and running the engine.