[Python.NET] Python.Net with Boa under Linux

Serge Gauthier gauthier.sg at wanadoo.fr
Fri May 30 14:22:19 CEST 2008


I currently use Python 2.5, Boa constructor 0.6.1 under Windows and Linux Mandrake. On a motion control CPU card, running Linux on Power PC, there is a Mono, C# dll server. To communicate with under Windows XP, I had to recompile the Python-Runtime project with VS C#. It works now fine under Boa: I can import clr and do the following:
                lib = clr.AddReference("PPmacClassLibrary")
                from PPmacClassLibrary import PPmacDeviceClass
                self.pmac = PPmacDeviceClass(HOST, "PythonPmac", port)

Under Linux, it is not possible to do the same, I tryed to use clr.so and Python-Runtime.dll and the error message is : "impossible to load the assembly".
Could you tell me how to solve that ? I am not familar with C# and Mono. Do I have to recompile under Mono and how to do ? I don't understand well how it works on Linux.
Thanks a lot for your help

Serge


-- 
J'utilise la version gratuíte de SPAMfighter pour utilisateurs privés.
Ce programme a supprimé1619 d'e-mails spam à ce jour.
Les utilisateurs qui paient n'ont pas ce message dans leurse-mails.
Obtenez la version gratuite de SPAMfighter ici: http://www.spamfighter.com/lfr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20080530/74e1f960/attachment.htm>


More information about the PythonDotNet mailing list