Dolphin, the GameCube and Wii emulator - Forums

Full Version: dolphin nightly doesn't compile fedora 26
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

yayiguess

Using this commit I end up getting this when running make -j8
Code:
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp: In member function ‘virtual bool cInterfaceGLX::Create(void*, bool, bool)’:
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:8: error: ‘GLX_CONTEXT_PROFILE_MASK_ARB’ was not declared in this scope
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:8: note: suggested alternative: ‘GLX_CONTEXT_MINOR_VERSION_ARB’
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
       GLX_CONTEXT_MINOR_VERSION_ARB
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:38: error: ‘GLX_CONTEXT_CORE_PROFILE_BIT_ARB’ was not declared in this scope
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:38: note: suggested alternative: ‘GLX_CONTEXT_MINOR_VERSION_ARB’
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     GLX_CONTEXT_MINOR_VERSION_ARB
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:72: error: ‘GLX_CONTEXT_FLAGS_ARB’ was not declared in this scope
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
                                                                       ^~~~~~~~~~~~~~~~~~~~~
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:117:72: note: suggested alternative: ‘GL_CONSTANT_ARB’
       GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB,
                                                                       ^~~~~~~~~~~~~~~~~~~~~
                                                                       GL_CONSTANT_ARB
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:118:8: error: ‘GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB’ was not declared in this scope
       GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, None}};
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/dolphin-emu/Source/Core/Common/GL/GLInterface/GLX.cpp:118:8: note: suggested alternative: ‘GLX_CONTEXT_MINOR_VERSION_ARB’
       GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, None}};
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       GLX_CONTEXT_MINOR_VERSION_ARB
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/build.make:1191: Source/Core/Common/CMakeFiles/common.dir/GL/GLInterface/GLX.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1046: Source/Core/Common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

I have compiled dolphin before with no trouble, I reinstalled all dependencies and I'm using the nvidia proprietary drivers but nothing has helped, any ideas on what is wrong?

yayiguess

Ended up solving the issue by using the suggested alternatives and then uninstalling CUDA ¯\_(ツ)_/¯