<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi,<div><br></div><div>The problem is probably the language level cython uses.</div><div><br></div><div>Can you test to replace the extensions line in setup.py:</div><div><br></div><div><div><div>-    ext_modules=cythonize([Extension(name="blink.screensharing._rfb", sources=["blink/screensharing/_rfb.pyx"], libraries=["vncclient"])]),</div><div>+    ext_modules=cythonize([Extension(name="blink.screensharing._rfb", sources=["blink/screensharing/_rfb.pyx"], libraries=["vncclient"])], compiler_directives={'language_level': "2"}),</div></div><div><br></div><div>Best regards,</div><div><br></div><div>Tijmen de Mes</div><div>—</div><div>AG Projects</div><div><blockquote type="cite"><div>Op 22 jul 2024, om 16:34 heeft Robert Dyck <rob.dyck@telus.net> het volgende geschreven:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Attaching my rfbclient.h</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">On Monday, July 22, 2024 7:18:52 A.M. PDT Tijmen de Mes wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Hi,<br><br>Here it works fine with that. Do you perhaps have also Cython3 installed?<br><br>For me cython3 points to the old version. I can compile the file with python<br>3.11 and 3.12 without any issue.<br><br>Best regards,<br><br>Tijmen de Mes<br>—<br>AG Projects<br><br><blockquote type="cite">Op 22 jul 2024, om 15:23 heeft Robert Dyck <rob.dyck@telus.net> het<br>volgende geschreven:<br><br>cython -V<br>Cython version 0.29.37<br><br>On Monday, July 22, 2024 4:31:24 A.M. PDT Tijmen de Mes wrote:<br><blockquote type="cite">Hi,<br><br>Which very of cython do you have/are you using?<br><br>Best regards,<br><br>Tijmen de Mes<br>—<br>AG Projects<br><br><blockquote type="cite">Op 22 jul 2024, om 00:16 heeft Robert Dyck <rob.dyck@telus.net> het<br>volgende geschreven:<br><br>When executing "sudo python3 setup.py install" I get many errors.<br>Errors similar to the following --<br><br>blink/screensharing/_rfb.pyx:453:44: Cannot assign type 'void (const<br>char<br>*, ...) except * nogil' to 'rfbClientLogProc' (alias of 'void<br>(*)(const<br>char *, ...) noexcept'). Ex ception values are incompatible. Suggest<br>adding 'noexcept' to the type of '_rfb_client_log'.<br><br>Can someone tell me how to resolve this. I am attaching the complete<br>session.<br><br><blink-errors.txt>_______________________________________________<br>Blink mailing list<br>Blink@lists.ag-projects.com<br>https://lists.ag-projects.com/mailman/listinfo/blink<br></blockquote><br>_______________________________________________<br>Blink mailing list<br>Blink@lists.ag-projects.com<br>https://lists.ag-projects.com/mailman/listinfo/blink<br></blockquote></blockquote></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span id="cid:05142E03-8DB9-43CC-ACE7-195529ED42C3"><rfbclient.h></span></div></blockquote></div><br></div></body></html>