[Csnd-dev] Broken build on MSYS64/mingw64
Date | 2016-06-08 16:34 |
From | Michael Gogins |
Subject | [Csnd-dev] Broken build on MSYS64/mingw64 |
I will fix this, but... [ 78%] Building C object CMakeFiles/csound64-static.dir/Engine/csound_orc_semantics.c.obj /D/msys64/mingw64/bin/gcc.exe -DHAVE_STRTOK_R -DHAVE__SPRINTF_L -DHAVE__STRTOD_L -DUSE_LRINT -DWIN32 -D_CSOUND_RELEASE_ -I/D/msys64/mingw64/include -I/D/msys64/home/restore/csound/./H -I/D/msys64/home/restore/csound/./include -I/D/msys64/home/restore/csound/./Engine -I/D/msys64/home/restore/csound/. -I/D/msys64/home/restore/csound/mingw64/csound-mingw64 -I/D/msys64/home/restore/csound/mingw64/csound-mingw64/include -mfpmath=sse -msse2 -fomit-frame-pointer -mstackrealign -static-libgcc -static -fvisibility=hidden -O2 -g -DNDEBUG -Wno-format -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DHAVE_SOCKETS -DHAVE_DIRENT_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -o CMakeFiles/csound64-static.dir/Engine/csound_orc_semantics.c.obj -c /D/msys64/home/restore/csound/Engine/csound_orc_semantics.c D:/msys64/home/restore/csound/Engine/csound_orc.l: In function 'csound_orclex': D:/msys64/home/restore/csound/Engine/csound_orc.l:502:26: error: 'ERROR_TOKEN' undeclared (first use in this function) return ERROR_TOKEN; ^ D:/msys64/home/restore/csound/Engine/csound_orc.l:502:26: note: each undeclared identifier is reported only once for each function it appears in ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com |
Date | 2016-06-08 18:11 |
From | John |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
Defined in csound_orc.y Sent from TypeApp On 8 Jun 2016, at 16:35, Michael Gogins <michael.gogins@GMAIL.COM> wrote: I will fix this, but... |
Date | 2016-06-08 18:17 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
I can see that. But it does not compile. Best, On Jun 8, 2016 1:12 PM, "John" <jpff@codemist.co.uk> wrote:
|
Date | 2016-06-08 19:56 |
From | John |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
The building of csound_orc.y misy precede vsound_orc.l if that helps Sent from TypeApp On 8 Jun 2016, at 18:17, Michael Gogins <michael.gogins@GMAIL.COM> wrote:
|
Date | 2016-06-08 20:19 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
I know that. I found the problem. In the mingw64 build, csound_orcparse.h and the other sources generated by bison and flex are placed in the wrong directory (csound/mingw64/csound-mingw64). Copying the files to the correct directory (csound/) fixes the problem.I have entered an issue to correct this in the build system. Best, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Jun 8, 2016 at 2:56 PM, John |
Date | 2016-06-08 20:48 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
How come did it ever work? Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 8 Jun 2016, at 20:19, Michael Gogins |
Date | 2016-06-08 21:25 |
From | Michael Gogins |
Subject | Re: [Csnd-dev] Broken build on MSYS64/mingw64 |
Nobody changed the .y and .l for a while and there were leftover files in the dir? Best, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Jun 8, 2016 at 3:48 PM, Victor Lazzarini |