Libmapper.NET
2.4.13
dotnet add package Libmapper.NET --version 2.4.13
NuGet\Install-Package Libmapper.NET -Version 2.4.13
<PackageReference Include="Libmapper.NET" Version="2.4.13" />
<PackageVersion Include="Libmapper.NET" Version="2.4.13" />
<PackageReference Include="Libmapper.NET" />
paket add Libmapper.NET --version 2.4.13
#r "nuget: Libmapper.NET, 2.4.13"
#:package Libmapper.NET@2.4.13
#addin nuget:?package=Libmapper.NET&version=2.4.13
#tool nuget:?package=Libmapper.NET&version=2.4.13
C# Bindings for libmapper
Building C# wrapper library
Run the following command from within the bindings/csharp directory:
dotnet publish -c Release -o . Libmapper.NET
This should produce a file named Libmapper.NET.dll
, as well as some debugging symbols.
Building the test example
Run the following command from within the bindings/csharp directory:
dotnet publish -c Release -o Demo Demo
This should produce an executable in the Demo
directory named Demo
Running the test example
If you're on Apple Silicon, you'll need to compile another library first. See the Notes section below.
Run the Demo
executable from the Demo
directory.
cd Demo
dotnet run
You may need to copy the libmapper dynamic library into the same directory (depending on dynamic linker path configuration).
Notes
Due to how Apple Silicon handles variadic arguments (and C#'s lack of support for variadic arguments on non-Windows platforms),
the constructor Map(string, Signal[])
, used for creating a map from an expression string, requires another dynamic library to act as a wrapper
around the variadic call. The code for this library is contained in varargs_wrapper.s
.
If you don't plan on using that constructor, you can stop reading now. Else, you'll need to compile the wrapper library:
$ clang -shared -o varargs_wrapper.dylib varargs_wrapper.s
Either put varargs_wrapper.dylib
in your library search path or in the same directory as your executable.
To Do
- add handlers for specific types to avoid typecasts and allow compilation of tests without
/unsafe
- interact with C# Events
- add more tests
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.