Hi. Many thanks for your fantastic work on libsoxr! I have been building an OpenWrt package for it, and it works pretty well for the library itself and for the examples, but compilation fails when trying to compiling the tests.
Briefly, the package script treats libsoxr as an autotools build and copies in a configure file containing:
Not sure where the problem is; perhaps vector-gen hasn't been built for some obscure reason (disk full?), or make is not changing to correct directory before trying to execute it.
Try checking that 'vector-gen' has been built and is executable; also try 'make VERBOSE=1' and look for output lines like this:
Thanks – that's helpful. So vector-gen is a program to generate test sets that runs on the host doing the compilation? The reason I ask is that this is a cross compilation build, so probably that's causing the grief.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just FYI, libsoxr is now packaged up for OpenWrt, but without the tests. I'm using it in an application called shairport-sync (https://github.com/mikebrady/shairport-sync), which can now run on OpenWrt as well.
Thanks again for all your work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. Many thanks for your fantastic work on libsoxr! I have been building an OpenWrt package for it, and it works pretty well for the library itself and for the examples, but compilation fails when trying to compiling the tests.
Briefly, the package script treats libsoxr as an autotools build and copies in a configure file containing:
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=0 -DBUILD_EXAMPLES=0 .
more-or-less as you suggest. This works fine and builds a version of libsoxr that works, insofar as I can test it!
However, if I turn on the building of tests by setting DBUILD_TESTS=1, an error occurs. Here is an extract from the building log:
I wonder if you'd have any idea what it might be. Is there any documentation I should post?
Not sure where the problem is; perhaps vector-gen hasn't been built for some obscure reason (disk full?), or make is not changing to correct directory before trying to execute it.
Try checking that 'vector-gen' has been built and is executable; also try 'make VERBOSE=1' and look for output lines like this:
[ 75%] Generating ref-44100.s32
cd /tmp/soxr-code/tests && ./vector-gen 44100 1 16 22050 1 /tmp/soxr-code/tests/ref-44100.s32
HTH, Rob
Last edit: robs 2014-08-05
Thanks – that's helpful. So vector-gen is a program to generate test sets that runs on the host doing the compilation? The reason I ask is that this is a cross compilation build, so probably that's causing the grief.
Ah yes, that'll be it.
Just FYI, libsoxr is now packaged up for OpenWrt, but without the tests. I'm using it in an application called shairport-sync (https://github.com/mikebrady/shairport-sync), which can now run on OpenWrt as well.
Thanks again for all your work.