Package Details: attract 2.7.0-1

Git Clone URL: https://aur.archlinux.org/attract.git (read-only, click to copy)
Package Base: attract
Description: A joystick/gamepad-controlled graphical front-end for command line emulators
Upstream URL: https://www.attractmode.org/
Keywords: arcade attractmode
Licenses: GPL3
Submitter: h0tw1r3
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 3
Popularity: 0.000000
First Submitted: 2016-02-06 17:30 (UTC)
Last Updated: 2023-06-12 08:37 (UTC)

Latest Comments

1 2 Next › Last »

mjnman commented on 2025-02-22 21:53 (UTC) (edited on 2025-02-22 21:54 (UTC) by mjnman)

After OS update the new version of "sfml" is "3.0.0-1" and you cannot build attract mode. My workaround is build sfml 2.6 and copy missing libraries in the path /usr/lib.


libsfml-graphics.so.2.6 => /usr/lib/libsfml-graphics.so.2.6 (0x0000700044474000)
libsfml-window.so.2.6 => /usr/lib/libsfml-window.so.2.6 (0x0000700044435000)
libsfml-system.so.2.6 => /usr/lib/libsfml-system.so.2.6 (0x0000700044427000)

simona commented on 2025-02-22 10:05 (UTC)


In file included from src/fe_base.cpp:24:
src/fe_util.hpp:283:19: error: ‘sf’ was not declared in this scope
283 | std::basic_string<sf::Uint32> clipboard_get_content();
|                   ^~
src/fe_util.hpp:283:29: error: template argument 1 is invalid
283 | std::basic_string<sf::Uint32> clipboard_get_content();
|                             ^
src/fe_util.hpp:283:29: error: template argument 2 is invalid
src/fe_util.hpp:283:29: error: template argument 3 is invalid

simona commented on 2024-11-24 20:19 (UTC)

attract-git is ok for me. thx.

complexlogic commented on 2024-11-24 19:08 (UTC)

This commit needs to be backported via patch. In the meantime, the easiest workaround is to switch to the attract-git package which builds fine.

mjnman commented on 2024-11-22 13:14 (UTC) (edited on 2024-11-22 13:15 (UTC) by mjnman)


Compiling obj/media.o...
src/media.cpp: In member function 'bool FeAudioImp::process_frame(AVFrame*, sf::SoundStream::Chunk&, int&)':
src/media.cpp:326:28: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  326 |                 codec_ctx->channels,
      |                            ^~~~~~~~
src/media.cpp:352:57: error: 'AVFrame' {aka 'struct AVFrame'} has no member named 'channel_layout'; did you mean 'ch_layout'?
  352 |                         int64_t channel_layout = frame->channel_layout;
      |                                                         ^~~~~~~~~~~~~~
      |                                                         ch_layout
src/media.cpp:356:60: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  356 |                                                 codec_ctx->channels );
      |                                                            ^~~~~~~~
src/media.cpp:355:50: error: 'av_get_default_channel_layout' was not declared in this scope
  355 |                                 channel_layout = av_get_default_channel_layout(
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/media.cpp:387:44: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  387 |                                 codec_ctx->channels,
      |                                            ^~~~~~~~
src/media.cpp:405:60: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  405 |                         offset += out_samples * codec_ctx->channels;
      |                                                            ^~~~~~~~
src/media.cpp:406:70: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  406 |                         data.sampleCount += out_samples * codec_ctx->channels;
      |                                                                      ^~~~~~~~
src/media.cpp: In member function 'void FeVideoImp::video_thread()':
src/media.cpp:763:76: error: 'AVFrame' {aka 'struct AVFrame'} has no member named 'pkt_duration'; did you mean 'duration'?
  763 |                                                 prev_duration = raw_frame->pkt_duration;
      |                                                                            ^~~~~~~~~~~~
      |                                                                            duration
src/media.cpp: In member function 'bool FeMedia::open(const std::string&, const std::string&, sf::Texture*)':
src/media.cpp:1069:52: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
 1069 |                                         codec_ctx->channels,
      |                                                    ^~~~~~~~
make: *** [Makefile:507: obj/media.o] Error 1
make: Leaving directory '/home/builder/attract/src/attract-2.7.0'
==> ERROR: A failure occurred in build().
    Aborting...

simona commented on 2024-07-04 08:46 (UTC)

src/media.cpp: In member function ‘bool FeAudioImp::process_frame(AVFrame*, sf::SoundStream::Chunk&, int&)’:
src/media.cpp:326:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’

eclairevoyant commented on 2023-01-21 20:25 (UTC)

adopted and updated

Subs commented on 2022-02-18 20:11 (UTC)

won't compile now ffmpeg5 is out, must depend on ffmpeg4.4

kIERO commented on 2019-01-23 22:40 (UTC)

Really really out of date!

https://github.com/mickelson/attract/releases/tag/v2.5.1

Enverex commented on 2018-05-24 20:20 (UTC)

Unfortunately not. There's an even bigger issue at the moment in that missing artwork causes AttractMode to lock up completely now.