Csound Csound-dev Csound-tekno Search About

[Cs-dev] Linux build for CsoundVST fixed

Date2005-02-08 14:43
From"gogins@pipeline.com"
Subject[Cs-dev] Linux build for CsoundVST fixed
I have fixed the Linux build for CsoundVST in csound 5, at least on Fedora
Core  1. The problem was that csound5/frontends/CsoundVST/Event.hpp needed
"#include ".


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-08 16:31
FromDave Phillips
SubjectRe: [Cs-dev] Linux build for CsoundVST fixed
gogins@pipeline.com wrote:

>I have fixed the Linux build for CsoundVST in csound 5, at least on Fedora
>Core  1. The problem was that csound5/frontends/CsoundVST/Event.hpp needed
>"#include ".
>  
>
Hi Michael:

  Still having problems here, even after the fix. With SWIG 1.3.24:

g++ -DCSOUND_WITH_API -fexceptions -DCSOUND_WITH_API -g -gstabs -O2 
-DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H 
-DHAVE_MALLOC_H -DHAVE_SGTTY_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H 
-DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H 
-DHAVE_DIRENT_H -DHAVE_JNI_H -O2 -g -pipe -march=i386 -mcpu=i686 -O2 -g 
-pipe -march=i386 -mcpu=i686 -Wl,-rpath,/usr/lib -O2 -g -pipe 
-march=i386 -mcpu=i686 -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH 
-I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include 
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 
-I/usr/X11R6/include -Ifrontends/CsoundVST -I/usr/include/python2.3 -c 
-o frontends/CsoundVST/CsoundVST_wrap.os 
frontends/CsoundVST/CsoundVST_wrap.cc
frontends/CsoundVST/CsoundVST_wrap.cc:1476: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc: In function `int
   SWIG_CheckLongInRange(...)':
frontends/CsoundVST/CsoundVST_wrap.cc:1478: `value' undeclared (first 
use this
   function)
frontends/CsoundVST/CsoundVST_wrap.cc:1478: (Each undeclared identifier is
   reported only once for each function it appears in.)
frontends/CsoundVST/CsoundVST_wrap.cc:1478: `min_value' undeclared 
(first use
   this function)
frontends/CsoundVST/CsoundVST_wrap.cc:1485: `max_value' undeclared 
(first use
   this function)
frontends/CsoundVST/CsoundVST_wrap.cc: In function `int
   SWIG_AsVal_short(PyObject*, short int*)':
frontends/CsoundVST/CsoundVST_wrap.cc:1684: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc:1687: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc:1697: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc: In function `int
   SWIG_AsVal_char(PyObject*, char*)':
frontends/CsoundVST/CsoundVST_wrap.cc:2712: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc:2715: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
In file included from frontends/CsoundVST/CsoundVST_wrap.cc:1951:
frontends/CsoundVST/CsoundVST_wrap.cc: In function `const char*
   swig::type_name() [with Type = std::string]':
frontends/CsoundVST/CsoundVST_wrap.cc:1946:   instantiated from `static 
swig_type_info* 
swig::traits_info::type_query(std::basic_string, std::allocator >) [with Type = std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:1951:   instantiated from `static 
swig_type_info* swig::traits_info::type_info() [with Type = 
std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:1957:   instantiated from 
`swig_type_info* swig::type_info() [with Type = std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:1991:   instantiated from `static 
PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = 
std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:1997:   instantiated from `static 
PyObject* swig::traits_from::from(const Type&) [with Type = 
std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:2009:   instantiated from 
`PyObject* swig::from(const Type&) [with Type = std::string]'
frontends/CsoundVST/CsoundVST_wrap.cc:2867:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:1941: no method `
   swig::traits::type_name'
In file included from frontends/CsoundVST/CsoundVST_wrap.cc:1951:
frontends/CsoundVST/CsoundVST_wrap.cc: In function `const char*
   swig::type_name() [with Type = std::pair]':
frontends/CsoundVST/CsoundVST_wrap.cc:1946:   instantiated from `static 
swig_type_info* 
swig::traits_info::type_query(std::basic_string, std::allocator >) [with Type = 
std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:1951:   instantiated from `static 
swig_type_info* swig::traits_info::type_info() [with Type = 
std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:1957:   instantiated from 
`swig_type_info* swig::type_info() [with Type = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:1991:   instantiated from `static 
PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = 
std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:1997:   instantiated from `static 
PyObject* swig::traits_from::from(const Type&) [with Type = 
std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2009:   instantiated from 
`PyObject* swig::from(const Type&) [with Type = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2899:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:1941: no method `
   swig::traits >::type_name'
frontends/CsoundVST/CsoundVST_wrap.cc: At global scope:
frontends/CsoundVST/CsoundVST_wrap.cc:2947: redefinition of `struct
   swig::traits'
frontends/CsoundVST/CsoundVST_wrap.cc:1937: previous definition of `struct
   swig::traits'
frontends/CsoundVST/CsoundVST_wrap.cc:2957: redefinition of `struct
   swig::traits_from'
frontends/CsoundVST/CsoundVST_wrap.cc:1996: previous definition of `struct
   swig::traits_from'
In file included from frontends/CsoundVST/CsoundVST_wrap.cc:1951:
frontends/CsoundVST/CsoundVST_wrap.cc: In function `const char*
   swig::type_name() [with Type = int]':
frontends/CsoundVST/CsoundVST_wrap.cc:1946:   instantiated from `static 
swig_type_info* 
swig::traits_info::type_query(std::basic_string, std::allocator >) [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:1951:   instantiated from `static 
swig_type_info* swig::traits_info::type_info() [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:1957:   instantiated from 
`swig_type_info* swig::type_info() [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:1991:   instantiated from `static 
PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:1997:   instantiated from `static 
PyObject* swig::traits_from::from(const Type&) [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:2009:   instantiated from 
`PyObject* swig::from(const Type&) [with Type = int]'
frontends/CsoundVST/CsoundVST_wrap.cc:3132:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:1941: no method `swig::traits::
   type_name'
In file included from frontends/CsoundVST/CsoundVST_wrap.cc:1951:
frontends/CsoundVST/CsoundVST_wrap.cc: In function `const char*
   swig::type_name() [with Type = double]':
frontends/CsoundVST/CsoundVST_wrap.cc:1946:   instantiated from `static 
swig_type_info* 
swig::traits_info::type_query(std::basic_string, std::allocator >) [with Type = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:1951:   instantiated from `static 
swig_type_info* swig::traits_info::type_info() [with Type = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:1957:   instantiated from 
`swig_type_info* swig::type_info() [with Type = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:1991:   instantiated from `static 
PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = 
double]'
frontends/CsoundVST/CsoundVST_wrap.cc:1997:   instantiated from `static 
PyObject* swig::traits_from::from(const Type&) [with Type = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:2009:   instantiated from 
`PyObject* swig::from(const Type&) [with Type = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:3148:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:1941: no method 
`swig::traits::
   type_name'
frontends/CsoundVST/CsoundVST_wrap.cc: At global scope:
frontends/CsoundVST/CsoundVST_wrap.cc:3195: redefinition of `struct
   swig::traits'
frontends/CsoundVST/CsoundVST_wrap.cc:1937: previous definition of `struct
   swig::traits'
frontends/CsoundVST/CsoundVST_wrap.cc:3205: redefinition of `struct
   swig::traits_from'
frontends/CsoundVST/CsoundVST_wrap.cc:1996: previous definition of `struct
   swig::traits_from'
frontends/CsoundVST/CsoundVST_wrap.cc:3254: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc: In function `int
   SWIG_AsVal_unsigned_SS_char(PyObject*, unsigned char*)':
frontends/CsoundVST/CsoundVST_wrap.cc:3271: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc:3274: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc:3284: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc: At global scope:
frontends/CsoundVST/CsoundVST_wrap.cc:3458: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc: In function `int
   SWIG_AsVal_float(PyObject*, float*)':
frontends/CsoundVST/CsoundVST_wrap.cc:3482: parse error before `.' token
frontends/CsoundVST/CsoundVST_wrap.cc:3485: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc:3495: request for member `errmsg_' 
in `
   cenviron', which is of non-aggregate type `const char*'
frontends/CsoundVST/CsoundVST_wrap.cc: In function `bool 
swig::check(PyObject*)
   [with Type = std::pair]':
frontends/CsoundVST/CsoundVST_wrap.cc:2490:   instantiated from `bool 
swig::PySequence_Cont::check(bool) const [with T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2540:   instantiated from `static 
int swig::traits_asptr_stdseq::asptr(PyObject*, Seq**) [with Seq 
= std::map, std::allocator > >, T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2782:   instantiated from `static 
int swig::traits_asptr, 
std::allocator > > >::asptr(PyObject*, 
std::map, std::allocator > >**) [with K = int, T = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:2039:   instantiated from `int 
swig::asptr(PyObject*, Type**) [with Type = std::map, std::allocator > >]'
frontends/CsoundVST/CsoundVST_wrap.cc:16618:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:2164: no type named `category' in 
`struct
   swig::traits >'
frontends/CsoundVST/CsoundVST_wrap.cc: In function `const char*
   swig::type_name() [with Type = std::pair]':
frontends/CsoundVST/CsoundVST_wrap.cc:2494:   instantiated from `bool 
swig::PySequence_Cont::check(bool) const [with T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2540:   instantiated from `static 
int swig::traits_asptr_stdseq::asptr(PyObject*, Seq**) [with Seq 
= std::map, std::allocator > >, T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2782:   instantiated from `static 
int swig::traits_asptr, 
std::allocator > > >::asptr(PyObject*, 
std::map, std::allocator > >**) [with K = int, T = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:2039:   instantiated from `int 
swig::asptr(PyObject*, Type**) [with Type = std::map, std::allocator > >]'
frontends/CsoundVST/CsoundVST_wrap.cc:16618:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:1941: no method `
   swig::traits >::type_name'
frontends/CsoundVST/CsoundVST_wrap.cc: In function `Type 
swig::as(PyObject*,
   bool) [with Type = std::pair]':
frontends/CsoundVST/CsoundVST_wrap.cc:2296:   instantiated from 
`swig::PySequence_Ref::operator T() const [with T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2355:   instantiated from 
`swig::PySequence_ArrowProxy swig::PySequence_Iter::operator->() const [with T = std::pair, 
Reference = const swig::PySequence_Ref >]'
frontends/CsoundVST/CsoundVST_wrap.cc:2772:   instantiated from `void 
swig::assign(const PySeq&, std::map, 
std::allocator > >*) [with PySeq = 
swig::PySequence_Cont >, K = int, T = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:2536:   instantiated from `static 
int swig::traits_asptr_stdseq::asptr(PyObject*, Seq**) [with Seq 
= std::map, std::allocator > >, T = std::pair]'
frontends/CsoundVST/CsoundVST_wrap.cc:2782:   instantiated from `static 
int swig::traits_asptr, 
std::allocator > > >::asptr(PyObject*, 
std::map, std::allocator > >**) [with K = int, T = double]'
frontends/CsoundVST/CsoundVST_wrap.cc:2039:   instantiated from `int 
swig::asptr(PyObject*, Type**) [with Type = std::map, std::allocator > >]'
frontends/CsoundVST/CsoundVST_wrap.cc:16618:   instantiated from here
frontends/CsoundVST/CsoundVST_wrap.cc:2145: no type named `category' in 
`struct
   swig::traits >'
frontends/CsoundVST/CsoundVST_wrap.cc: At top level:
frontends/CsoundVST/CsoundVST_wrap.cc:232: warning: `swig_type_info*
   SWIG_TypeDynamicCast(swig_type_info*, void**)' defined but not used
frontends/CsoundVST/CsoundVST_wrap.cc:420: warning: `const char*
   SWIG_UnpackDataName(const char*, void*, unsigned int, const char*)' 
defined
   but not used
frontends/CsoundVST/CsoundVST_wrap.cc:500: warning: `void
   SWIG_PropagateClientData(swig_type_info*)' defined but not used
frontends/CsoundVST/CsoundVST_wrap.cc:1199: warning: `void*
   SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)' defined 
but
   not used
frontends/CsoundVST/CsoundVST_wrap.cc:1213: warning: `int
   SWIG_Python_ConvertPacked(PyObject*, void*, unsigned int, 
swig_type_info*,
   int)' defined but not used
scons: *** [frontends/CsoundVST/CsoundVST_wrap.os] Error 1
scons: building terminated because of errors.
[dlphilp@localhost csound5]$ swig -version

SWIG Version 1.3.24



Should I revert to 1.3.21 ?

Best,

dp






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net