[Cs-dev] Cabbage
Date | 2013-11-22 01:50 |
From | Michael Gogins |
Subject | [Cs-dev] Cabbage |
Attachments | None None |
Building Cabbage with MinGW 4.8.1 using the "Linux" build system everything is fine, until:
In file included from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.cpp:39:0:
../../JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp: In member function 'void juce::WasapiClasses::WASAPIAudioIODevice::setMMThreadPri ority()': ../../JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp:891:104: error: 'AVRT_PRIORITY' has not been declared
JUCE_LOAD_WINAPI_FUNCTION (dll, AvSetMmThreadPriority, avSetMmThreadPriority, HANDLE, (HANDLE, AVRT_PRIORITY)) ^
../../JuceLibraryCode/modules/juce_audio_devices/../juce_core/native/juce_BasicNativeHeaders.h:160:58: note: in definition of macro 'JUCE_LOAD_WINAPI_FUNCTION' typedef returnType (WINAPI *type##localFunctionName) params; \
^ In file included from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.cpp:187:0: ../../JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp:899:43: error: 'AVRT_PRIORITY_NORMAL' was not declared in this scope
avSetMmThreadPriority (h, AVRT_PRIORITY_NORMAL); ^ ../../JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp: In member function 'void juce::WasapiClasses::WASAPIAudioIODeviceType::scan(juce:
:StringArray&, juce::StringArray&, juce::StringArray&, juce::StringArray&)': ../../JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_WASAPI.cpp:1166:50: error: 'PKEY_Device_FriendlyName' was not declared in this scope
if (check (properties->GetValue (PKEY_Device_FriendlyName, &value))) ^ Any ideas? ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2013-11-22 11:00 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Cabbage |
I'm curently looking into the problems with WinASPI. You can disable it in AppConfig. Just so you are aware, I've not updated git with my latest source in a while. I'm still trying to tidy up a few things before I do. I'll let you know when it's up to date. It will have a proper workable makefile for windows there when it's done. On 22 November 2013 01:50, Michael Gogins |
Date | 2013-11-22 12:01 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Cabbage |
Attachments | None None |
Don't bother with a Windows makefile since the Linux one looks like it should work. Keep git up to date and just tag it when you do a release. just my 2 cents. Regards, On Nov 22, 2013 6:01 AM, "Rory Walsh" <rorywalsh@ear.ie> wrote:
I'm curently looking into the problems with WinASPI. You can disable |
Date | 2013-11-22 12:13 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Cabbage |
Are you suggesting I hack the Linux file so that it checks what system it's been called on and then adds libs accordingly? I have to link to a whole different set of system libs on windows? I would prefer to maintain just one makefile if I can. On 22 November 2013 12:01, Michael Gogins |