[vlc-devel] Problem with fullscreen mode on Mac

Ron Frederick ronf at timeheart.net
Sun Apr 6 16:52:23 CEST 2014

Hi David,

On Mar 23, 2014, at 11:38 AM, David Fuhrmann <david.fuhrmann at gmail.com> wrote:
> The wiki page is quite up to date, and compilation on Mavericks works fine as long as you use the prebuilt contribs (x86_64-apple-darwin10). For UI-related changes (xib), we still have Xcode 3 around, though. If you have any compilation problems feel free to ask me privately or on IRC - we will happily help you on that.

I appreciate your offer. So far, I haven’t had time to dig into this much more, but when I try to follow the instructions on the OSXCompile page, I’m able to get it configured but the build eventually fails with some complaints about undefined symbols related to iconv:

Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      __nl_find_msg in libintl.a(dcigettext.o)
     (maybe you meant: _vlc_iconv_open, _vlc_iconv , _vlc_iconv_close )
  "_iconv_open", referenced from:
      __nl_find_msg in libintl.a(dcigettext.o)
     (maybe you meant: _vlc_iconv_open)
ld: symbol(s) not found for architecture x86_64

I’ve seen some postings online about this being caused by a version of iconv being installed from MacPorts, but I have dozens of other packages installed that depend on that MacPorts library so I can’t easily uninstall it. When I attempt to work around this by temporarily moving /opt out of the way and try to rely solely on the pre-compiled contribs, I get all sorts of messages in the configure step about things not being found, and one of them ends up being fatal:

checking for LIBVORBIS... no
configure: error: in `/Users/ronf/src/vlc/build':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBVORBIS_CFLAGS
and LIBVORBIS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.

I’m not sure why it’s trying to get stuff from my system, as I’ve made the prebuilt contrib successfully. I’ve even tried pointing at this contrib directory explicitly, and it didn’t help.

In parallel, I also tried pulling down the latest VLC 2.1.3 from MacPorts. Interestingly, when I use the old full-screen mode, that does not exhibit the bug I filed about the menu bar disappearing! In fact, it seems to work perfectly as long as the native full-screen mode is turned off with respect to both that and the known issue of not being able to use native full-screen on secondary displays. So, I’m running with that for now. I also found that I had no problem compiling the MacPorts VLC myself, but they seem to use their own version of the contrib library in the build.

I haven’t had a chance to compare the stock 2.1.3 source code against the MacPorts version to see if any patches were made.
Ron Frederick
ronf at timeheart.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140406/b9251ac1/attachment.html>

More information about the vlc-devel mailing list