Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.08k stars 905 forks source link

Fail make -j2 at 96% #818

Open limbail opened 4 years ago

limbail commented 4 years ago

I dont know exactly why this fail. still trying...

Archlinux Raspberry pi4

[ 96%] Building CXX object es-app/CMakeFiles/emulationstation.dir/src/views/gamelist/ISimpleGameListView.cpp.o
En el fichero incluido desde /home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.h:3,
                 desde /home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:1:
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:37:7: error: ‘stack’ in namespace ‘std’ does not name a template type
   37 |  std::stack<FileData*> mCursorStack;
      |       ^~~~~
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:7:1: nota: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
    6 | #include "components/ImageComponent.h"
  +++ |+#include <stack>
    7 |
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp: En la función miembro ‘virtual void BasicGameListView::setCursor(FileData*)’:
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:63:6: error: ‘mCursorStack’ was not declared in this scope; did you mean ‘CursorState’?
   63 |   if(mCursorStack.empty() || mCursorStack.top() != cursor->getParent())
      |      ^~~~~~~~~~~~
      |      CursorState
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:65:9: error: ‘stack’ no es un miembro de ‘std’
   65 |    std::stack<FileData*> tmp;
      |         ^~~~~
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:8:1: nota: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
    7 | #include "Settings.h"
  +++ |+#include <stack>
    8 |
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:65:23: error: expected primary-expression before ‘*’ token
   65 |    std::stack<FileData*> tmp;
      |                       ^
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:65:24: error: expected primary-expression before ‘>’ token
   65 |    std::stack<FileData*> tmp;
      |                        ^
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:65:26: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’?
   65 |    std::stack<FileData*> tmp;
      |                          ^~~
      |                          tm
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:74:24: error: ‘stack’ no es un miembro de ‘std’
   74 |    mCursorStack = std::stack<FileData*>();
      |                        ^~~~~
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:74:24: nota: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:74:38: error: expected primary-expression before ‘*’ token
   74 |    mCursorStack = std::stack<FileData*>();
      |                                      ^
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:74:39: error: expected primary-expression before ‘>’ token
   74 |    mCursorStack = std::stack<FileData*>();
      |                                       ^
/home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.cpp:74:41: error: expected primary-expression before ‘)’ token
   74 |    mCursorStack = std::stack<FileData*>();
      |                                         ^
En el fichero incluido desde /home/myuser/EmulationStation/es-app/src/views/gamelist/BasicGameListView.h:3,
                 desde /home/myuser/EmulationStation/es-app/src/views/gamelist/DetailedGameListView.h:3,
                 desde /home/myuser/EmulationStation/es-app/src/views/gamelist/DetailedGameListView.cpp:1:
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:37:7: error: ‘stack’ in namespace ‘std’ does not name a template type
   37 |  std::stack<FileData*> mCursorStack;
      |       ^~~~~
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:7:1: nota: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
    6 | #include "components/ImageComponent.h"
  +++ |+#include <stack>
    7 |
make[2]: *** [es-app/CMakeFiles/emulationstation.dir/build.make:395: es-app/CMakeFiles/emulationstation.dir/src/views/gamelist/BasicGameListView.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
En el fichero incluido desde /home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.cpp:1:
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:37:7: error: ‘stack’ in namespace ‘std’ does not name a template type
   37 |  std::stack<FileData*> mCursorStack;
      |       ^~~~~
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.h:7:1: nota: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
    6 | #include "components/ImageComponent.h"
  +++ |+#include <stack>
    7 |
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.cpp: En la función miembro ‘virtual bool ISimpleGameListView::input(InputConfig*, Input)’:
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.cpp:69:6: error: ‘mCursorStack’ was not declared in this scope; did you mean ‘CursorState’?
   69 |      mCursorStack.push(cursor);
      |      ^~~~~~~~~~~~
      |      CursorState
/home/myuser/EmulationStation/es-app/src/views/gamelist/ISimpleGameListView.cpp:77:7: error: ‘mCursorStack’ was not declared in this scope; did you mean ‘CursorState’?
   77 |    if(mCursorStack.size())
      |       ^~~~~~~~~~~~
      |       CursorState
make[2]: *** [es-app/CMakeFiles/emulationstation.dir/build.make:408: es-app/CMakeFiles/emulationstation.dir/src/views/gamelist/DetailedGameListView.cpp.o] Error 1
make[2]: *** [es-app/CMakeFiles/emulationstation.dir/build.make:434: es-app/CMakeFiles/emulationstation.dir/src/views/gamelist/ISimpleGameListView.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:279: es-app/CMakeFiles/emulationstation.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
sirlark commented 2 years ago

This is still a problem in Oct 2022