Page 1 of 1

How to develop vlc?

Posted: 23 Jan 2018 02:53
by Williams_
I want to read the vlc source code on macOS, but I do not know how to integrate the source file into a project, just like the macOS or iOS Xcode project can be used to guide the definition of variables or functions and to debug code.
How do you develop it?

Re: How to develop vlc?

Posted: 24 Jan 2018 23:48
by dfuhrmann
For macOS we have an xcodeproj inside the vlc.git repo, see here: http://git.videolan.org/?p=vlc.git;a=tr ... 94;hb=HEAD
You can open it and use this project to edit files. Compilation needs to be done on Terminal, though.

This project is mainly for developing on the Mac application, they are different project files in different repos for iOS / VLCKit.

Re: How to develop vlc?

Posted: 25 Jan 2018 03:13
by Williams_
For macOS we have an xcodeproj inside the vlc.git repo, see here: http://git.videolan.org/?p=vlc.git;a=tr ... 94;hb=HEAD
You can open it and use this project to edit files. Compilation needs to be done on Terminal, though.

This project is mainly for developing on the Mac application, they are different project files in different repos for iOS / VLCKit.
Yes, I found this xcodeproj for a while, and I think it's the VLC APP source for the Mac platform, including the VLC-related UI code, is that right?

I am more concerned about how to debug and read the underlying code, such as codec, access, filter modules and so on. Is it possible to debug these underlying modules as easily as debugging iOS or Mac APP?
Thank you for your attention.

Re: How to develop vlc?

Posted: 28 Jan 2018 17:42
by dfuhrmann
I would suggest lldb on command line if you want to debug other modules.