We previously identified glyceraldehyde 3-phosphate dehydrogenase (GAPDH) as one of the cyclic adenosine diphosphoribose (cADPR)'s binding proteins and found that GAPDH participates in cADPR-mediated Ca2+ release from endoplasmic reticulum via ryanodine receptors (RyRs). Here, we aimed to chemically synthesise and pharmacologically characterise novel cADPR analogues. Based on the simulated cADPR-GAPDH complex structure, we performed the structure-based drug screening, identified several small chemicals with high docking scores to cADPR's binding pocket in GAPDH and showed that two of these compounds, C244 and C346, are potential cADPR antagonists. We further synthesised several analogues of C346 and found that its analogue, G42, also mobilised Ca2+ release from lysosomes. G42 alkalised lysosomal pH and inhibited autophagosome-lysosome fusion. Moreover, G42 markedly inhibited Zika virus (ZIKV, a flavivirus) or murine hepatitis virus (MHV, a β-coronavirus) infections of host cells. These results suggest that G42 inhibits virus infection, likely by triggering lysosomal Ca2+ mobilisation and inhibiting autophagy.