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

This forum is about all development around libVLC.
fabsther
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Jun 2015 16:32

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

Postby fabsther » 04 Jun 2015 16:47

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
Last edited by fabsther on 05 Jun 2015 09:52, edited 1 time in total.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Linking / Wrapping in MacosX

Postby RSATom » 04 Jun 2015 17:39

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.

fabsther
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Jun 2015 16:32

Re: Linking / Wrapping in MacosX

Postby fabsther » 05 Jun 2015 09:52

Thank you so much !!! I lost 6 days on this integration issue than you very much !

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

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

Postby RSATom » 05 Jun 2015 10:00

tbh, I don't like this solution, and even have feeling it's wrong. Maybe someone else could offer better solution.

fabsther
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Jun 2015 16:32

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

Postby fabsther » 06 Jun 2015 12:32

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

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

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

Postby RSATom » 06 Jun 2015 13:27

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.

fabsther
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Jun 2015 16:32

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

Postby fabsther » 09 Jun 2015 22:55

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 ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests