Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL-mixer depends on old version of mpg123 #340

Closed
LilyWangLL opened this issue Dec 2, 2021 · 1 comment
Closed

SDL-mixer depends on old version of mpg123 #340

LilyWangLL opened this issue Dec 2, 2021 · 1 comment
Assignees

Comments

@LilyWangLL
Copy link

The latest version of mpg123 is 1.29.2, but SDL-mixer depends on mpg123 1.25.6. If use latest mpg123 to install SDL-mixer, SDL-mixer[mpg123] will build failed with error as below. Could update SDL-mixer to support latest mpg123?

music_mpg123.c(52): error C2143: syntax error: missing ')' before '('
music_mpg123.c(52): error C2081: 'ssize_t': name in formal parameter list illegal
music_mpg123.c(52): error C2143: syntax error: missing ')' before '*'
music_mpg123.c(52): error C2091: function returns function
music_mpg123.c(52): error C2143: syntax error: missing ';' before '*'
music_mpg123.c(52): error C2059: syntax error: '*'
music_mpg123.c(52): error C2059: syntax error: ')'
music_mpg123.c(53): error C2365: 'mpg123_seek': redefinition; previous definition was 'function'
: see declaration of 'mpg123_seek'
music_mpg123.c(54): error C2365: 'mpg123_strerror': redefinition; previous definition was 'function'
: see declaration of 'mpg123_strerror'
music_mpg123.c(55): error C2059: syntax error: '}'
music_mpg123.c(57): error C2061: syntax error: identifier 'mpg123'
music_mpg123.c(57): error C2059: syntax error: ';'
music_mpg123.c(57): error C2513: ' ': no variable declared before '='
music_mpg123.c(72): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(72): error C2224: left of '.loaded' must have struct/union type
music_mpg123.c(87): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(87): error C2224: left of '.mpg123_close' must have struct/union type
music_mpg123.c(88): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(88): error C2224: left of '.mpg123_delete' must have struct/union type
music_mpg123.c(89): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(89): error C2224: left of '.mpg123_exit' must have struct/union type
music_mpg123.c(90): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(90): error C2224: left of '.mpg123_format' must have struct/union type
music_mpg123.c(91): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(91): error C2224: left of '.mpg123_format_none' must have struct/union type
music_mpg123.c(92): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(92): error C2224: left of '.mpg123_getformat' must have struct/union type
music_mpg123.c(93): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(93): error C2224: left of '.mpg123_init' must have struct/union type
music_mpg123.c(94): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(94): error C2224: left of '.mpg123_new' must have struct/union type
music_mpg123.c(95): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(95): error C2224: left of '.mpg123_open_handle' must have struct/union type
music_mpg123.c(96): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(96): error C2224: left of '.mpg123_plain_strerror' must have struct/union type
music_mpg123.c(97): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(97): error C2224: left of '.mpg123_rates' must have struct/union type
music_mpg123.c(98): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(98): error C2224: left of '.mpg123_read' must have struct/union type
music_mpg123.c(99): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(99): error C2224: left of '.mpg123_replace_reader_handle' must have struct/union type
music_mpg123.c(100): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(100): error C2224: left of '.mpg123_seek' must have struct/union type
music_mpg123.c(101): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(101): error C2224: left of '.mpg123_strerror' must have struct/union type
music_mpg123.c(103): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(103): error C2224: left of '.loaded' must have struct/union type
music_mpg123.c(110): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(110): error C2224: left of '.loaded' must have struct/union type
music_mpg123.c(113): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(113): error C2224: left of '.loaded' must have struct/union type
music_mpg123.c(118): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(118): error C2224: left of '.loaded' must have struct/union type
music_mpg123.c(176): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(176): error C2224: left of '.mpg123_strerror' must have struct/union type
music_mpg123.c(178): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(178): error C2224: left of '.mpg123_plain_strerror' must have struct/union type
music_mpg123.c(184): error C2061: syntax error: identifier 'rwops_read'
music_mpg123.c(184): error C2059: syntax error: ';'
music_mpg123.c(184): error C2059: syntax error: '<parameter-list>'
music_mpg123.c(203): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(203): error C2224: left of '.mpg123_init' must have struct/union type
music_mpg123.c(233): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(233): error C2224: left of '.mpg123_new' must have struct/union type
music_mpg123.c(240): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(240): error C2224: left of '.mpg123_replace_reader_handle' must have struct/union type
music_mpg123.c(242): error C2065: 'rwops_read': undeclared identifier
music_mpg123.c(250): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(250): error C2224: left of '.mpg123_format_none' must have struct/union type
music_mpg123.c(257): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(257): error C2224: left of '.mpg123_rates' must have struct/union type
music_mpg123.c(267): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(267): error C2224: left of '.mpg123_format' must have struct/union type
music_mpg123.c(270): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(270): error C2224: left of '.mpg123_open_handle' must have struct/union type
music_mpg123.c(316): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(316): error C2224: left of '.mpg123_read' must have struct/union type
music_mpg123.c(325): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(325): error C2224: left of '.mpg123_getformat' must have struct/union type
music_mpg123.c(373): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(373): error C2224: left of '.mpg123_seek' must have struct/union type
music_mpg123.c(384): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(384): error C2224: left of '.mpg123_close' must have struct/union type
music_mpg123.c(385): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(385): error C2224: left of '.mpg123_delete' must have struct/union type
music_mpg123.c(401): error C2065: 'mpg123': undeclared identifier
music_mpg123.c(401): error C2224: left of '.mpg123_exit' must have struct/union type

install-x86-windows-dbg-out.log

@sezero
Copy link
Contributor

sezero commented Dec 2, 2021

ff4eac9 should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants