denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Libaubio not compiling for darwin Fwd: uint_t conflic


From: Paul Brossier
Subject: Re: [Denemo-devel] Libaubio not compiling for darwin Fwd: uint_t conflicting types
Date: Mon, 24 Mar 2014 15:50:01 -0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/03/2014 15:32, Jeremiah Benham wrote:
> I am not building it natively. I am cross compiling it with gub.
> Gub is a python frontend to a cross compiler. If I were to build
> denemo natively on a mac can homebrew be used to create a
> ditributable binary?

Somehow gub is doing some things differently then. Does it use gcc or
clang?

Fat binaries are available here:

        http://aubio.org/download

Brew bottles are available here:

        http://sourceforge.net/projects/machomebrew/files/Bottles/

Best, Paul

> Jeremiah
> 
> On Mar 24, 2014 12:16 PM, "Paul Brossier" <address@hidden> wrote:
>> 
> On 24/03/2014 13:31, Richard Shann wrote:
>>>> I suspect you could safely drop the definition of uint_t from
>>>>  aubio's types.h, as the difference is between long and int, 
>>>> which are likely to be the same anyway (and aubio would not 
>>>> misbehave even were it not so) Richard
> 
> Hi Jeremiah and all,
> 
> aubio builds out of the box on darwin and ios. you can find an 
> updated brew formula here:
> 
> 
>> https://github.com/piem/homebrew/blob/master/Library/Formula/aubio.rb
>
>>
>> 
> I would first try to understand why that file,
> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransport.h,
>
>>
>> 
gets included on your machine.
> 
> See my answer on aubio-user.
> 
> Best, Paul
> 
> 
>>>> 
>>>> On Mon, 2014-03-24 at 11:00 -0500, Jeremiah Benham wrote:
>>>>> I sent this to aubio-user but am not sure if that is where
>>>>> I am supposed to get help or not. Please read the attached 
>>>>> email.
>>>>> 
>>>>> ---------- Forwarded message ---------- From: Jeremiah 
>>>>> Benham <address@hidden> Date: Sat, Mar 22,
>>>>> 2014 at 11:08 AM Subject: uint_t conflicting types To: 
>>>>> address@hidden
>>>>> 
>>>>> 
>>>>> When cross compiling for darwin I get these errors:
>>>>> 
>>>>> [35/63] c: src/tempo/beattracking.c -> 
>>>>> build/src/tempo/beattracking.c.1.o In file included from
>>>>> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:45,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
>>
>> 
from
> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
>>>>>
>>>>>
>>
>> 
from
>>>>> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h:27,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
>>
>> 
from
> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h:22,
>>>>>
>>
>> 
from ../src/io/sink_apple_audio.c:32:
>>>>> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransport.h:234:
>>>>>
>>>>>
>>>>>
>
>>
>> 
error: conflicting types for 'uint_t'
>>>>> 
>> /home/jjbenham/public_html/gub/target/darwin-x86/build/libaubio-0.4.0/src/types.h:60:
>>>>>
>>>>>
>>>>>
>
>>
>> 
error: previous declaration of 'uint_t' was here
>>>>> 
>>>>> 
>>>>> #################################################################
>>>>>
>>>>>
>>>>>
>>>>> 
I see in types.h it is defined as: typedef unsigned int uint_t;
>>>>> In OpenTransport.h it is defined as: typedef unsigned long
>>>>>  uint_t
>>>>> 
>>>>> What should I do here?
>>>>> 
>>>>> Jeremiah
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Denemo-devel mailing list address@hidden 
>>>>> https://lists.gnu.org/mailman/listinfo/denemo-devel
>>>> 
>>>> 
>>>> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMwflkACgkQkuC958YALL3w6gCgqmDZTmtZwLl9NsJRg0HOLKsV
kyEAoKQj7YZx2pgPJPdnH7GYGt71IYfX
=y5Tt
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]