Csound Csound-dev Csound-tekno Search About

[Cs-dev] problem building on windows...

Date2011-05-15 14:15
FromRory Walsh
Subject[Cs-dev] problem building on windows...
I'm building with the following options:

scons buildInterfaces=1 buildNewParser=0 useGetText=0

I get the following error:

gcc -o Top\main.o -c -Wall -fexceptions -shared-libgcc -Wno-format -g -fomit-fra
me-pointer -freorder-blocks -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32 -DHAVE_LIBSND
FILE=1016 -DBETA -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAV
E_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_S
YS_TYPES_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND
 -I. -IH -IC:\msys\1.0\local\include -IC:\msys\1.0\include -IC:\MyDocuments\Sour
ceCode\libsndfile-1_0_17 -IC:\MyDocuments\SourceCode\portaudio\include -IC:\Pyth
on26\include "-IC:\Program Files\GnuWin32\include" -IC:\Tcl\include "-IC:\Progra
m Files\pd\src" -IC:\MyDocuments\SourceCode\liblo -IC:\MyDocuments\SourceCode\pt
hreads\Pre-built -IC:\MyDocuments\SourceCode\pthreads -IC:\usr\local\include -IC
:\usr\include Top\main.c
In file included from Top\main.c:28:
H/csound_orc.h:14:29: error: csound_orcparse.h: No such file or directory
In file included from Top\main.c:28:
H/csound_orc.h:18: error: 'T_HIGHEST' undeclared here (not in a function)
scons: *** [Top\main.o] Error 1
scons: building terminated because of errors.

Can anyone help?

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-15 14:27
FromRory Walsh
SubjectRe: [Cs-dev] problem building on windows...
Commenting out #include "csound_orc.h" in main.c did the trick. I
assume that this is related to the new parser?

On 15 May 2011 14:15, Rory Walsh  wrote:
> I'm building with the following options:
>
> scons buildInterfaces=1 buildNewParser=0 useGetText=0
>
> I get the following error:
>
> gcc -o Top\main.o -c -Wall -fexceptions -shared-libgcc -Wno-format -g -fomit-fra
> me-pointer -freorder-blocks -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32 -DHAVE_LIBSND
> FILE=1016 -DBETA -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAV
> E_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_S
> YS_TYPES_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND
>  -I. -IH -IC:\msys\1.0\local\include -IC:\msys\1.0\include -IC:\MyDocuments\Sour
> ceCode\libsndfile-1_0_17 -IC:\MyDocuments\SourceCode\portaudio\include -IC:\Pyth
> on26\include "-IC:\Program Files\GnuWin32\include" -IC:\Tcl\include "-IC:\Progra
> m Files\pd\src" -IC:\MyDocuments\SourceCode\liblo -IC:\MyDocuments\SourceCode\pt
> hreads\Pre-built -IC:\MyDocuments\SourceCode\pthreads -IC:\usr\local\include -IC
> :\usr\include Top\main.c
> In file included from Top\main.c:28:
> H/csound_orc.h:14:29: error: csound_orcparse.h: No such file or directory
> In file included from Top\main.c:28:
> H/csound_orc.h:18: error: 'T_HIGHEST' undeclared here (not in a function)
> scons: *** [Top\main.o] Error 1
> scons: building terminated because of errors.
>
> Can anyone help?
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net