Commit 1303e9a3 authored by Leander Schulten's avatar Leander Schulten
Browse files

RtAudio: Fix build on windows

parent dd2beb97
Pipeline #190679 passed with stage
in 5 minutes and 43 seconds
......@@ -280,3 +280,4 @@ win32-msvc{
# RTAudio
INCLUDEPATH += $$PWD/lib/RtAudio/include
LIBS += -L$$PWD/lib/RtAudio/lib -lrtaudio
win32: LIBS += -lole32 -lwinmm -lksuser -lmfplat -lmfuuid -lwmcodecdspuuid
......@@ -7,7 +7,7 @@
#include "aubio/onsetanalysis.h"
#include "aubio/tempoanalysis.h"
#include "audio_fft.h"
#include "lib/RtAudio/rtaudio/RtAudio.h"
#include <RtAudio.h>
#include <map>
#include <thread>
......
......@@ -11,7 +11,8 @@ cd $GIT_DIR
# build
if [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then
# we are on windows or on the gitlab ci
./autogen.sh --with-wasapi --host=mingw32
./autogen.sh --no-configure
./configure --with-wasapi --host=mingw32
FILES_TO_COPY="librtaudio.a"
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment