Author Topic: Version 2.3 Released  (Read 77029 times)

protocolgeorge

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Version 2.3 Released
« Reply #15 on: November 21, 2017, 07:12:05 PM »
Thanks...Awesome Work!!  Best Frontend Of There!!

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Version 2.3 Released
« Reply #16 on: November 21, 2017, 09:23:17 PM »
Thanks for all the hard work!  I especially appreciate the inclusion of hw acceleration.   But I have good news and bad news regarding that functionality to report.  Even with HW mode on, 60 fps videos still have midway lag and some just plain freeze now.  But on the plus side, overall with HW mode on, at least the videos in general (all the one's that work) are very snappy so it makes the whole gui smoother and faster in transitions.  I seriously thought the inclusion of HW mode would fix the 60 fps lagging issues but no it didn't.  Really baffling honestly.  Some EMUMOVIE 60fps rips work (though it starts to lag later in the vid) but other one's just freeze up.  Even the snap's i've frapped+encoded myself via Avidemux freeze up.  In the end though, I just ended up batch converting all the 60 frame vids to 30.  I wasn't thrilled I had to re-encode but it's all done now and now everything works without a hitch.  And when I have more time I'm going to mess around with GIFS!

BTW, what is the difference in Windows "Console Version" vs the plain one in the downloads page?

Edit:  I take back the positive part of HW mode.  I switched back to software and it's much snappier/faster.  I'm pretty sure there's something wrong with HW mode (at least for me) and that would explain why even with HW mode the 60 fps videos were crapping out.
« Last Edit: November 25, 2017, 01:09:48 AM by dukpoki »

8bitsdeep

  • Full Member
  • ***
  • Posts: 49
    • View Profile
Re: Version 2.3 Released
« Reply #17 on: November 27, 2017, 06:49:37 AM »
Hmm, when I press back on the Display Menu, I get a menu of all my displays that isn't accepting any directional input.  Any way to disable this?  I preferred the exit prompt.

Not sure why the menu wouldn't be accepting any directional input, but when you go to Config->Controls->Back, what is set as the default action for your Back button?

Back (Exit).  I assume the parenthesis is the default action?




khaleelnajjar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Version 2.3 Released
« Reply #18 on: November 28, 2017, 10:36:15 AM »
Since I updated both retroarch and attract mode, FBA core stopped working on attractmode, it works from retroarch interface, and every other core works with same settings and args, including FBA2012. The only core that stopped working is FBA.

I'm going crazy. This is my main arcade setup and now it is ruined.

unclewilly

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Version 2.3 Released
« Reply #19 on: November 29, 2017, 06:07:53 AM »
If i update to this attract mode version,  will i loose my config displays and romlists?

BadFurDay

  • Full Member
  • ***
  • Posts: 82
    • View Profile
Re: Version 2.3 Released
« Reply #20 on: November 29, 2017, 08:13:09 AM »
If i update to this attract mode version,  will i loose my config displays and romlists?

I'd backup the romlists and attract.cfg before updating. It shouldn't affect them but better safe than sorry.

BadFurDay

  • Full Member
  • ***
  • Posts: 82
    • View Profile
Re: Version 2.3 Released
« Reply #21 on: November 29, 2017, 08:15:28 AM »
This version isn't working for me on the Pi. It tries to start but always gives a segmentation fault. I dont know of anyway to downgrade so i dont lose my work either so been a bit in limbo. Got another card and I did a fresh install of Retropie then installed Attract Mode through the Retropie Setup and this works but is only version 2.2.1. Any help is appreciated.

XC-3730C

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Version 2.3 Released
« Reply #22 on: December 03, 2017, 01:40:25 PM »
Any plans for an Android version?

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Version 2.3 Released
« Reply #23 on: December 04, 2017, 01:19:10 PM »
Tried compiling on mac and getting error. I installed brew and dependancies, and then run make from directory. Any ideas?

Code: [Select]
Keils-iMac:attract keiljr$ make
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
Compiling obj/fe_base.o...
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:203:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1252:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmax(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:87:14: note: target of using declaration
inline float    fmax(float a, float b) { if (a < b) return b; else return a; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1249:9: note:
      using declaration
using ::fmax;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1276:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmin(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:86:14: note: target of using declaration
inline float    fmin(float a, float b) { if (a < b) return a; else return b; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1273:9: note:
      using declaration
using ::fmin;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1391:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       log2(float __lcpp_x) _NOEXC...
                                             ^
extlibs/gameswf/base/utility.h:105:14: note: target of using declaration
inline float    log2(float f) { return logf(f) / LN_2; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1388:9: note:
      using declaration
using ::log2;
        ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:213:5: warning:
      Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
      [-W#warnings]
#   warning Use of the header <ext/hash_map> is deprecated.  Migrate to ...
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1

retrogam3

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Re: Version 2.3 Released
« Reply #24 on: December 05, 2017, 09:37:25 AM »
Thanks for this...Fixed a ton of issues for me and is running super fast! ;D

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Version 2.3 Released
« Reply #25 on: December 05, 2017, 12:50:17 PM »
Tried compiling on mac and getting error. I installed brew and dependancies, and then run make from directory. Any ideas?

Code: [Select]
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1

I just wanted to confirm I have this same problem compiling on a mac.

estefan3112

  • Full Member
  • ***
  • Posts: 35
    • View Profile
    • Retrogaming on my Mac
Re: Version 2.3 Released
« Reply #26 on: December 05, 2017, 12:56:33 PM »
Great news - Attract Mode starts compiling on the Mac! Thanks to Andrew's great work!
https://github.com/mickelson/attract/issues/390
Right now this makes the trick:
make NO_SWF=1
Tonight I did a manual update of my MacOS app as well as the data in the .attract folder - and it works! See the screenshot in the above post! I understand that Andrew will also try to sort out this last obstacle. I still have to figure out how to create the Mac bundle.
 :D ;D

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Version 2.3 Released
« Reply #27 on: December 05, 2017, 06:21:09 PM »
Thank you guys for the help! With lots of warning, I did it!

Attached is attract-v2.3.0-12.dmg compiled on 10.11.4 with Xcode 7.3.1.

Here’s how I did it:

prerequisites
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)“
  *note* updated instruction newer than step 1. in Compile.md
$ brew update
$ brew install pkg-config ffmpeg sfml libarchive

make binary
$ git clone https://github.com/mickelson/attract.git
$ cd attract
$ make NO_SWF=1
  *note* may also make without additional param by uncommenting line 51 in Makefile

make bundle
$ util/osx/create-pkg.sh NO_SWF=1

continued onto next post due to exceeding maximum allowed character length

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Version 2.3 Released
« Reply #28 on: December 05, 2017, 06:22:26 PM »
continued from previous post due to exceeding maximum allowed character length

make binary output
Code: [Select]
Keils-iMac:attract keiljr$ make NO_SWF=1
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DUSE_SWRESAMPLE -DNO_SWF
Compiling obj/fe_base.o...
Compiling obj/fe_info.o...
Compiling obj/fe_input.o...
Compiling obj/fe_romlist.o...
Compiling obj/fe_settings.o...
Compiling obj/scraper_xml.o...
Compiling obj/scraper_general.o...
Compiling obj/scraper_net.o...
Compiling obj/fe_config.o...
Compiling obj/fe_presentable.o...
Compiling obj/fe_present.o...
Compiling obj/sprite.o...
Compiling obj/fe_image.o...
Compiling obj/fe_sound.o...
Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:554:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x);
                         ^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:562:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:570:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z, w );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:578:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, sf::Shader::CurrentTexture );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:626:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, CurrentTe...
                         ^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                        m_shader.setParameter( name, *texture );
                                 ^
/usr/local/include/SFML/Graphics/Shader.hpp:618:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, const Tex...
                         ^
6 warnings generated.
Compiling obj/fe_overlay.o...
src/fe_overlay.cpp:1575:9: warning: 'setColor' is deprecated
      [-Wdeprecated-declarations]
        cursor.setColor( tp->getColor() );
               ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
1 warning generated.
Compiling obj/fe_window.o...
Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
                m_texts[i].setColor( c );
                           ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
        return m_texts[0].getColor();
                          ^
/usr/local/include/SFML/Graphics/Text.hpp:285:34: note: 'getColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED const Color& getColor() const;
                                 ^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.o...
Compiling obj/main.o...
src/main.cpp:365:10: warning: taking the absolute value of unsigned type 'bool'
      has no effect [-Wabsolute-value]
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^
src/main.cpp:365:10: note: remove the call to 'abs' since unsigned values cannot
      be negative
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^~~~~~~~
src/main.cpp:561:36: warning: 'capture' is deprecated
      [-Wdeprecated-declarations]
  ...sf::Image sshot_img = window.capture();
                                  ^
/usr/local/include/SFML/Graphics/RenderWindow.hpp:140:27: note: 'capture' has
      been explicitly marked deprecated here
    SFML_DEPRECATED Image capture() const;
                          ^
2 warnings generated.
Compiling obj/fe_util_osx.o...
Compiling obj/fe_net.o...
Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                        codec_ctx->refcounted_frames = 1;
                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated
      [-Wdeprecated-declarations]
                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note:
      'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                                        codec_ctx->refcounted_frames = 1;
                                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated
      [-Wdeprecated-declarations]
                                        int len = avcodec_decode_video2...
                                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note:
      'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated
      [-Wdeprecated-declarations]
  ...raw_frame->pts = raw_frame->pkt_pts;
                                 ^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/frame.h:302:13: note: 'pkt_pts'
      has been explicitly marked deprecated here
    int64_t pkt_pts;
            ^
src/media.cpp:1020:73: warning: 'codec' is deprecated
      [-Wdeprecated-declarations]
  ...*codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                           ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note:
      'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1075:73: warning: 'codec' is deprecated
      [-Wdeprecated-declarations]
  ...*codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                           ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note:
      'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                m_audio->codec_ctx->refcounted_frames = 1;
                                    ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:1241:13: warning: 'avcodec_decode_audio4' is deprecated
      [-Wdeprecated-declarations]
                int len = avcodec_decode_audio4( m_audio->codec_ctx, fra...
                          ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4944:5: note:
      'avcodec_decode_audio4' has been explicitly marked deprecated here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
    ^
9 warnings generated.
mkdir -p obj/expat
Compiling obj/expat/xmlparse.o...
extlibs/expat/xmlparse.c:1568:18: warning: implicit conversion from enumeration
      type 'enum XML_Status' to different enumeration type 'enum XML_Error'
      [-Wenum-conversion]
        result = XML_STATUS_SUSPENDED;
               ~ ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/expat.h:51:30: note: expanded from macro 'XML_STATUS_SUSPENDED'
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
                             ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1578:18: warning: implicit conversion from enumeration
      type 'enum XML_Status' to different enumeration type 'enum XML_Error'
      [-Wenum-conversion]
        result = XML_STATUS_OK;
               ~ ^~~~~~~~~~~~~
extlibs/expat/expat.h:49:23: note: expanded from macro 'XML_STATUS_OK'
#define XML_STATUS_OK XML_STATUS_OK
                      ^~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1608:12: warning: implicit conversion from enumeration
      type 'enum XML_Error' to different enumeration type 'enum XML_Status'
      [-Wenum-conversion]
    return result;
    ~~~~~~ ^~~~~~
3 warnings generated.
Compiling obj/expat/xmlrole.o...
Compiling obj/expat/xmltok.o...
Archiving obj/libexpat.a...
mkdir -p obj/squirrel
Compiling obj/squirrel/sqapi.o...
Compiling obj/squirrel/sqbaselib.o...
Compiling obj/squirrel/sqfuncstate.o...
Compiling obj/squirrel/sqdebug.o...
Compiling obj/squirrel/sqlexer.o...
Compiling obj/squirrel/sqobject.o...
Compiling obj/squirrel/sqcompiler.o...
Compiling obj/squirrel/sqstate.o...
Compiling obj/squirrel/sqtable.o...
Compiling obj/squirrel/sqmem.o...
Compiling obj/squirrel/sqvm.o...
Compiling obj/squirrel/sqclass.o...
Archiving obj/libsquirrel.a...
mkdir -p obj/sqstdlib
Compiling obj/sqstdlib/sqstdblob.o...
Compiling obj/sqstdlib/sqstdio.o...
Compiling obj/sqstdlib/sqstdstream.o...
Compiling obj/sqstdlib/sqstdmath.o...
Compiling obj/sqstdlib/sqstdstring.o...
Compiling obj/sqstdlib/sqstdaux.o...
Compiling obj/sqstdlib/sqstdsystem.o...
Compiling obj/sqstdlib/sqstdrex.o...
Archiving obj/libsqstdlib.a...
mkdir -p obj/audiolib
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libaudio.a...
Creating executable: attract

continued onto next post due to exceeding maximum allowed character length

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Version 2.3 Released
« Reply #29 on: December 05, 2017, 06:23:02 PM »
continued from previous post due to exceeding maximum allowed character length

make bundle output
Code: [Select]
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:203:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1252:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmax(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:87:14: note: target of using declaration
inline float    fmax(float a, float b) { if (a < b) return b; else return a; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1249:9: note:
      using declaration
using ::fmax;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1276:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmin(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:86:14: note: target of using declaration
inline float    fmin(float a, float b) { if (a < b) return a; else return b; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1273:9: note:
      using declaration
using ::fmin;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1391:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       log2(float __lcpp_x) _NOEXC...
                                             ^
extlibs/gameswf/base/utility.h:105:14: note: target of using declaration
inline float    log2(float f) { return logf(f) / LN_2; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1388:9: note:
      using declaration
using ::log2;
        ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:213:5: warning:
      Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
      [-W#warnings]
#   warning Use of the header <ext/hash_map> is deprecated.  Migrate to ...
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR in /Users/keiljr/Projects/attract/util/osx/create-pkg.sh : line 55 exit code 2
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh NO_SWF=1
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DUSE_SWRESAMPLE -DNO_SWF
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
Compiling obj/fe_info.o...
Compiling obj/fe_input.o...
Compiling obj/fe_romlist.o...
Compiling obj/fe_settings.o...
Compiling obj/scraper_xml.o...
Compiling obj/scraper_general.o...
Compiling obj/fe_presentable.o...
Compiling obj/fe_present.o...
Compiling obj/sprite.o...
Compiling obj/fe_image.o...
Compiling obj/fe_sound.o...
Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:554:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x);
                         ^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:562:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
                         ^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:570:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
                         ^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z, w );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:578:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
                         ^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, sf::Shader::CurrentTexture );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:626:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
                         ^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                        m_shader.setParameter( name, *texture );
                                 ^
/usr/local/include/SFML/Graphics/Shader.hpp:618:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
                         ^
6 warnings generated.
Compiling obj/fe_overlay.o...
src/fe_overlay.cpp:1575:9: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
        cursor.setColor( tp->getColor() );
               ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
1 warning generated.
Compiling obj/fe_window.o...
Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
                m_texts[i].setColor( c );
                           ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
        return m_texts[0].getColor();
                          ^
/usr/local/include/SFML/Graphics/Text.hpp:285:34: note: 'getColor' has been explicitly marked deprecated here
    SFML_DEPRECATED const Color& getColor() const;
                                 ^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.o...
Compiling obj/fe_config.o...
Compiling obj/scraper_net.o...
Compiling obj/fe_net.o...
Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                        codec_ctx->refcounted_frames = 1;
                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                                        codec_ctx->refcounted_frames = 1;
                                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
                                                raw_frame->pts = raw_frame->pkt_pts;
                                                                            ^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/frame.h:302:13: note: 'pkt_pts' has been explicitly marked deprecated here
    int64_t pkt_pts;
            ^
src/media.cpp:1020:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                                                             ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1075:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                                                             ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                m_audio->codec_ctx->refcounted_frames = 1;
                                    ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:1241:13: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
                int len = avcodec_decode_audio4( m_audio->codec_ctx, frame, &got_frame, packet );
                          ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4944:5: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
    ^
9 warnings generated.
Compiling obj/expat/xmlparse.o...
extlibs/expat/xmlparse.c:1568:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
        result = XML_STATUS_SUSPENDED;
               ~ ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/expat.h:51:30: note: expanded from macro 'XML_STATUS_SUSPENDED'
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
                             ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1578:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
        result = XML_STATUS_OK;
               ~ ^~~~~~~~~~~~~
extlibs/expat/expat.h:49:23: note: expanded from macro 'XML_STATUS_OK'
#define XML_STATUS_OK XML_STATUS_OK
                      ^~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1608:12: warning: implicit conversion from enumeration type 'enum XML_Error' to different enumeration type 'enum XML_Status' [-Wenum-conversion]
    return result;
    ~~~~~~ ^~~~~~
3 warnings generated.
Compiling obj/expat/xmlrole.o...
Compiling obj/expat/xmltok.o...
Compiling obj/squirrel/sqapi.o...
Compiling obj/squirrel/sqbaselib.o...
Compiling obj/squirrel/sqfuncstate.o...
Compiling obj/squirrel/sqdebug.o...
Compiling obj/squirrel/sqlexer.o...
Compiling obj/squirrel/sqobject.o...
Compiling obj/squirrel/sqcompiler.o...
Compiling obj/squirrel/sqstate.o...
Compiling obj/squirrel/sqtable.o...
Compiling obj/squirrel/sqmem.o...
Compiling obj/squirrel/sqvm.o...
Compiling obj/squirrel/sqclass.o...
Compiling obj/sqstdlib/sqstdblob.o...
Compiling obj/sqstdlib/sqstdio.o...
Compiling obj/sqstdlib/sqstdstream.o...
Compiling obj/sqstdlib/sqstdmath.o...
Compiling obj/sqstdlib/sqstdstring.o...
Compiling obj/sqstdlib/sqstdaux.o...
Compiling obj/sqstdlib/sqstdsystem.o...
Compiling obj/sqstdlib/sqstdrex.o...
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libexpat.a...
Archiving obj/libsquirrel.a...
Archiving obj/libsqstdlib.a...
Archiving obj/libaudio.a...
Compiling obj/fe_util_osx.o...
Compiling obj/main.o...
src/main.cpp:365:10: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^
src/main.cpp:365:10: note: remove the call to 'abs' since unsigned values cannot be negative
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^~~~~~~~
src/main.cpp:561:36: warning: 'capture' is deprecated [-Wdeprecated-declarations]
                                                sf::Image sshot_img = window.capture();
                                                                             ^
/usr/local/include/SFML/Graphics/RenderWindow.hpp:140:27: note: 'capture' has been explicitly marked deprecated here
    SFML_DEPRECATED Image capture() const;
                          ^
2 warnings generated.
Creating executable: attract
/libsfml-window.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
...
created: /Users/keiljr/Projects/attract/attract-v2.3.0-12.dmg