Adding new dylib plugin (not working Mac OSX)

macOS specific usage questions
alexvlcprot
New Cone
New Cone
Posts: 5
Joined: 26 Sep 2014 09:14

Adding new dylib plugin (not working Mac OSX)

Postby alexvlcprot » 26 Sep 2014 10:06

Hi all,

I'm new programming modules for VLC. I have programmed a VLC plugin (stream_filter) using QtCreator which decrypt some kind of files previously generated by me. I generated the dylib and I copied it to ...VLC.app/Contents/MacOS/plugins/ folder. I also changed the Info.plist file to adapt it to the new plugin.

Everything seems to be working in my computer (from QtCreator debugging and executing this VLC.app directly), but when I copy this app to another computer, it doesn't work. At first time it shows something like "core stream error corrupt module", but when I fixed some linking issues (using install_name_tool to fix paths to shared libraries, no message appears...

Any suggestions?

I've also tried to add my code in the modules/stream_filter/ folder, but when compiling VLC, it doesn't find Qt classes...

Thank you so much!!

alexvlcprot
New Cone
New Cone
Posts: 5
Joined: 26 Sep 2014 09:14

Re: Adding new dylib plugin (not working Mac OSX)

Postby alexvlcprot » 26 Sep 2014 15:30

Solved!

I copied all necessary files to Frameworks or libs folders and I fixed all paths with install_name_tool (-change/-id) using @loader_path and it has worked.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests