|
ChrisE
|
 |
« on: 01. November 2010, 04:07:59 pm » |
|
Sorry to spam the forums, but another hitch. As I'm unable to embed the source into our project (Xith3D is considered an external dependency, and so we treat it as such), I've taken to trying to make the .jar libraries for it from the latest (rev. 1839) SVN.
Now, I've exported the tree to strip the SVN information to a new folder (using SVN Export), and have run Ant (no args). This results in the following output:
E:\workspace\external\Xith3D\trunk>ant Buildfile: build.xml
-pre-init:
-init-private:
-init-libraries:
-init-user:
-init-project:
-init-macrodef-property:
-do-init:
-post-init:
-init-check:
-init-macrodef-javac:
-init-macrodef-junit:
-init-debug-args:
-init-macrodef-nbjpda:
-init-macrodef-debug:
-init-macrodef-java:
-init-presetdef-jar:
init:
deps-jar:
-check-automatic-build:
-clean-after-automatic-build:
-verify-automatic-build:
-pre-pre-compile:
-pre-compile:
-compile-depend:
-do-compile: [javac] Compiling 310 source files to E:\workspace\external\Xith3D\trunk\bui ld\classes [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundBufferImpl.java:59: alGenBuffers(int,int[]) in net.java.games.joal.AL cann ot be applied to (int,int[],int) [javac] driver.getAL().alGenBuffers( 1, ret, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:146: alListenerfv(int,float[]) in net.java.games.joal.AL c annot be applied to (int,float[],int) [javac] al.alListenerfv( AL.AL_POSITION, [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:166: alListenerfv(int,float[]) in net.java.games.joal.AL c annot be applied to (int,float[],int) [javac] al.alListenerfv( AL.AL_ORIENTATION, [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:279: alDeleteSources(int,int[]) in net.java.games.joal.AL cannot be applied to (int,int[],int) [javac] al.alDeleteSources( sourceList.length, sourceList, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:294: alDeleteBuffers(int,int[]) in net.java.games.joal.AL cannot be applied to (int,int[],int) [javac] al.alDeleteBuffers( bufferList.length, bufferList, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:299: alcMakeContextCurrent(net.java.games.joal.ALC.Context ) in net.java.games.joal.ALC cannot be applied to (net.java.games.joal.ALCcontex t) [javac] alc.alcMakeContextCurrent( context ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:301: alcDestroyContext(net.java.games.joal.ALC.Context) in net.java.games.joal.ALC cannot be applied to (net.java.games.joal.ALCcontext) [javac] alc.alcDestroyContext( context ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:303: alcCloseDevice(net.java.games.joal.ALC.Device) in net .java.games.joal.ALC cannot be applied to (net.java.games.joal.ALCdevice) [javac] alc.alcCloseDevice( device ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:324: incompatible types [javac] found : net.java.games.joal.ALC.Device [javac] required: net.java.games.joal.ALCdevice [javac] device = alc.alcOpenDevice( System.getProperty( "XITH3D_ OPENAL_DEVICE" ) ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:333: alcCreateContext(net.java.games.joal.ALC.Device,int[] ) in net.java.games.joal.ALC cannot be applied to (net.java.games.joal.ALCdevice ,<nulltype>) [javac] context = alc.alcCreateContext( device, null ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundDriverImpl.java:334: alcMakeContextCurrent(net.java.games.joal.ALC.Context ) in net.java.games.joal.ALC cannot be applied to (net.java.games.joal.ALCcontex t) [javac] alc.alcMakeContextCurrent( context ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:63: alGenSources(int,int[]) in net.java.games.joal.AL cann ot be applied to (int,int[],int) [javac] driver.getAL().alGenSources( 1, ret, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:78: alSourceQueueBuffers(int,int,int[]) in net.java.games. joal.AL cannot be applied to (int,int,int[],int) [javac] driver.getAL().alSourceQueueBuffers( handle, 1, new int[] [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:88: cannot find symbol [javac] symbol : method alGetSourcei(int,int,int[],int) [javac] location: interface net.java.games.joal.AL [javac] driver.getAL().alGetSourcei( handle, AL.AL_BUFFERS_PROCESSED , ret, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:91: alSourceUnqueueBuffers(int,int,int[]) in net.java.game s.joal.AL cannot be applied to (int,int,int[],int) [javac] driver.getAL().alSourceUnqueueBuffers( handle, num, buffers, 0 ); [javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:167: alSourcefv(int,int,float[]) in net.java.games.joal.AL cannot be applied to (int,int,float[],int) [javac] driver.getAL().alSourcefv( handle, AL.AL_POSITION, pos, 0 );
[javac] ^ [javac] E:\workspace\external\Xith3D\trunk\src\org\xith3d\sound\drivers\joal \SoundSourceImpl.java:199: cannot find symbol [javac] symbol : method alGetSourcei(int,int,int[],int) [javac] location: interface net.java.games.joal.AL [javac] driver.getAL().alGetSourcei( handle, AL.AL_SOURCE_STATE, ret , 0 ); [javac] ^ [javac] 17 errors
BUILD FAILED E:\workspace\external\Xith3D\trunk\nbproject\build-impl.xml:352: The following e rror occurred while executing this line: E:\workspace\external\Xith3D\trunk\nbproject\build-impl.xml:176: Compile failed; see the compiler error output for details.
Total time: 2 seconds E:\workspace\external\Xith3D\trunk>
There seems to be a problem with JoAL, but I haven't the faintest what to do here other than use the latest lib from the cooker release. Any ideas?
EDIT: Thanks for any help on this... consulted the Wiki and searched the forums but beyond a change to use windows instead of linux folders in the .classpath files I've found nothing relevant.
EDIT 2: Note that the cooker release is unable to run the JOALSoundTest or PointSoundTest samples. So, perhaps this is a problem with my environment.
|