Cool. I wasn’t sure if those PR’s were finalized yet. Looks like they are. I can see about merging and putting out a new release.
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Aug 27, 2016, at 4:00 AM, pd-dev-request@lists.iem.at wrote:
From: Thomas Mayer <thomas@residuum.org mailto:thomas@residuum.org> Subject: [PD-dev] LibPD for .NET and Mono now available from NuGet Date: August 26, 2016 at 12:39:26 PM MDT To: "pd-list@lists.iem.at mailto:pd-list@lists.iem.at" <pd-list@lists.iem.at mailto:pd-list@lists.iem.at>, PureData developer's list <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at>
Hello,
I have uploaded and fully functional version of LibPD for .NET and Mono to NuGet:
https://www.nuget.org/packages/LibPDBinding https://www.nuget.org/packages/LibPDBinding
I have opted to number the versions independantly from LibPD itself, as new packages may be uploaded with new architectures and OS.
It has been compiled using the latest release 0.9.2 plus my two pull requests: https://github.com/libpd/libpd/pull/113 https://github.com/libpd/libpd/pull/113 https://github.com/libpd/libpd/pull/139 https://github.com/libpd/libpd/pull/139
Included are native libraries for Windows and Linux, both x86 and amd64, as well as the necessary .NET and Mono dll.
For an example on how to use LibPD with C#, take a look at the sample app: https://github.com/residuum/libpd/tree/csharp/samples/csharp/naudio https://github.com/residuum/libpd/tree/csharp/samples/csharp/naudio
I have already toyed around a bit with it: https://github.com/residuum/premier-league-sonification/tree/master/CsharpDe... https://github.com/residuum/premier-league-sonification/tree/master/CsharpDesktop
Thanks, Thomas
Hi Dan,
On 28.08.2016 21:15, Dan Wilcox wrote:
Cool. I wasn’t sure if those PR’s were finalized yet. Looks like they are. I can see about merging and putting out a new release.
yes, they are finished. The C# bindings are thoroughly tested on Windows and Linux 32 and 64 bit, and documentation is up to date.
I will update the wiki page once the pull request is merged.
Next up is automating the steps to find the correct native library for the C# dll now that Powershell is OSS and ported to Linux and Mac OS X.
But that is only necessary for the NuGet packages, and I will have to get into Powershell first, so this will be a seperate pull request.
Thanks, Thomas
Sweet. Thanks for all the work. The C# wrapper was getting a bit stale.
Something on my backburner is to move libpd to autotools & configure. Would that help with building libpd for C#?
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Aug 29, 2016, at 5:04 PM, Thomas Mayer thomas@residuum.org wrote:
Hi Dan,
On 28.08.2016 21:15, Dan Wilcox wrote:
Cool. I wasn’t sure if those PR’s were finalized yet. Looks like they are. I can see about merging and putting out a new release.
yes, they are finished. The C# bindings are thoroughly tested on Windows and Linux 32 and 64 bit, and documentation is up to date.
I will update the wiki page once the pull request is merged.
Next up is automating the steps to find the correct native library for the C# dll now that Powershell is OSS and ported to Linux and Mac OS X.
But that is only necessary for the NuGet packages, and I will have to get into Powershell first, so this will be a seperate pull request.
Thanks, Thomas -- "From the perspective of communication analysis, government is not an instrument of law and order, but of law and disorder." (Gracchus Gruad in: Robert Shea & Robert A. Wilson, The Golden Apple) http://www.residuum.org/
On 30.08.2016 01:07, Dan Wilcox wrote:
Sweet. Thanks for all the work. The C# wrapper was getting a bit stale.
Something on my backburner is to move libpd to autotools & configure. Would that help with building libpd for C#?
It will not help much, but it won't introduce additional obstacles.
I did not change much to the existing code, only minor changes to get it to work with Mono on Linux.
The main work was documenting the steps from a fresh checkout to a fully running C# library: - Windows: How to get a current version of MinGW. Which version to use. How to configure MinGW. What packages are needed. - Windows: How to get a recent pthread library. - How to configure the .NET/Mono project to use the compiled native on different systems. - How to integrate libPd with existing audio libraries, mainly NAudio.
Thanks, Thomas