Dolphin Build

The core is currently not available as download? Does the buildbot compile the git repo and provide the core as download?

Not All Cores are Back Up but Read that all be back when the New Server is Up

1 Like

Thanks Dave. I was already surprised that dolphin was missing.

1 Like

in the meantime, you can use my old backup if you want: https://cdn.discordapp.com/attachments/469974542299955210/748181066157785128/dolphin_libretro.dll

4 Likes

Thanks a lot Hunter :blush:

2 Likes

Dudes, I’m needing help with errors with dolphin core build from source. I’m using MSYS2 for compiling but I’m getting these errors: [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/RemoveTree.cpp.obj [ 4%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Scan.cpp.obj In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:1581, from C:/msys64/mingw64/x86_64-w64-mingw32/include/locale.h:12, from C:/msys64/mingw64/include/c++/10.2.0/clocale:42, from C:/msys64/mingw64/include/c++/10.2.0/x86_64-w64-mingw32/bits/c++locale.h:41, from C:/msys64/mingw64/include/c++/10.2.0/bits/localefwd.h:40, from C:/msys64/mingw64/include/c++/10.2.0/string:43, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:103, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:520:23: error: conflicting declaration of β€˜int sprintf_s(char*, size_t, const char*, …)’ with β€˜C’ linkage 520 | _SECIMP int __cdecl sprintf_s(char *_DstBuf,size_t _DstSize,const char *_Format,…); | ^~~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:56:22: note: previous declaration with β€˜C++’ linkage 56 | #define snprintf sprintf_s | ^~~~~~~~~ In file included from C:/msys64/mingw64/include/c++/10.2.0/ext/string_conversions.h:43, from C:/msys64/mingw64/include/c++/10.2.0/bits/basic_string.h:6535, from C:/msys64/mingw64/include/c++/10.2.0/string:55, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:103, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/mingw64/include/c++/10.2.0/cstdio:175:11: error: β€˜snprintf’ has not been declared in β€˜::’ 175 | using ::snprintf; | ^~~~~~~~ C:/msys64/mingw64/include/c++/10.2.0/cstdio:185:22: error: β€˜snprintf’ has not been declared in β€˜__gnu_cxx’ 185 | using ::__gnu_cxx::snprintf;

Here the entire log for β€˜cmake’ and β€˜make’ commands:

CMAKE

Caio@Caio-PC MINGW64 ~

cd dolphin/build/

Caio@Caio-PC MINGW64 ~/dolphin/build

cmake -G β€œMSYS Makefiles” …

– The C compiler identification is GNU 10.2.0 – The CXX compiler identification is GNU 10.2.0 – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - skipped – Detecting C compile features – Detecting C compile features - done – Detecting CXX compiler ABI info – Detecting CXX compiler ABI info - done – Check for working CXX compiler: C:/msys64/mingw64/bin/g++.exe - skipped – Detecting CXX compile features – Detecting CXX compile features - done – Found Git: C:/msys64/usr/bin/git.exe (found version β€œ2.29.2”) – Detected architecture: AMD64 – Performing Test FLAG_C_HAVE_SSE2 – Performing Test FLAG_C_HAVE_SSE2 - Success – Performing Test FLAG_CXX_HAVE_SSE2 – Performing Test FLAG_CXX_HAVE_SSE2 - Success – Performing Test FLAG_C_HAVE_WALL – Performing Test FLAG_C_HAVE_WALL - Success – Performing Test FLAG_CXX_HAVE_WALL – Performing Test FLAG_CXX_HAVE_WALL - Success – Performing Test FLAG_C_TYPE_LIMITS – Performing Test FLAG_C_TYPE_LIMITS - Success – Performing Test FLAG_CXX_TYPE_LIMITS – Performing Test FLAG_CXX_TYPE_LIMITS - Success – Performing Test FLAG_C_SIGN_COMPARE – Performing Test FLAG_C_SIGN_COMPARE - Success – Performing Test FLAG_CXX_SIGN_COMPARE – Performing Test FLAG_CXX_SIGN_COMPARE - Success – Performing Test FLAG_C_IGNORED_QUALIFIERS – Performing Test FLAG_C_IGNORED_QUALIFIERS - Success – Performing Test FLAG_CXX_IGNORED_QUALIFIERS – Performing Test FLAG_CXX_IGNORED_QUALIFIERS - Success – Performing Test FLAG_C_UNINITIALIZED – Performing Test FLAG_C_UNINITIALIZED - Success – Performing Test FLAG_CXX_UNINITIALIZED – Performing Test FLAG_CXX_UNINITIALIZED - Success – Performing Test FLAG_C_LOGICAL_OP – Performing Test FLAG_C_LOGICAL_OP - Success – Performing Test FLAG_CXX_LOGICAL_OP – Performing Test FLAG_CXX_LOGICAL_OP - Success – Performing Test FLAG_C_SHADOW – Performing Test FLAG_C_SHADOW - Success – Performing Test FLAG_CXX_SHADOW – Performing Test FLAG_CXX_SHADOW - Success – Performing Test FLAG_C_INIT_SELF – Performing Test FLAG_C_INIT_SELF - Success – Performing Test FLAG_CXX_INIT_SELF – Performing Test FLAG_CXX_INIT_SELF - Success – Performing Test FLAG_C_MISSING_DECLARATIONS – Performing Test FLAG_C_MISSING_DECLARATIONS - Success – Performing Test FLAG_CXX_MISSING_DECLARATIONS – Performing Test FLAG_CXX_MISSING_DECLARATIONS - Success – Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS – Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS - Failed – Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS – Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS - Failed – Performing Test FLAG_C_NO_STRICT_ALIASING – Performing Test FLAG_C_NO_STRICT_ALIASING - Success – Performing Test FLAG_CXX_NO_STRICT_ALIASING – Performing Test FLAG_CXX_NO_STRICT_ALIASING - Success – Performing Test FLAG_C_NO_EXCEPTIONS – Performing Test FLAG_C_NO_EXCEPTIONS - Success – Performing Test FLAG_CXX_NO_EXCEPTIONS – Performing Test FLAG_CXX_NO_EXCEPTIONS - Success – Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN – Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN - Failed – Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN – Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN - Success – Performing Test FLAG_C_VISIBILITY_HIDDEN – Performing Test FLAG_C_VISIBILITY_HIDDEN - Success – Performing Test FLAG_CXX_VISIBILITY_HIDDEN – Performing Test FLAG_CXX_VISIBILITY_HIDDEN - Success – Performing Test FLAG_C_FOMIT_FRAME_POINTER – Performing Test FLAG_C_FOMIT_FRAME_POINTER - Success – Performing Test FLAG_CXX_FOMIT_FRAME_POINTER – Performing Test FLAG_CXX_FOMIT_FRAME_POINTER - Success – Performing Test FLAG_C_GGDB – Performing Test FLAG_C_GGDB - Success – Performing Test FLAG_CXX_GGDB – Performing Test FLAG_CXX_GGDB - Success – Looking for pthread.h – Looking for pthread.h - found – Performing Test CMAKE_HAVE_LIBC_PTHREAD – Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success – Found Threads: TRUE – Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version β€œ1.7.3”) – Found OpenGL: opengl32 – Found avcodec: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libavcodec.dll.a – Found avdevice: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libavdevice.dll.a – Found avfilter: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libavfilter.dll.a – Found avformat: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libavformat.dll.a – Found avutil: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libavutil.dll.a – Found swresample: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libswresample.dll.a – Found swscale: C:/msys64/mingw64/include C:/msys64/mingw64/lib/libswscale.dll.a – Found FFmpeg: C:/msys64/mingw64/include found components: avcodec avformat avutil swscale – libav/ffmpeg found, enabling AVI frame dumps – Enabling analytics collection (subject to end-user opt-in) – Performing Test FLAG_C_CXX11 – Performing Test FLAG_C_CXX11 - Failed – Performing Test FLAG_CXX_CXX11 – Performing Test FLAG_CXX_CXX11 - Success – Using shared fmt 7.1.3 – Found pugixml: C:/msys64/mingw64/lib/libpugixml.dll.a – Using static enet from Externals CMake Deprecation Warning at Externals/enet/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a … suffix to tell CMake that the project does not need compatibility with older versions.

– Looking for fcntl – Looking for fcntl - not found – Looking for poll – Looking for poll - not found – Looking for getaddrinfo – Looking for getaddrinfo - not found – Looking for getnameinfo – Looking for getnameinfo - not found – Looking for gethostbyname_r – Looking for gethostbyname_r - not found – Looking for gethostbyaddr_r – Looking for gethostbyaddr_r - not found – Looking for inet_pton – Looking for inet_pton - not found – Looking for inet_ntop – Looking for inet_ntop - not found – Performing Test HAS_MSGHDR_FLAGS – Performing Test HAS_MSGHDR_FLAGS - Failed – Check size of socklen_t – Check size of socklen_t - failed – Using static xxhash from Externals – Found BZip2: C:/msys64/mingw64/lib/libbz2.dll.a (found version β€œ1.0.8”) – Looking for BZ2_bzCompressInit – Looking for BZ2_bzCompressInit - found – Using shared bzip2 – Looking for lzma_auto_decoder in C:/msys64/mingw64/lib/liblzma.dll.a – Looking for lzma_auto_decoder in C:/msys64/mingw64/lib/liblzma.dll.a - found – Looking for lzma_easy_encoder in C:/msys64/mingw64/lib/liblzma.dll.a – Looking for lzma_easy_encoder in C:/msys64/mingw64/lib/liblzma.dll.a - found – Looking for lzma_lzma_preset in C:/msys64/mingw64/lib/liblzma.dll.a – Looking for lzma_lzma_preset in C:/msys64/mingw64/lib/liblzma.dll.a - found – Found LibLZMA: C:/msys64/mingw64/lib/liblzma.dll.a (found version β€œ5.2.5”) – Looking for lzma.h – Looking for lzma.h - found – Using shared lzma – Shared zstd not found, falling back to the static library – Looking for sys/types.h – Looking for sys/types.h - found – Looking for stdint.h – Looking for stdint.h - found – Looking for stddef.h – Looking for stddef.h - found – Check size of off64_t – Check size of off64_t - done – Looking for fseeko – Looking for fseeko - found – Looking for unistd.h – Looking for unistd.h - found – Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version β€œ1.2.11”) – Using shared zlib – Checking for module β€˜minizip>=2.0.0’ – Package dependency requirement β€˜minizip >= 2.0.0’ could not be satisfied. Package β€˜minizip’ has version β€˜1.2’, required version is β€˜>= 2.0.0’ – Shared minizip not found, falling back to the static library – Using shared lzo – Using shared libpng – Using static FreeSurround from Externals – Using ed25519 from Externals CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (CUBEB) does not match the name of the calling package (Cubeb). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): CMake/FindCubeb.cmake:6 (find_package_handle_standard_args) CMakeLists.txt:698 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

– Could NOT find CUBEB (missing: CUBEB_INCLUDE_DIR CUBEB_LIBRARY) – Using static cubeb from Externals – Performing Test COMPILER_HAS_DEPRECATED_ATTR – Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success – Looking for include file AudioUnit/AudioUnit.h – Looking for include file AudioUnit/AudioUnit.h - not found – Looking for include file pulse/pulseaudio.h – Looking for include file pulse/pulseaudio.h - not found – Looking for include file alsa/asoundlib.h – Looking for include file alsa/asoundlib.h - not found – Looking for include file jack/jack.h – Looking for include file jack/jack.h - found – Looking for include file audioclient.h – Looking for include file audioclient.h - found – Looking for include files windows.h, mmsystem.h – Looking for include files windows.h, mmsystem.h - found – Looking for include file SLES/OpenSLES.h – Looking for include file SLES/OpenSLES.h - found – Looking for include file android/log.h – Looking for include file android/log.h - not found – Looking for include file sndio.h – Looking for include file sndio.h - not found – Looking for include file kai.h – Looking for include file kai.h - not found – Checking for module β€˜libusb-1.0’ – Found libusb-1.0, version 1.0.23 – Found libusb-1.0: C:/msys64/mingw64/include/libusb-1.0, C:/msys64/mingw64/lib/libusb-1.0.dll.a – Using shared LibUSB – Found SFML 2.5 in C:/msys64/mingw64/include – Using shared SFML CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (MINIUPNPC) does not match the name of the calling package (Miniupnpc). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): CMake/FindMiniupnpc.cmake:15 (find_package_handle_standard_args) CMakeLists.txt:740 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

– Found MINIUPNPC: C:/msys64/mingw64/include/miniupnpc – Using shared miniupnpc – Performing Test MBEDTLS_VERSION_OK – Performing Test MBEDTLS_VERSION_OK - Success CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (MBEDTLS) does not match the name of the calling package (MbedTLS). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): CMake/FindMbedTLS.cmake:20 (find_package_handle_standard_args) CMakeLists.txt:753 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

– Found MBEDTLS: C:/msys64/mingw64/include – Using shared mbed TLS – Found CURL: C:/msys64/mingw64/lib/libcurl.dll.a (found version β€œ7.73.0”) – Using shared libcurl – Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR) – Using static HIDAPI from Externals – Using static DiscordRPC from Externals CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (PkgConfig) does not match the name of the calling package (Libsystemd). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): C:/msys64/mingw64/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args) CMake/FindLibsystemd.cmake:1 (include) CMakeLists.txt:808 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (SYSTEMD) does not match the name of the calling package (Libsystemd). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): CMake/FindLibsystemd.cmake:21 (find_package_handle_standard_args) CMakeLists.txt:808 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

– Could NOT find SYSTEMD (missing: SYSTEMD_LIBRARIES SYSTEMD_INCLUDE_DIRS) – libsystemd not found, disabling traversal server watchdog support – Using static gtest from Externals CMake Deprecation Warning at Externals/gtest/CMakeLists.txt:53 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a … suffix to tell CMake that the project does not need compatibility with older versions.

– Found PythonInterp: C:/msys64/mingw64/bin/python.exe (found version β€œ3.8.6”) – Could NOT find OpenSLES (missing: OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR) – Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) – ALSA NOT found, disabling ALSA sound backend CMake Warning (dev) at C:/msys64/mingw64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to find_package_handle_standard_args (PkgConfig) does not match the name of the calling package (PulseAudio). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): C:/msys64/mingw64/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args) CMake/FindPulseAudio.cmake:9 (include) Source/Core/AudioCommon/CMakeLists.txt:51 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

– PulseAudio NOT found, disabling PulseAudio sound backend – Found SDL2: C:/msys64/mingw64/lib/libSDL2.dll.a – Using shared SDL2 – LLVM found, enabling LLVM support in disassembler – Found Qt version 5.15.1 – Found Gettext: C:/msys64/mingw64/bin/msgmerge.exe (found version β€œ0.19.8.1”) – Configuring done – Generating done – Build files have been written to: C:/msys64/home/Caio/dolphin/build

MAKE Caio@Caio-PC MINGW64 ~/dolphin/build

make

Scanning dependencies of target bdisasm [ 0%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/dis_decode.cc.obj [ 1%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/dis_groups.cc.obj [ 1%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/resolve.cc.obj [ 1%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/syntax.cc.obj [ 1%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/stdafx.cc.obj [ 1%] Linking CXX static library libbdisasm.a [ 1%] Built target bdisasm Scanning dependencies of target cpp-optparse [ 1%] Building CXX object Externals/cpp-optparse/CMakeFiles/cpp-optparse.dir/OptionParser.cpp.obj [ 1%] Linking CXX static library libcpp-optparse.a [ 1%] Built target cpp-optparse Scanning dependencies of target glslang [ 1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/GenericCodeGen/CodeGen.cpp.obj [ 1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/GenericCodeGen/Link.cpp.obj [ 1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/attribute.cpp.obj [ 1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Constant.cpp.obj [ 1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/glslang_tab.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/InfoSink.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Initialize.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Intermediate.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/intermOut.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/IntermTraverse.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/iomapper.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/limits.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/linkValidate.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/parseConst.cpp.obj [ 2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/ParseContextBase.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/ParseHelper.cpp.obj In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/intermediate.h:56, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:69, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.h:53, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.cpp:39: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h: In member function β€˜void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const TString*, glslang::TArraySizes*)’: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:1555:17: warning: β€˜blockNameType.glslang::TType::sampler’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1555 | sampler = copyOf.sampler; | ^~~~~~~~ C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:1569:24: warning: β€˜blockNameType.glslang::TType::typeParameters’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1569 | typeParameters = copyOf.typeParameters; | ~^~~~~~~~~ C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.cpp:7532:15: note: β€˜blockNameType.glslang::TType::typeParameters’ was declared here 7532 | TType blockNameType(EbtReference, blockType, *blockName); | ^~~~~~~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/intermediate.h:56, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:69, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.h:53, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.cpp:39: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:1554:19: warning: β€˜blockNameType.glslang::TType::coopmat’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1554 | basicType = copyOf.basicType; | ^~~~~~~~ C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/ParseHelper.cpp:7532:15: note: β€˜blockNameType.glslang::TType::coopmat’ was declared here 7532 | TType blockNameType(EbtReference, blockType, *blockName); | ^~~~~~~~~~~~~ [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/PoolAlloc.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/Pp.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpAtom.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpContext.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpScanner.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpTokens.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/propagateNoContraction.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/reflection.cpp.obj [ 3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/RemoveTree.cpp.obj [ 4%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Scan.cpp.obj In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:1581, from C:/msys64/mingw64/x86_64-w64-mingw32/include/locale.h:12, from C:/msys64/mingw64/include/c++/10.2.0/clocale:42, from C:/msys64/mingw64/include/c++/10.2.0/x86_64-w64-mingw32/bits/c++locale.h:41, from C:/msys64/mingw64/include/c++/10.2.0/bits/localefwd.h:40, from C:/msys64/mingw64/include/c++/10.2.0/string:43, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:103, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/mingw64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:520:23: error: conflicting declaration of β€˜int sprintf_s(char*, size_t, const char*, …)’ with β€˜C’ linkage 520 | _SECIMP int __cdecl sprintf_s(char *_DstBuf,size_t _DstSize,const char *_Format,…); | ^~~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:56:22: note: previous declaration with β€˜C++’ linkage 56 | #define snprintf sprintf_s | ^~~~~~~~~ In file included from C:/msys64/mingw64/include/c++/10.2.0/ext/string_conversions.h:43, from C:/msys64/mingw64/include/c++/10.2.0/bits/basic_string.h:6535, from C:/msys64/mingw64/include/c++/10.2.0/string:55, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Common.h:103, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/Types.h:42, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:46: C:/msys64/mingw64/include/c++/10.2.0/cstdio:175:11: error: β€˜snprintf’ has not been declared in β€˜::’ 175 | using ::snprintf; | ^~~~~~~~ C:/msys64/mingw64/include/c++/10.2.0/cstdio:185:22: error: β€˜snprintf’ has not been declared in β€˜__gnu_cxx’ 185 | using ::__gnu_cxx::snprintf; | ^~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:70, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:47: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h: In member function β€˜glslang::TInfoSinkBase& glslang::TInfoSinkBase::operator<<(float)’: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h:78:58: error: β€˜snprintf’ was not declared in this scope 78 | snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? β€œ%f” : β€œ%g”, n); | ^~~~~~~~ C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h:40:1: note: β€˜snprintf’ is defined in header β€˜β€™; did you forget to '#include '? 39 | #include +++ |+#include 40 | In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:70, from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:47: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h: In member function β€˜void glslang::TInfoSinkBase::location(const glslang::TSourceLoc&)’: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h:100:9: error: β€˜snprintf’ was not declared in this scope 100 | snprintf(locText, maxSize, β€œ:%d”, loc.line); | ^~~~~~~~ C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/Include/InfoSink.h:100:9: note: β€˜snprintf’ is defined in header β€˜β€™; did you forget to '#include '? In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:47: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h: In member function β€˜bool glslang::TSymbolTableLevel::insert(glslang::TSymbol&, bool)’: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:414:13: error: β€˜snprintf’ was not declared in this scope 414 | snprintf(buf, 20, β€œ%s%d”, AnonymousPrefix, symbol.getAsVariable()->getAnonId()); | ^~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:47: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/SymbolTable.h:71:1: note: β€˜snprintf’ is defined in header β€˜β€™; did you forget to '#include '? 70 | #include β€œβ€¦/Include/InfoSink.h” +++ |+#include 71 | In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:55: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/preprocessor/PpContext.h: In member function β€˜int glslang::TPpContext::TokenStream::Token::get(glslang::TPpToken&)’: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/preprocessor/PpContext.h:265:17: error: β€˜snprintf’ was not declared in this scope 265 | snprintf(ppToken.name, sizeof(ppToken.name), β€œ%s”, name.c_str()); | ^~~~~~~~ In file included from C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/Scan.cpp:55: C:/msys64/home/Caio/dolphin/Externals/glslang/glslang/MachineIndependent/preprocessor/PpContext.h:88:1: note: β€˜snprintf’ is defined in header β€˜β€™; did you forget to '#include '? 87 | #include β€œPpTokens.h” +++ |+#include 88 | make[2]: *** [Externals/glslang/CMakeFiles/glslang.dir/build.make:407: Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Scan.cpp.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:1020: Externals/glslang/CMakeFiles/glslang.dir/all] Error 2 make: *** [Makefile:171: all] Error 2

plz help

I don’t think dolphin core builds with mingw/msys2 currently. I had to use MSVC2019. You can get my builds from https://github.com/hunterk/libretro_builds

2 Likes

Ty very much @hunterk!

1 Like

Hi @hunterk, could you please write the steps to build the Dolphin core using MSVC2019? I get a bunch of errors every time I tried… I’m pretty sure that I might be missing something. Thanks in advance.

You can see my recipe here: https://github.com/hunterk/libretro_builds/blob/master/.github/workflows/win64_dolphin.yml

It’s just standard cmake with some flags.

2 Likes

Yes! Finally, I can build the core :slight_smile: Thanks @hunterk, I really appreciate your help mate. You have no idea how many days I spent trying to compile it :sweat_smile:

2 Likes