[vlc] OS X 10.10: Error during compiling

Kevin Ingwersen (Ingwie Phoenix) ingwie2000 at googlemail.com
Tue Nov 25 16:14:40 CET 2014


Hey guys! This is my first post here, so please don’t be too rude. :)

I was beginning to learn to use the libvlc library, but I had troubble setting it up.

First it was unclear where the Sparkle and BGHUDAppKit frameworks ahd to go.
Second, I don’t understand why there is a Make based package resolver and yet you have to install them on your own? I thought that the build process of libvlc would simply include and use that, as a dependency control.

The error I got will follow below. Here is how I configured:

$ ./configure --with-contrib --disable-libgcrypt --disable-qt --disable-macosx-qtkit && make

I do not have - and want to - QT installed. Therefore all the disable switches. But I still get an error, here:

  OBJC     access/avcapture.lo
access/avcapture.m:300:53: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat]
        msg_Dbg(p_demux, "avcapture %lu/%lu %s %s", ivideo, deviceCount, [[avf_device modelID] UTF8String], [[avf_device uniqueID] UTF8String]);
                                    ~~~             ^~~~~~
                                    %d
../include/vlc_messages.h:78:63: note: expanded from macro 'msg_Dbg'
    vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG,  MODULE_STRING, __VA_ARGS__ )
                                                              ^
access/avcapture.m:300:61: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat]
        msg_Dbg(p_demux, "avcapture %lu/%lu %s %s", ivideo, deviceCount, [[avf_device modelID] UTF8String], [[avf_device uniqueID] UTF8String]);
                                        ~~~                 ^~~~~~~~~~~
                                        %d
../include/vlc_messages.h:78:63: note: expanded from macro 'msg_Dbg'
    vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG,  MODULE_STRING, __VA_ARGS__ )
                                                              ^
access/avcapture.m:383:10: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations]
    if ( vlc_object_alive(p_this->p_libvlc) )
         ^
../include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive'
#define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) )
                            ^
../include/vlc_objects.h:76:38: note: 'vlc_object_alive' has been explicitly marked deprecated here
VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *);
                                     ^
3 warnings generated.
  OBJCLD   libavcapture_plugin.la
clang: error: no such file or directory: 'x86_64'
make[4]: *** [libavcapture_plugin.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


How can this be fixed?

Kind regards, Ingwie.


More information about the vlc mailing list