Page 1 of 1

[Resolved] [C#] Linking / Wrapping in MacosX

Posted: 04 Jun 2015 16:47
by fabsther
Hi / Salut !

I'm currently working on a C#, using libVLC wrapped.
On windows 8, 64 bit No problem : I wrap, I get the job done with no particular job.

On macos X 10,10,3, I get nothing working : It return null to the libvlc_new, not even a log. It's exactly the same code from windows and it's not a wrapping issue, because I get no DLLNotFound nor entry point errors..

So i tried to rebuild myself vlc, to check some deprecations. I tried to build with darwin 11 but it never finished, so we are far from the darwin of OS X 10,10,3. I successfully build with darwin 10, used his dylib another time without success.
I would that there was much deprecated warning with OS X dependencies...
I tried to make a Xcode project which wrapped libvlc entries, it built but never worked more efficiently.

So I believe there is a dark secret on MACOS X to use libvlc on OS X : Can you explain it to me ?

Best regards

Re: Linking / Wrapping in MacosX

Posted: 04 Jun 2015 17:39
by RSATom
Try this https://github.com/RSATom/WebChimera.js ... .1_mac.zip

Extract package content near your executable. I met the similar problem and have to do some trick to get it working.

Re: Linking / Wrapping in MacosX

Posted: 05 Jun 2015 09:52
by fabsther
Thank you so much !!! I lost 6 days on this integration issue than you very much !

Re: [Resolved] [C#] Linking / Wrapping in MacosX

Posted: 05 Jun 2015 10:00
by RSATom
tbh, I don't like this solution, and even have feeling it's wrong. Maybe someone else could offer better solution.

Re: [Resolved] [C#] Linking / Wrapping in MacosX

Posted: 06 Jun 2015 12:32
by fabsther
I agree, the best for would be to get the methodoly to build a .bundle from LibVLC.
I used what you send to me by swhitching the extensions to .bundle. It would be awesome to get the xcode project.

BEst regards

Re: [Resolved] [C#] Linking / Wrapping in MacosX

Posted: 06 Jun 2015 13:27
by RSATom
Content of this archive was made from vanilla vlc-2.2.1.dmg. I didn't build it myself. Just placed some stuff to different folders and added some symlinks.

Re: [Resolved] [C#] Linking / Wrapping in MacosX

Posted: 09 Jun 2015 22:55
by fabsther
I bet on simlink : Which of them did you create. I tried too to use vanilla DMG, without succes.
I got a new problem. I use several instances of VLC, create for each a player and a media on the same file.
I can play a video but when i start to makje play other players the first one lose video...

Is there any best practice i miss ?