[aubio-user] uint_t conflicting types

Paul Brossier piem at piem.org
Mon Mar 24 18:14:37 CET 2014


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

Hi Jeremiah,

aubio compiles fine out of the box on darwin. I have also updated the
brew formula to 0.4.1, you can find it here:

	https://github.com/piem/homebrew/blob/master/Library/Formula/aubio.rb

See also the pull request here:

	https://github.com/Homebrew/homebrew/pull/27509

Where is this file causing issues on your machine coming from?

 /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransport.h

OpenTransport.h does not get included on mine.

Let me know, Paul



On 22/03/2014 13:08, Jeremiah Benham wrote:
> 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
> 
> _______________________________________________ aubio-user mailing
>  list aubio-user at aubio.org 
> https://lists.aubio.org/listinfo/aubio-user
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMwZ/0ACgkQkuC958YALL1RxwCbBUOwpGL1yc8xQyqnExk84YZw
9gwAnRb+rxhobmTAEXkRBJqPQxO4JkPK
=YPwN
-----END PGP SIGNATURE-----



More information about the aubio-user mailing list