Cheers - that got me a lot further
It seems to load the library now but then crashes in the constructor.
Loaded assembly: OpenTK.dll [External]
In mgmain JNI_OnLoad
11-05 15:25:40.900 I/mono ( 7611): Stacktrace:
11-05 15:25:40.900 I/mono ( 7611):
11-05 15:25:40.900 I/mono ( 7611): at
OpenTK.Audio.AudioDeviceEnumerator..cctor () <IL 0x00036, 0x0022b>
11-05 15:25:40.900 I/mono ( 7611): at (wrapper runtime-invoke)
object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c,
0xffffffff>
11-05 15:25:40.900 I/mono ( 7611): at OpenTK.Audio.AudioContext..cctor ()
<IL 0x00019, 0x000df>
11-05 15:25:40.900 I/mono ( 7611): at (wrapper runtime-invoke)
object.runtime_invoke_void (object,intptr,intptr,intptr)
But I guess this is an issue with libopenal.so and not mono now though.
From: Atsushi Eno [via Mono for Android]
[mailto:ml-node+s1047100n5712302...@n5.nabble.com]
Sent: 05 November 2012 13:49
To: l0nestar
Subject: Re: Getting OpenAl working.
OK, I just saw the opentk sources that OpenTK.dll actually references
"openal32.dll".
http://www.opentk.com/files/doc/_a_l_8cs_source.html
So you will have to rename those *.so files to the same i.e. libopenal32.so.
Dllmap is (to my understanding) not supported so you can't use it:
http://mono-for-android.1047100.n5.nabble.com/using-custom-sqlite-so-with-Mono-Data-Sqlite-dll-td5625117.html
HTH,
Atsushi Eno
l0nestar wrote:
> Thanks. I think I’ve added it properly.. I see this during build now:
>
> NativeLibraries:
> openallibs\armeabi\libopenal.so
> openallibs\armeabi-v7a\libopenal.so
> openallibs\x86\libopenal.so
>
> but I still get ‘System.DllNotFoundException: openal32.dll’. how do I
> point openal32.dll to libopenal.so ?
>
> So far I’ve created file in the root of my project called:
>
> OpenTK.dll.config with the following content:
>
> <configuration>
> <dllmap dll="openal32.dll" target="libopenal.so"/>
> </configuration>
>
>
> However this doesn’t appear to be doing anything.. ☹
>
>
> From: Atsushi Eno [via Mono for Android] [mailto:[hidden email]]
> Sent: 05 November 2012 11:31
> To: l0nestar
> Subject: Re: Getting OpenAl working.
>
> Hi,
>
> You can do that by adding those *.so files to your project and setting
> Build Action to AndroidNativeLibrary for each. For details:
> http://docs.xamarin.com/Android/Guides/Advanced_Topics/Using_Native_Libraries
>
> Atsushi Eno
>
> l0nestar wrote:
>
> > Hi,
> >
> > I've seen on this forum that OpenAl doesnt work. It fails trying to
> open
> > openal32.dll.
> >
> > I've nosed about stack overflow and found:
> >
> > https://github.com/AerialX/openal-soft-android/downloads
> >
> > Is this all I need? If so could someone tell me how to hook it up to
> my app?
> > (how do i get it to look for these files instead of the .dll?)
> >
> > Cheers,
> >
> > Al.
> >
> >
> >
> > --
> > View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Getting-OpenAl-working-tp5712296.html
> > Sent from the Mono for Android mailing list archive at Nabble.com.
> > _______________________________________________
> > Monodroid mailing list
> > [hidden email]
> >
> > UNSUBSCRIBE INFORMATION:
> > http://lists.ximian.com/mailman/listinfo/monodroid
> >
> >
> >
>
> _______________________________________________
> Monodroid mailing list
> [hidden email]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
> ________________________________________
> If you reply to this email, your message will be added to the
> discussion below:
> http://mono-for-android.1047100.n5.nabble.com/Getting-OpenAl-working-tp5712296p5712299.html
>
>
> To unsubscribe from Getting OpenAl working., click here.
> NAML
>
>
> ------------------------------------------------------------------------
> View this message in context: RE: Getting OpenAl working.
> <http://mono-for-android.1047100.n5.nabble.com/Getting-OpenAl-working-tp5712296p5712300.html>
>
> Sent from the Mono for Android mailing list archive
> <http://mono-for-android.1047100.n5.nabble.com/> at Nabble.com.
>
>
> _______________________________________________
> Monodroid mailing list
> [hidden email]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[hidden email]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
________________________________________
If you reply to this email, your message will be added to the discussion below:
http://mono-for-android.1047100.n5.nabble.com/Getting-OpenAl-working-tp5712296p5712302.html
To unsubscribe from Getting OpenAl working., click here.
NAML
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Getting-OpenAl-working-tp5712296p5712304.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid