Complier returning syntax error for nvocdr.h

I was working with NVIDIA-Optical-Character-Detection-and-Recognition-Solution. Trying to build a Qt application with my custom model. I built and ran the application locally using a make file. It works fine. But when I am trying to build with Qt the compiler in returning error. But the syntax looks correct to me.
Here is the error message:

/home/sigmind/Documents/LOCC2023_Vehicle/WC-Tegra-DS/nvocdrc.h:96: error: expected declaration before ‘}’ token
96 | }
| ^

####inplementation of nvocdr.h######
#ifndef NVOCDR_LIB
define NVOCDR_LIB
include <stdint.h>
define MAX_CHARACTER_LEN 64
define MAX_PLY_CNT 8
// The nvOCDR lib’s batch size at images level.
// Maximum 64 images can be feed to nvOCDR at once.
define MAX_BATCH_SIZE 64

ifdef __cplusplus
extern “C”
{
endif

typedef void* nvOCDRp;

enum nvOCDRStat
{
SUCCESS,
FAIL
};

enum Device
{
CPU,
GPU
};

enum DataFormat
{
NCHW,
NHWC
};

enum OCRNetDecode
{
CTC,
Attention
};

typedef struct
{
DataFormat input_data_format;
// OCDNetEngine param
char* ocdnet_trt_engine_path;
float ocdnet_binarize_threshold;
float ocdnet_polygon_threshold;
float ocdnet_unclip_ratio;
int ocdnet_max_candidate;
int32_t ocdnet_infer_input_shape[3];
// Rectifier param
bool upsidedown = false;
// OCRNet param:
char* ocrnet_trt_engine_path;
char* ocrnet_dict_file;
int32_t ocrnet_infer_input_shape[3];
OCRNetDecode ocrnet_decode = CTC;
// common param

} nvOCDRParam;

typedef struct
{
int shape[4];
void* mem_ptr;
Device device_type;
// DataPrecision precision;
// DataFormat data_format;
} nvOCDRInput;

typedef struct
{
int32_t poly_cnt;
int32_t polys[MAX_PLY_CNT];
int32_t ch_len;
char ch[MAX_CHARACTER_LEN];
float conf;
} nvOCDROutputBlob;

typedef struct
{
int32_t batch_size;
int32_t text_cnt[MAX_BATCH_SIZE];
nvOCDROutputBlob* text_ptr;
} nvOCDROutputMeta;

nvOCDRp nvOCDR_init(nvOCDRParam param);
nvOCDRStat nvOCDR_inference(nvOCDRInput input, nvOCDROutputMeta* output, nvOCDRp nvocdr_ptr);
nvOCDRStat nvOCDR_high_resolution_inference(nvOCDRInput input, nvOCDROutputMeta* output, nvOCDRp nvocdr_ptr,
float overlap_rate);
void nvOCDR_deinit(nvOCDRp nvocdr_ptr);
ifdef __cplusplus
}

endif

endif