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

Iain Duncan <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAN9NcLzYBtJqjptHzPN+fKzvjznBnC4U3g8etcNxvsTHxvpkQA@mail.gmail.com>
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.