denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] make dist failing


From: Paul Brossier
Subject: Re: [Denemo-devel] make dist failing
Date: Fri, 07 Feb 2014 15:35:08 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.2.0

On 02/07/2014 03:20 PM, Jeremiah Benham wrote:
>> 
>> Jeremiah, could you send the patch about srandom. in
>> aubio/tests/utils_tests.h, HAVE_WIN_HACKS should be defined when
>> building on windows.
> I tried building with --notests but that did not get me past the
> utils_tests.

it seems that the platform string is not 'win32' nor 'win64', so that
HAVE_WIN_HACKS does not get defined (see wscript, line 98). what do you
get if you run this python script:

"""
import sys; print sys.platform
"""

> I did not know how to set CFLAGS using waf. This is the first time
> building anything other than ./configure in gub. I will try and
> figure that out.

you can pass CFLAGS to waf at the configure step:

./waf distclean
CFLAGS="-DHAVE_WIN_HACKS=1" ./waf configure
./waf build
...

> You might want to change that to #ifdef G_OS_WIN32.

i guess this would only work if aubio was using glib.

best, Paul




reply via email to

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