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

Compilation error - missing include? #334

Open
JuniorJPDJ opened this issue Jun 14, 2020 · 1 comment
Open

Compilation error - missing include? #334

JuniorJPDJ opened this issue Jun 14, 2020 · 1 comment
Labels
legacy (unsupported) Now unsupported, only compatible with 0.12-1.13.0.6, 1.13.0.15, 1.13.0.34, 1.14.1.3, 1.14.1.5

Comments

@JuniorJPDJ
Copy link

Hi!
I can't compile this.
I'm using this PKGBUILD on Arch Linux: https://aur.archlinux.org/packages/mcpelauncher-linux-git/

The error looks like you are missing some header (<stdexcept> ? ).

/home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/linux-gamepad/src/linux_joystick_manager.cpp:16:24: error: ‘runtime_error’ is not a member of ‘std’                                                             
   16 |             throw std::runtime_error("Failed to initialize udev");                                                                                                                                                                   
      |                        ^~~~~~~~~~~~~                                                                                                                                                                                                 
In file included from /home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/minecraft-symbols/include/minecraft/Social.h:4,                                                                                           
                 from /home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/minecraft-symbols/include/minecraft/MinecraftScreenModel.h:4,                                                                             
                 from /home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/minecraft-symbols/src/symbols.cpp:355:                                                                                                    
/home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/minecraft-symbols/include/minecraft/Xbox.h: In copy constructor ‘pplx::cancellation_token::cancellation_token(const pplx::cancellation_token&)’:                
/home/juniorjpdj/.cache/yay/mcpelauncher-linux-git/src/mcpelauncher-manifest/minecraft-symbols/include/minecraft/Xbox.h:190:24: error: ‘runtime_error’ is not a member of ‘std’                                                              
  190 |             throw std::runtime_error("Only null cancellation_token are supported");                                                                                                                                                  
      |                        ^~~~~~~~~~~~~
@ChristopherHX
Copy link
Member

This gcc-10+ issue is only fixed in ng https://github.com/minecraft-linux/mcpelauncher-manifest/tree/ng and my fork https://github.com/ChristopherHX/mcpelauncher-manifest

The current AUR packages still pull the deprecated (unsupported) stable master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy (unsupported) Now unsupported, only compatible with 0.12-1.13.0.6, 1.13.0.15, 1.13.0.34, 1.14.1.3, 1.14.1.5
Projects
None yet
Development

No branches or pull requests

2 participants