Cyberlink doesn't compile on Mac OS X

macOS specific usage questions
fizk
New Cone
New Cone
Posts: 3
Joined: 18 Dec 2008 07:31

Cyberlink doesn't compile on Mac OS X

Postby fizk » 18 Dec 2008 07:39

Hi,

On Mac OSX 10.5.5., I get the same error with vlc 0.9.8a and vlc from git:

upnp_cc.cpp: In member function 'playlist_item_t* UPnPHandler::FindDeviceNode(CyberLink::Device*)':
upnp_cc.cpp:89: error: 'struct services_discovery_t' has no member named 'p_cat'
upnp_cc.cpp: In member function 'playlist_item_t* UPnPHandler::AddDevice(CyberLink::Device*)':
upnp_cc.cpp:170: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp:170: error: 'struct services_discovery_t' has no member named 'p_cat'
upnp_cc.cpp: In member function 'void UPnPHandler::AddContent(playlist_item_t*, CyberLink::ContentNode*)':
upnp_cc.cpp:204: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp:213: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp: In member function 'void UPnPHandler::RemoveDevice(CyberLink::Device*)':
upnp_cc.cpp:230: error: 'p_playlist' was not declared in this scope
make[4]: *** [libupnp_cc_plugin_la-upnp_cc.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1

#################
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/Users/yonas/ffmpeg-darwin/lib/pkgconfig:/Users/yonas/fribidi-osx/lib/pkgconfig
export CPPFLAGS="-I/Users/yonas/libupnp-install-local/include -I/Users/yonas/xercesc-2.8.0-darwin/include"
export LDFLAGS="-L/Users/yonas/xercesc-2.8.0-darwin/lib"

./configure --prefix=/Users/yonas/vlc-install-macosx --disable-mad --with-faad-tree=/Users/yonas/faad2 --with-twolame-tree=/Users/yonas/twolame-0.3.12 --disable-a52 --disable-theora --disable-hal --disable-libmpeg2 --disable-remoteosd --disable-update-check --disable-gnutls --disable-libgcrypt --enable-cyberlink --with-cyberlink-tree=/Users/yonas/CyberLink


I also needed to change this line in configure file:
63299 for l in "-lexpat -lxerces-c -liconv" "`xml2-config --libs`" ; do

which puts -lxerces-c before xml2-config, and adds -liconv. The test scripts will fail to compile otherwise.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cyberlink doesn't compile on Mac OS X

Postby Jean-Baptiste Kempf » 18 Dec 2008 09:46

Cyberlink is broken. DOn't compile it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fizk
New Cone
New Cone
Posts: 3
Joined: 18 Dec 2008 07:31

Re: Cyberlink doesn't compile on Mac OS X

Postby fizk » 18 Dec 2008 20:27

Are you saying that the Cyberlink library is broken or the VLC code that uses Cyberlink? (i.e. upnp_cc.cpp).
I think upnp_cc.cpp is broken because it of an effort to use a new VLC playlist API/structure.

fkuehne
Developer
Developer
Posts: 7188
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Cyberlink doesn't compile on Mac OS X

Postby fkuehne » 02 Jan 2009 15:52

In fact, both the VLC module and cyberlink are broken. The VLC module remained unmaintained after we stopped using Cyberlink...
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests