Compilation of the fedora12 audaciousape plug-in

Source: Internet
Author: User
Tags cairo
Compilation of the auora12 audaciousape plug-in-Linux general technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by maoyang8888

Now, my apsaravideo player cannot play apsaravideo. I like apsaravideo for myself, but I cannot play apsaravideo for ha3nd.

Ape decoder is installed is mac-3.99-7.u4b5 and mac-devel-3.99-7.u4b5 also installed, is in Add/delete SoftwareInstalled in

An error occurred while compiling audacious ape plug-in audacious-mac-0.3.10 on my official website.
Audacious-mac-0.3.10 address: http://www.netswarm.net/misc/audacious-mac-0.3.10.tar.gz

First, configure:
./Configure -- enable-local = yes (why do I add -- enable-local = yes? I can see this sentence in the INSTALL document:
Note: when locking ing, there is a option for local install -- enable-local = yes.
So you can install it in ~ /. Bmp/Plugins. Therefore, if this parameter is added, it cannot be used without adding it)

Next, make:
The problem arises.
[Root @ localhost audacious-mac-0.3.10] # make
Make all-recursive
Make [1]: Entering directory '/root/mao/audacious-mac-0.3.10'
Making all in src
Make [2]: Entering directory '/root/mao/audacious-mac-0.3.10/src'
If/bin/sh .. /libtool -- tag = CXX -- mode = compile g ++-DHAVE_CONFIG_H-I. -I. -I .. -pthread-I/usr/include/glib-2.0-I/usr/lib/glib-2.0/include-I/usr/include/gtk-2.0-I/usr/include/pango-1.0 -I/usr/include/cairo-I/usr/include/libmowgli-I/usr/include/dbus-1.0-I/usr/lib/dbus-1.0/include-I/usr/lib /gtk-2.0/include-I/usr/include/atk-1.0-I/usr/include/pixman-1-I/usr/include/freetype2-I/usr/include/libpng12-g-Wall -pedantic-DBUILD_CROSS_PLATFORM-DHAVE_MKDTEMP-g-O2-MT libaudacious_mac_la-mac.lo-MD-MP-MF ". deps/libaudacious_mac_la-mac.Tpo "-c-o libaudacious_mac_la-mac.lo 'test-F' mac. cpp '| echo '. /''mac. cpp ;\
Then mv-f ". deps/libaudacious_mac_la-mac.Tpo" ". deps/libaudacious_mac_la-mac.Plo"; else rm-f ". deps/libaudacious_mac_la-mac.Tpo"; exit 1; fi
Mkdir. libs
G ++-DHAVE_CONFIG_H-I. -I. -I .. -pthread-I/usr/include/glib-2.0-I/usr/lib/glib-2.0/include-I/usr/include/gtk-2.0-I/usr/include/pango-1.0 -I/usr/include/cairo-I/usr/include/libmowgli-I/usr/include/dbus-1.0-I/usr/lib/dbus-1.0/include-I/usr/lib /gtk-2.0/include-I/usr/include/atk-1.0-I/usr/include/pixman-1-I/usr/include/freetype2-I/usr/include/libpng12-g-Wall -pedantic-DBUILD_CROSS_PLATFORM-DHAVE_MKDTEMP-g-O2-MT libaudacious_mac_la-mac.lo-MD-MP-MF. deps/libaudacious_mac_la-mac.Tpo-c mac. cpp-fPIC-DPIC-o. libs/libaudacious_mac_la-mac.o
Mac. cpp: 48: error: too initialize initializers for 'inputplugin'
Mac. cpp: 48: error: invalid conversion from 'void (*) (char *) 'to 'tuple * (*) (gchar *)'
Mac. cpp: 48: error: cannot convert 'tuple * (*) (gchar *) 'to 'gchar ***' in initialization
Mac. cpp: 48: error: invalid conversion from 'int (*) (gchar *, VFSFile *) 'to 'gboolean'
Mac. cpp: 48: error: cannot convert 'gchar *** 'to 'gboolean (*) (Tuple *, VFSFile *)' in initialization
Mac. cpp: In function 'tuple * get_song_tuple_from_iapedec (gchar *, IAPEDecompress *)':
Mac. cpp: 120: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 121: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 122: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 123: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 124: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 125: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 128: warning: deprecated conversion from string constant to 'wchar _ t *'
Mac. cpp: 129: warning: deprecated conversion from string constant to 'wchar _ t *'
Make [2]: *** [libaudacious_mac_la-mac.lo] Error 1
Make [2]: Leaving directory '/root/mao/audacious-mac-0.3.10/src'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/root/mao/audacious-mac-0.3.10'
Make: *** [all] Error 2

The problem seems to be caused by 48th rows in mac. cpp, which seems to be caused by data type conversion. Now I want to paste it out and hope it can be solved by experts.
# Include "config. h"
# Include "mac. h"
# Include
# Include
# Include
# Include
# Include
# Include
Const gchar * fmts [] = {"mac", "ape", "apl", NULL };
InputPlugin mac_plugin_info =
{
NULL,
NULL,
(Gchar *) "Monkeys Audio Codec Player" VERSION,
NULL,
NULL,
Mac_about,
NULL,
FALSE,
NULL,
NULL,
Mac_play_file,
Mac_stop,
Mac_pause,
Mac_seek,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
Mac_file_info_box,
NULL,
Mac_get_song_tuple,
NULL,
NULL,
Mac_is_our_file_from_vfs,
(Gchar **) fmts,
Mac_mseek,
}; // ------------ >>> This is the 48 rows in mac. cpp (here I deleted some blank lines)
InputPlugin * mac_plugin_infolist [] ={& mac_plugin_info, NULL };

I am a public security officer from Hubei Province. I am a linux friend.
QQ: 104692629
QQ group: 13285030
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.