Csound Csound-dev Csound-tekno Search About

[Csnd] 64-bit Csound 5.08 with Java wrapper ?

Date2008-03-24 10:46
FromDave Phillips
Subject[Csnd] 64-bit Csound 5.08 with Java wrapper ?
Greetings,

I've posted the problem but got no joy trying to find a solution. Has 
anyone else compiled 5.08 for 64-bit Linux, *with* the Java wrapper ?

In case you missed the first post:

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.
AttributeError: 'SConsEnvironment' object has no attribute 'Java':
  File "/home/dlphilp/src/csound5.08/SConstruct", line 1161:
    jcsnd = csoundJavaWrapperEnvironment.Java(


The same environment builds without trouble on my 32-bit box. Following 
jpff's lead I checked the SConstruct file, it's the same in either the 
source tarball or the zip file. Java SDK is 1.6 on both machines, with 
an identical installation.

My build options:

scons install=1 useDouble=1 useCoreAudio=0 buildUtilities=0 
buildPythonOpcodes=1 buildJavaWrapper=1 buildInterfaces=1 buildRelease=1 
dynamicCsoundLibrary=1 Word64=1

Btw, I had no such trouble building 5.07 in the same environment.

I welcome any & all further suggestions. :)

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

Date2008-03-24 12:25
Fromroot
SubjectRe: [Cs-dev] 64-bit Csound 5.08 with Java wrapper ?
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

==John

On Mon, 24 Mar 2008, Dave Phillips wrote:

> Greetings,
>
> I've posted the problem but got no joy trying to find a solution. Has
> anyone else compiled 5.08 for 64-bit Linux, *with* the Java wrapper ?
>
> In case you missed the first post:
>
> 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.
> AttributeError: 'SConsEnvironment' object has no attribute 'Java':
>  File "/home/dlphilp/src/csound5.08/SConstruct", line 1161:
>    jcsnd = csoundJavaWrapperEnvironment.Java(
>
>
> The same environment builds without trouble on my 32-bit box. Following
> jpff's lead I checked the SConstruct file, it's the same in either the
> source tarball or the zip file. Java SDK is 1.6 on both machines, with
> an identical installation.
>
> My build options:
>
> scons install=1 useDouble=1 useCoreAudio=0 buildUtilities=0
> buildPythonOpcodes=1 buildJavaWrapper=1 buildInterfaces=1 buildRelease=1
> dynamicCsoundLibrary=1 Word64=1
>
> Btw, I had no such trouble building 5.07 in the same environment.
>
> I welcome any & all further suggestions. :)
>
> 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 13:07
FromDave Phillips
SubjectRe: [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