Csound Csound-dev Csound-tekno Search About

[Csnd] Re: error building Java wrapper on amd64

Date2008-03-22 17:25
Fromvictor
Subject[Csnd] Re: error building Java wrapper on amd64
Dave,

it looks like your scons system cannot find java tools. That is
what the message seems to tell us...

Victor
----- Original Message ----- 
From: "Dave Phillips" 
To: "Csound Mail" 
Sent: Saturday, March 22, 2008 5:15 PM
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
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-03-23 13:02
FromDave Phillips
Subject[Csnd] Re: Re: error building Java wrapper on amd64
victor wrote:
> it looks like your scons system cannot find java tools. That is
> what the message seems to tell us...
What Java tools ? JAVA_HOME points to /usr/lib/java which is where I 
have an installation of Sun's JDK 1.6 (not just the JRE). I assumed all 
necessary components were with the full SDK, but am I missing something 
specific ?

Best,

dp