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
The problem stems from the miniaudio.h with the macos' audio framework.
...
In file included from /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h:19,
from /Users/zak/.local/include/gunslinger/external/miniaudio/miniaudio.h:22393,
from /Users/zak/.local/include/gunslinger/impl/gs_audio_impl.h:415,
from /Users/zak/.local/include/gunslinger/gs.h:5950,
from main.c:17:
...
System
OS: MacOS 10.12
Issue
There is a Compile error with miniaudio.h while compiling with gcc.
using: https://github.com/MrFrenik/gs_examples/tree/main/22_first_person_camera
Here is the error, since its too big to post here.
The problem stems from the miniaudio.h with the macos' audio framework.
GCC
>>> gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin16/10.2.0/lto-wrapper Target: x86_64-apple-darwin16 Configured with: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc10/gcc10/work/gcc-10.2.0/configure --prefix=/opt/local --build=x86_64-apple-darwin16 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc10 --includedir=/opt/local/include/gcc10 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-10 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-10 --with-gxx-include-dir=/opt/local/include/gcc10/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --disable-tls --with-pkgversion='MacPorts gcc10 10.2.0_5' Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (MacPorts gcc10 10.2.0_5)
Using Clang
Using
clang
however, it works as intendedThe text was updated successfully, but these errors were encountered: