Author Topic: Compiling on Linux  (Read 643 times)

Klassic Six

  • Newbie
  • *
  • Posts: 1
    • View Profile
Compiling on Linux
« on: September 21, 2016, 11:40:08 AM »
Hi!

I'm trying to compile Reicast on Linux x86_64 platform, Fedora 24 GCC 6.1.1

Code: [Select]
../../core/linux-dist/evdev.cpp:288:65:   required from here
/usr/include/c++/6.1.1/tuple:1586:70: error: use of deleted function ‘EvdevControllerMapping::EvdevControllerMapping()’
         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
                                                                      ^
In file included from ../../core/linux-dist/evdev.cpp:4:0:
../../core/linux-dist/evdev.h:5:8: note: ‘EvdevControllerMapping::EvdevControllerMapping()’ is implicitly deleted because the default definition would be ill-formed:
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
../../core/linux-dist/evdev.h:8:12: note: ‘const int EvdevControllerMapping::Btn_A’ should be initialized
  const int Btn_A;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:9:12: note: ‘const int EvdevControllerMapping::Btn_B’ should be initialized
  const int Btn_B;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:10:12: note: ‘const int EvdevControllerMapping::Btn_C’ should be initialized
  const int Btn_C;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:11:12: note: ‘const int EvdevControllerMapping::Btn_D’ should be initialized
  const int Btn_D;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:12:12: note: ‘const int EvdevControllerMapping::Btn_X’ should be initialized
  const int Btn_X;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:13:12: note: ‘const int EvdevControllerMapping::Btn_Y’ should be initialized
  const int Btn_Y;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:14:12: note: ‘const int EvdevControllerMapping::Btn_Z’ should be initialized
  const int Btn_Z;
            ^~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:15:12: note: ‘const int EvdevControllerMapping::Btn_Start’ should be initialized
  const int Btn_Start;
            ^~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:16:12: note: ‘const int EvdevControllerMapping::Btn_Escape’ should be initialized
  const int Btn_Escape;
            ^~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:17:12: note: ‘const int EvdevControllerMapping::Btn_DPad_Left’ should be initialized
  const int Btn_DPad_Left;
            ^~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:18:12: note: ‘const int EvdevControllerMapping::Btn_DPad_Right’ should be initialized
  const int Btn_DPad_Right;
            ^~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:19:12: note: ‘const int EvdevControllerMapping::Btn_DPad_Up’ should be initialized
  const int Btn_DPad_Up;
            ^~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:20:12: note: ‘const int EvdevControllerMapping::Btn_DPad_Down’ should be initialized
  const int Btn_DPad_Down;
            ^~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:21:12: note: ‘const int EvdevControllerMapping::Btn_DPad2_Left’ should be initialized
  const int Btn_DPad2_Left;
            ^~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:22:12: note: ‘const int EvdevControllerMapping::Btn_DPad2_Right’ should be initialized
  const int Btn_DPad2_Right;
            ^~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:23:12: note: ‘const int EvdevControllerMapping::Btn_DPad2_Up’ should be initialized
  const int Btn_DPad2_Up;
            ^~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:24:12: note: ‘const int EvdevControllerMapping::Btn_DPad2_Down’ should be initialized
  const int Btn_DPad2_Down;
            ^~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:25:12: note: ‘const int EvdevControllerMapping::Btn_Trigger_Left’ should be initialized
  const int Btn_Trigger_Left;
            ^~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:26:12: note: ‘const int EvdevControllerMapping::Btn_Trigger_Right’ should be initialized
  const int Btn_Trigger_Right;
            ^~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:27:12: note: ‘const int EvdevControllerMapping::Axis_DPad_X’ should be initialized
  const int Axis_DPad_X;
            ^~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:28:12: note: ‘const int EvdevControllerMapping::Axis_DPad_Y’ should be initialized
  const int Axis_DPad_Y;
            ^~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:29:12: note: ‘const int EvdevControllerMapping::Axis_DPad2_X’ should be initialized
  const int Axis_DPad2_X;
            ^~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:30:12: note: ‘const int EvdevControllerMapping::Axis_DPad2_Y’ should be initialized
  const int Axis_DPad2_Y;
            ^~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:31:12: note: ‘const int EvdevControllerMapping::Axis_Analog_X’ should be initialized
  const int Axis_Analog_X;
            ^~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:32:12: note: ‘const int EvdevControllerMapping::Axis_Analog_Y’ should be initialized
  const int Axis_Analog_Y;
            ^~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:33:12: note: ‘const int EvdevControllerMapping::Axis_Trigger_Left’ should be initialized
  const int Axis_Trigger_Left;
            ^~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:34:12: note: ‘const int EvdevControllerMapping::Axis_Trigger_Right’ should be initialized
  const int Axis_Trigger_Right;
            ^~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:35:13: note: ‘const bool EvdevControllerMapping::Axis_Analog_X_Inverted’ should be initialized
  const bool Axis_Analog_X_Inverted;
             ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:36:13: note: ‘const bool EvdevControllerMapping::Axis_Analog_Y_Inverted’ should be initialized
  const bool Axis_Analog_Y_Inverted;
             ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:37:13: note: ‘const bool EvdevControllerMapping::Axis_Trigger_Left_Inverted’ should be initialized
  const bool Axis_Trigger_Left_Inverted;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:5:8: error: uninitialized const member in ‘struct EvdevControllerMapping’
 struct EvdevControllerMapping
        ^~~~~~~~~~~~~~~~~~~~~~
../../core/linux-dist/evdev.h:38:13: note: ‘const bool EvdevControllerMapping::Axis_Trigger_Right_Inverted’ should be initialized
  const bool Axis_Trigger_Right_Inverted;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:317: recipe for target 'obj-dreamcast-x64-sse4_1/linux-dist/evdev.build_obj' failed
make: *** [obj-dreamcast-x64-sse4_1/linux-dist/evdev.build_obj] Error 1
« Last Edit: September 21, 2016, 12:19:23 PM by Klassic Six »