Csound Csound-dev Csound-tekno Search About

[Cs-dev] Cabbage

Date2013-11-22 01:50
FromMichael Gogins
Subject[Cs-dev] Cabbage
AttachmentsNone  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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-11-22 11:00
FromRory Walsh
SubjectRe: [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  wrote:
> 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 Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-22 12:01
FromMichael Gogins
SubjectRe: [Cs-dev] Cabbage
AttachmentsNone  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,
Mike

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
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 <michael.gogins@gmail.com> wrote:
> 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 Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-11-22 12:13
FromRory Walsh
SubjectRe: [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  wrote:
> 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,
> Mike
>
> On Nov 22, 2013 6:01 AM, "Rory Walsh"  wrote:
>>
>> 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 
>> wrote:
>> > 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 Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Shape the Mobile Experience: Free Subscription
>> > Software experts and developers: Be at the forefront of tech innovation.
>> > Intel(R) Software Adrenaline delivers strategic insight and
>> > game-changing
>> > conversations that shape the rapidly evolving mobile landscape. Sign up
>> > now.
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Shape the Mobile Experience: Free Subscription
>> Software experts and developers: Be at the forefront of tech innovation.
>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>> conversations that shape the rapidly evolving mobile landscape. Sign up
>> now.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net