You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note using __GNUC__ is not a valid solution because dlopen is native to linux.
Also, I am just now realizing but the issue is much larger than the scope of these files. See, I was installing globally because of the use of #include <name.h> but _MSC_VER never pops so everything builds linuxy, which is mostly always fine because MinGW64 is supposed to be at least significantly resilient to compiling linuxy code. It goes without saying but there is no local installs of sources in Linux hardly ever, its always global.
Take this for an example of the situation. If one is to use genie, its down right stupid to use globally installed headers because the paths are already specified.
The text was updated successfully, but these errors were encountered:
Expected behavior:
Windows should be detected correctly so that it doesn't try to
#include <dlfcn.h>
and the rest of linuxy stuffActual behavior:
Since MinGW doesn't
#define _MSC_VER
it defaults to linuxy build.Steps to reproduce the problem:
genie --soloud-devel --cc=gcc --platform=x64 gmake
SoLoud version, operating system, backend used, any other potentially useful information:
openal
sdl2
portaudio
possibly more non-windows only backends
Suggested Fix
In each of the related files
Please note using
__GNUC__
is not a valid solution because dlopen is native to linux.Also, I am just now realizing but the issue is much larger than the scope of these files. See, I was installing globally because of the use of
#include <name.h>
but _MSC_VER never pops so everything builds linuxy, which is mostly always fine because MinGW64 is supposed to be at least significantly resilient to compiling linuxy code. It goes without saying but there is no local installs of sources in Linux hardly ever, its always global.soloud_demo_framework.cpp
Take this for an example of the situation. If one is to use genie, its down right stupid to use globally installed headers because the paths are already specified.
The text was updated successfully, but these errors were encountered: