Login  Register

Re: CLMemory#getNIOSize should use buffer.limit() instead of buffer.capacity().

Posted by Emily Leiviskä on Nov 16, 2016; 1:31pm
URL: https://forum.jogamp.org/CLMemory-getNIOSize-should-use-buffer-limit-instead-of-buffer-capacity-tp4037407p4037419.html

I tried to run ant junit.run in jocl and it fails because it cannot find 7z. Which is rubbish because 7z is installed and on my path:

$ which 7z
/usr/bin/7z

Same problem also occurs for jogl but those unit tests took me like 45 minutes to run so I'm not running them again  :D

BUILD FAILED
D:\work_java\jocl\make\build.xml:866: The following error occurred while executing this line:
D:\work_java\jocl\make\build-test.xml:409: The following error occurred while executing this line:
D:\work_java\jocl\make\build-test.xml:418: The following error occurred while executing this line:
D:\work_java\gluegen\make\jogamp-archivetasks.xml:23: Execute failed: java.io.IOException: Cannot run program "7z" (in directory "D:\work_java\jocl\build\test\results"): CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
-snip-
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
        at java.lang.ProcessImpl.start(ProcessImpl.java:137)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 62 more

Total time: 31 seconds

Any ideas?