Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?

Date2008-03-24 15:26
Fromvictor
SubjectRe: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?
Generally scons finds the Java tools in your PATH.

Victor
----- Original Message ----- 
From: "Dave Phillips" 
To: "Developer discussions" 
Sent: Monday, March 24, 2008 1:07 PM
Subject: Re: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?


> root wrote:
>> I have built csound on my AMD64 with the Java wrapper.  Just did an cvs
>> update and a build
>>
>> scons buildCsoundVST=0 generateTags=1 useJack=1 usePortMIDI=1 
>> generateZIP=0 useALSA=1 Word64=1 useDouble=1 useOSC=1 buildInterfaces=1 
>> buildTclcsound=1 noDebug=0 buildJavaWrapper=1 pythonVersion=2.5 
>> buildPythonOpcodes=1 install=0 buildRelease=0 buildPDClass=1 
>> buildStkOpcodes=1 buildWinsound=1 buildNewParser=1 Lib64=1
> Hi John,
>
> I just now checked out CVS Cs5, tried the same options as above, and
> received the same error as before :
>
> Generating wrappers...
> ./H/csound.h:340: Warning(451): Setting a const char * variable may leak
> memory.
> interfaces/CppSound.hpp:80: Warning(813): Warning for CppSound proxy:
> Base CsoundFile ignored. Multiple inheritance is not supported in Java.
> : 'SConsEnvironment' object has no
> attribute 'Java':
>  File "/home/dlphilp/src/csound5-cvs/SConstruct", line 1232:
>    jcsnd = csoundJavaWrapperEnvironment.Java(
>
>
> Note the line number difference this time.
>
> Victor must be right, there's something fouled in my Java setup. Is
> there a JAVA_HOME or other environment setting that I should use ?
>
> Best,
>
> dp
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-24 15:36
FromVictor.Lazzarini@nuim.ie
SubjectRe: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?
AttachmentsNone  None  None  None  

Date2008-03-24 15:45
From"Steven Yi"
SubjectRe: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?
AttachmentsNone  

Date2008-03-24 16:55
FromDave Phillips
SubjectRe: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?
victor wrote:
> Generally scons finds the Java tools in your PATH.
And that's what I needed to know. :)

Thanks Victor !

Best,

dp


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-24 20:02
FromDave Phillips
Subject[Cs-dev] a new problem with 64-bit build
Greetings,

More trouble:


g++ -o interfaces/python_interface_wrap.os -c -fexceptions -DNOGETTEXT 
-g -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DSDFT 
-DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_UNISTD_H -DHAVE_STDINT_H 
-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS 
-DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D_CSOUND_RELEASE_ 
-DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64\" -I. -IH 
-I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include 
-I/usr/include -I/usr/X11R6/include -Iinterfaces 
-I/usr/include/python2.5 -I/usr/local/include/python2.5 
interfaces/python_interface_wrap.cc
interfaces/python_interface_wrap.cc: In function 'int 
SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
interfaces/python_interface_wrap.cc:2052: error: invalid conversion from 
'const char*' to 'char*'
interfaces/python_interface_wrap.cc: In function 'int 
SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)':
interfaces/python_interface_wrap.cc:3238: error: cannot convert 'int*' 
to 'Py_ssize_t*' for argument '3' to 'int 
PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
interfaces/python_interface_wrap.cc: In function 'void 
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, 
swig_type_info**)':
interfaces/python_interface_wrap.cc:37126: error: invalid conversion 
from 'const char*' to 'char*'
scons: *** [interfaces/python_interface_wrap.os] Error 1
scons: building terminated because of errors.


Any suggestions ?

SWIG is version 1.3.29.

Best,

dp



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-24 20:23
Fromroot
SubjectRe: [Cs-dev] a new problem with 64-bit build
I AM USING SWIG Version 1.3.31

I contunue to be unimpressed by Swig and its quality

Also C++ is changing in non-useful ways.

Just another communication from teh backwoods

==John ff



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net