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


_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to