Unable to execute Cython wrapped Python code
问题 I am exporting C++ API for python code using Cython. The application will be executed on Ubuntu. The project files are present here The function I am wrapping, reads the file name of the image and displays the image. The Show_Img.pyx file looks as follows import cv2 cdef public void Print_image(char* name): img = cv2.imread(name) cv2.imshow("Image", img) while(True): if cv2.waitKey(1) & 0xFF == ord('q'): break The c++ interface generated from Cython looks as follows __PYX_EXTERN_C DL_IMPORT