| Try pulling now. I think I fixed it.
This was something caused by the merge, which I did not pick up on. Basically in 7.0 there is a new interface to soundfile reading/writing (soundfile.h) that
decouples libsndfile from Csound. In the merge, all the definitions for libsndfile were put back in the old place causing the duplicates and build failure.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland
> On 13 Nov 2022, at 21:44, John wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Is his me or someone else? I cannot see any changes round here
> ==John ff
>
> xenakis:~/cs7> make
> Scanning dependencies of target csound64
> [ 0%] Building C object CMakeFiles/csound64.dir/Engine/entry1.c.o
> In file included from /home/jpff/cs7/./H/entry1.h:37:0,
> from /home/jpff/cs7/Engine/entry1.c:24:
> /home/jpff/cs7/./include/soundio.h:114:0: error: "SF2TYPE" redefined [-Werror]
> #define SF2TYPE(x) ((int) (x& SF_FORMAT_TYPEMASK) >> 16)
>
> In file included from /home/jpff/cs7/./include/csoundCore.h:50:0,
> from /home/jpff/cs7/./H/entry1.h:24,
> from /home/jpff/cs7/Engine/entry1.c:24:
> /home/jpff/cs7/./include/soundfile.h:94:0: note: this is the location of the previous definition
> #define SF2TYPE(x) ((int) (x & SF_FORMAT_TYPEMASK) >> 16)
>
> cc1: all warnings being treated as errors
> make[2]: *** [CMakeFiles/csound64.dir/build.make:152: CMakeFiles/csound64.dir/Engine/entry1.c.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:605: CMakeFiles/csound64.dir/all] Error 2
> make: *** [Makefile:180: all] Error 2 |