Re: [Csnd-dev] Error trying to build Csound7 for Daisy

Scott Sitar <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CA+TA3_oGBeg2H4ONzY3s=Z7SA8_EoxR0nPooHiBu9Wg9UDzgzg@mail.gmail.com>
Hello,

What version of bison are you running?  (bison --version)

On MacOS, the one that ships with XCode by default is quite old, and it
gave me errors when I tried to use it as well.  I manually installed the
latest (at the time) version, 3.8.2, and that worked much better.

Best,
Scott

On Mon, Nov 18, 2024 at 6:45 PM Iain Duncan <[email protected]>
wrote:

> Hi devs, apologies if this is my unfamiliarity with CMake at fault. I'm
> trying to build the libcsound for Daisy and running into errors.
>
> What I have done:
> - clone the develop branch of csound
> - followed instructions in the Daisy examples README
>
> the cmake command runs fine. Then when I run "make", I get the errors
> pasted below. This looks like a code error, is there perhaps a tag or
> branch I need to checkout? (or something else I am doing wrong?)
>
> thanks!
> iain
>
>
> iainduncan@macmini build % make
> /opt/homebrew/bin/cmake -S/Users/iainduncan/Documents/csound
> -B/Users/iainduncan/Documents/csound/build --check-build-system
> CMakeFiles/Makefile.cmake 0
> /opt/homebrew/bin/cmake -E cmake_progress_start
> /Users/iainduncan/Documents/csound/build/CMakeFiles
> /Users/iainduncan/Documents/csound/build//CMakeFiles/progress.marks
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f
> CMakeFiles/Makefile2 all
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f
> CMakeFiles/csound.dir/build.make CMakeFiles/csound.dir/depend
> [  0%] Generating csound_prslex.c
> /usr/bin/flex -B -t -d
> /Users/iainduncan/Documents/csound/Engine/csound_prs.lex >
> /Users/iainduncan/Documents/csound/build/csound_prslex.c
> [  0%] Generating csound_orclex.c
> /usr/bin/flex -B -t
> /Users/iainduncan/Documents/csound/Engine/csound_orc.lex >
> /Users/iainduncan/Documents/csound/build/csound_orclex.c
> [  0%] Generating csound_orcparse.c, csound_orcparse.h
> /usr/bin/bison -pcsound_orc -d --report=itemset -o
> /Users/iainduncan/Documents/csound/build/csound_orcparse.c
> /Users/iainduncan/Documents/csound/Engine/csound_orc.y
> /Users/iainduncan/Documents/csound/Engine/csound_orc.y:24.9-16: syntax
> error, unexpected identifier, expecting string
> make[2]: *** [csound_orcparse.c] Error 1
> make[1]: *** [CMakeFiles/csound.dir/all] Error 2
> make: *** [all] Error 2
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.