dll Entry Point Error
I get an error when finished compiling the OpenAL soft. I'm using mingw64 and it only compiles if I disable #include <intrin.h> as it has a redefinition error with #include <cpuid.h>.
Once it compiles I can't quite link it with my game. I get this error:
The procedure entry point _ZNSt13_future_base12_Result_baseC2EV could not be located in the dynamic link library
This is only an error with MinGW if i try to use Visual studio it compiles fine and links fine however does not work without visual studio installed.
Here is the cmake output: using -G "MinGW Makefiles"
-- Could NOT find OpenSL (missing: OPENSL_LIBRARY OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR)
-- 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
-- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
-- Found Git: D:/Program Files/Git/cmd/git.exe (found version "2.30.0.windows.2")
CMake Warning at CMakeLists.txt:1152 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
-- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
-- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
--
-- WARNING: Cannot find sed, disabling .def/.lib generation
--
Building OpenAL with support for the following backends:
WinMM, DirectSound, WASAPI, WaveFile, Null
Building with support for CPU extensions:
Default, SSE, SSE2, SSE3, SSE4.1
-- Embedding HRTF datasets
-- Installing library and headers
-- Installing sample configuration
-- Installing HRTF data files
-- Installing AmbDec presets
--
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find MySOFA (missing: MYSOFA_LIBRARY MYSOFA_INCLUDE_DIR ZLIB_FOUND)
-- Building utility programs
--
-- Building example programs
--
-- Configuring done
-- Generating done
-- Build files have been written to
Any help is appreciated.
With MinGW, it would probably help to set the ALSOFT_STATIC_LIBGCC and ALSOFT_STATIC_STDCXX CMake options.
$ cmake .. -G "MinGW Makefiles" -DALSOFT_STATIC_LIBGCC=ON -DALSOFT_STATIC_STDCXX=ON
This cuts down on the external dependencies for GNU/GCC DLLs. Unless you're also building your app with MinGW and are going to provide those DLLs anyway (in which case, ensure OpenAL Soft is built against the same runtime libs as your app).
Same problem, with msys openal

That seems to be a different problem. That error is because something trying to load a standard C++ function from the OpenAL Soft DLL for some reason, which it doesn't have.