| I get the same error if buildNewParser=0 or if it is =1.
I did check out an older version
(008fd9625d72238401f0667addc0025ef4ddda93 from sept 2 2011),
and this compiles fine with buildNewParser=0
but I'm getting a similar error when compiling this old version with
buildNewParser=1
In file included from Top\main.c:31:
H/csound_orc.h:14:29: csound_orcparse.h: No such file or directory
In file included from Top\main.c:31:
H/csound_orc.h:18: error: `T_HIGHEST' undeclared here (not in a function)
H/csound_orc.h:18: error: enumerator value for `S_ANDTHEN' not integer constant
scons: *** [Top\main.o] Error 1
scons: building terminated because of errors.
So it seems I miss something that enables me to compile the new parser,
but the most recent git also prevents me from compiling with the old parser.
I include the opening lines from running scons, maybe there's
something obvious missing that you'll spot right away
$ c:/python27/scripts/scons buildNewParser=1
scons: Reading SConscript files ...
C S O U N D 5
SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.
By Michael Gogins
For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
and use www.python.org WIN32 Python to run scons.
For Microsoft Visual C++, run in the Platform SDK
command shell, and use www.python.org WIN32 Python to run scons.
System platform is 'win32'.
scons: warning: The Options class is deprecated; use the Variables
class instead.
File "C:\msys\1.0\source\csound5\SConstruct", line 75, in
Using options from 'custom.py.'
Build platform is MinGW/MSYS
SCons tools on this platform: ['mingw', 'gcc', 'g++', 'gnulink',
'ar', 'gas', 'm4', ' swig', 'javac', 'jar']
CONFIGURATION DECISION: No localisation
CONFIGURATION DECISION: Using single-precision floating point for audio samples.
Checking for C header file stdio.h... (cached) yes
Checking for C library sndfile... (cached) yes
Checking for C library pthread... (cached) yes
CONFIGURATION DECISION: No MP3 support
CONFIGURATION DECISION: No Wiimote support
CONFIGURATION DECISION: No P5 Glove support
CONFIGURATION DECISION: No Serial code support
Checking for pthread_barrier_init(0, NULL, 0) in C library pthread... yes
CONFIGURATION DECISION: Using HAVE_PTHREAD_BARRIER_INIT
Checking for int n = omp_get_num_threads() in C++ library gomp... (cached) no
Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
m... (cached) no
Checking for C++ header file
frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/au
dioeffectx.h... (cached) no
Checking for C header file portaudio.h... (cached) yes
Checking for C header file portmidi.h... (cached) yes
Checking for C++ header file FL/Fl.H... (cached) no
Checking for C++ header file boost/any.hpp... (cached) yes
Checking for C++ header file gmm/gmm.h... (cached) no
Checking for C library asound... (cached) no
Checking for C library lo... (cached) no
Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
C++ library musi cxml2... (cached) no
Checking for C header file jack/jack.h... (cached) no
Checking for C header file pulse/simple.h... (cached) no
Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
Checking for C header file m_pd.h... (cached) no
Checking for C header file tcl.h... (cached) yes
Checking for C header file zlib.h... (cached) no
Checking for C++ header file funknown.h... (cached) no
Checking for C header file lua.h... (cached) no
Checking for SWIG... yes
Python Version: 2.7
Checking for C header file Python.h... (cached) yes
Checking for C++ header file jni.h... (cached) no
Checking for C header file io.h... (cached) yes
Checking for C header file fcntl.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C header file stdint.h... (cached) yes
Checking for C header file sys/time.h... (cached) yes
Checking for C header file sys/types.h... (cached) yes
Checking for C header file termios.h... (cached) no
Checking for C header file values.h... (cached) yes
Checking for C header file winsock.h... (cached) yes
Checking for C header file dirent.h... (cached) yes
Checking for libsndfile version 1.0.16 or later... (cached) yes
CONFIGURATION DECISION: Building with new parser enabled
CONFIGURATION DECISION: Not building with new parser debugging
CONFIGURATION DECISION: Building dynamic Csound library
CONFIGURATION DECISION: Not building Csound C++ interface library.
CONFIGURATION DECISION: Not generating Csound API PDF documentation.
Checking for C library fltk_png... (cached) no
CONFIGURATION DECISION: Not building linear algebra opcodes.
CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
CONFIGURATION DECISION: Not building CoreAudio plugin.
CONFIGURATION DECISION: Not building ALSA plugin.
CONFIGURATION DECISION: Building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Building with PortMIDI.
CONFIGURATION DECISION: Not building OSC plugin.
CONFIGURATION DECISION: Not building UDP plugins.
Checking for C header file fluidsynth.h... (cached) no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building vst4cs opcodes.
CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
CONFIGURATION DECISION: Not building Lua opcodes.
CONFIGURATION DECISION: Not building FLTK CSOUND5GUI frontend.
CONFIGURATION DECISION: Not building Csound Text Editor.
CONFIGURATION DECISION: Not building CsoundAC extension module for
Csound with algorit hmic composition.
CONFIGURATION DECISION: Not building CsoundVST plugin and standalone.
0 False
CONFIGURATION DECISION: Not building Tclcsound
CONFIGURATION DECISION: Not building Winsound
CONFIGURATION DECISION: Not building OSX GUI frontend
CONFIGURATION DEFAULT: Building csLadspa.
CONFIGURATION DECISION: Not building beats score frontend.
CONFIGURATION DECISION: Not building catalog builder.
CONFIGURATION DECISION: Not calling TAGS
scons: done reading SConscript files.
scons: Building targets ...
2011/10/23 :
>> oh, I think that's where it is already (?)
>>
>> #ifdef PARCS
>> #include "csound_orc.h"
>
> \nd wrong. Should depend on new parser, PARCS is only set if both
> newparser and multicore
>
> I suspect an ordering -- loke build it again?
>
>>
>> Oeyvind
>>
>> 2011/10/23 Rory Walsh :
>>> If you move the #include "csound_orc.h" so that it resides within the
>>> #ifdef PARCS block it should fix the problem.
>>>
>>> On 23 October 2011 18:08, Oeyvind Brandtsegg
>>> wrote:
>>>> I tried compiling csound again today, and get
>>>> In file included from Top\csound.c:63:
>>>> H/csound_orc.h:14:29: csound_orcparse.h: No such file or directory
>>>> In file included from Top\csound.c:63:
>>>> H/csound_orc.h:18: error: `T_HIGHEST' undeclared here (not in a
>>>> function)
>>>> H/csound_orc.h:18: error: enumerator value for `S_ANDTHEN' not integer
>>>> constant
>>>> Top\csound.c:525: warning: missing braces around initializer
>>>> Top\csound.c:525: warning: (near initialization for `cenviron_.evt.c')
>>>> Top\csound.c:718: warning: 'destroy_all_instances' defined but not used
>>>> Top\csound.c:1244: warning: 'getNumActive' defined but not used
>>>> scons: *** [Top\csound.o] Error 1
>>>> scons: building terminated because of errors.
>>>>
>>>> jpff suggested it might be a flex/bison problem.
>>>> I have bison 2.4.1 installed
>>>> http://gnuwin32.sourceforge.net/packages/bison.htm
>>>> Does this work without problems for other windows users?
>>>> Previously, yacc could not be found,
>>>> then I uninstalled and reinstalled in a directory without spaces
>>>> (default location was in windows Program Files (x86) which has both
>>>> spaces and parenthesis to make sure something can go wrong)
>>>>
>>>> best
>>>> Oeyvind
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The demand for IT networking professionals continues to grow, and the
>>>> demand for specialized networking skills is growing even more rapidly.
>>>> Take a complimentary Learning@Cisco Self-Assessment and learn
>>>> about Cisco certifications, training, and career opportunities.
>>>> http://p.sf.net/sfu/cisco-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The demand for IT networking professionals continues to grow, and the
>>> demand for specialized networking skills is growing even more rapidly.
>>> Take a complimentary Learning@Cisco Self-Assessment and learn
>>> about Cisco certifications, training, and career opportunities.
>>> http://p.sf.net/sfu/cisco-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> The demand for IT networking professionals continues to grow, and the
>> demand for specialized networking skills is growing even more rapidly.
>> Take a complimentary Learning@Cisco Self-Assessment and learn
>> about Cisco certifications, training, and career opportunities.
>> http://p.sf.net/sfu/cisco-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |