Csound Csound-dev Csound-tekno Search About

[Csnd] error building Java wrapper on amd64

Date2008-03-22 17:15
FromDave Phillips
Subject[Csnd] error building Java wrapper on amd64
Greetings:

I successfully built and installed Csound 5.08 on my 32-bit machine. I 
used these options:

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

I need double precision and the Java wrapper for Jean-Pierre Lemoine's 
AVSynthesis. Unfortunately the build fails on my 64-bit box with the 
same options, with the addition of Word64=1. I receive this error:

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(



Can someone tell me what's happening there ? Btw, Java is 1.6, Sun's SDK.

Best,

dp


Date2008-03-22 17:37
Fromroot
Subject[Csnd] Re: error building Java wrapper on amd64
I am slightly confused by your report: the line number you have for
jcsnd = csoundJavaWrapperEnvironment.Java(
is 1161 for you but 1232 for me.  Suggests that the SConstruct fle is 
simply not the same!

==John ff



Date2008-03-23 12:56
FromDave Phillips
Subject[Csnd] Re: Re: error building Java wrapper on amd64
root wrote:
> I am slightly confused by your report: the line number you have for
> jcsnd = csoundJavaWrapperEnvironment.Java(
> is 1161 for you but 1232 for me.  Suggests that the SConstruct fle is 
> simply not the same! 
The same error (with the same line number) occurs after a fresh download 
only minutes ago.

I downloaded Csound5.08.tgz from csound.sourceforge.net#Downloads.

Best,

dp