Hi, The problem is probably the language level cython uses.
Can you test to replace the extensions line in setup.py: - ext_modules=cythonize([Extension(name="blink.screensharing._rfb", sources=["blink/screensharing/_rfb.pyx"], libraries=["vncclient"])]), + ext_modules=cythonize([Extension(name="blink.screensharing._rfb", sources=["blink/screensharing/_rfb.pyx"], libraries=["vncclient"])], compiler_directives={'language_level': "2"}), Best regards, Tijmen de Mes — AG Projects > Op 22 jul 2024, om 16:34 heeft Robert Dyck <rob.d...@telus.net> het volgende > geschreven: > > Attaching my rfbclient.h > > > On Monday, July 22, 2024 7:18:52 A.M. PDT Tijmen de Mes wrote: >> Hi, >> >> Here it works fine with that. Do you perhaps have also Cython3 installed? >> >> For me cython3 points to the old version. I can compile the file with python >> 3.11 and 3.12 without any issue. >> >> Best regards, >> >> Tijmen de Mes >> — >> AG Projects >> >>> Op 22 jul 2024, om 15:23 heeft Robert Dyck <rob.d...@telus.net> het >>> volgende geschreven: >>> >>> cython -V >>> Cython version 0.29.37 >>> >>> On Monday, July 22, 2024 4:31:24 A.M. PDT Tijmen de Mes wrote: >>>> Hi, >>>> >>>> Which very of cython do you have/are you using? >>>> >>>> Best regards, >>>> >>>> Tijmen de Mes >>>> — >>>> AG Projects >>>> >>>>> Op 22 jul 2024, om 00:16 heeft Robert Dyck <rob.d...@telus.net> het >>>>> volgende geschreven: >>>>> >>>>> When executing "sudo python3 setup.py install" I get many errors. >>>>> Errors similar to the following -- >>>>> >>>>> blink/screensharing/_rfb.pyx:453:44: Cannot assign type 'void (const >>>>> char >>>>> *, ...) except * nogil' to 'rfbClientLogProc' (alias of 'void >>>>> (*)(const >>>>> char *, ...) noexcept'). Ex ception values are incompatible. Suggest >>>>> adding 'noexcept' to the type of '_rfb_client_log'. >>>>> >>>>> Can someone tell me how to resolve this. I am attaching the complete >>>>> session. >>>>> >>>>> <blink-errors.txt>_______________________________________________ >>>>> Blink mailing list >>>>> Blink@lists.ag-projects.com >>>>> https://lists.ag-projects.com/mailman/listinfo/blink >>>> >>>> _______________________________________________ >>>> Blink mailing list >>>> Blink@lists.ag-projects.com >>>> https://lists.ag-projects.com/mailman/listinfo/blink > > <rfbclient.h>
_______________________________________________ Blink mailing list Blink@lists.ag-projects.com https://lists.ag-projects.com/mailman/listinfo/blink