com.nativelibs4java.opencl.CLBuildException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • on the fly compilation failiure
    via GitHub by chalkie666
    ,
  • GitHub comment 25#139091979
    via GitHub by msymeonides
    ,
  • GitHub comment 25#112972747
    via GitHub by msymeonides
    ,
  • GitHub comment 11#1971092
    via GitHub by ochafik
    ,
  • GitHub comment 9#175378049
    via GitHub by 1lann
    ,
  • GitHub comment 9#175380760
    via GitHub by 1lann
    ,
  • GitHub comment 21#296453834
    via GitHub by lolmaker2002
    ,
    • com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [Intel(R) HD Graphics 4400 (Intel(R) OpenCL)]) :17:23: error: redefinition of typedef 'uint' is invalid in C typedef unsigned int uint; ^ <stdin>:58:22: note: previous definition is here typedef unsigned int uint; ^ :18:23: error: redefinition of typedef 'uchar' is invalid in C typedef unsigned char uchar; ^ <stdin>:48:23: note: previous definition is here typedef unsigned char uchar; ^ :433:21: warning: double precision constant requires cl_khr_fp64, casting to single precision float c_diffuse = 0.2; ^ :434:22: warning: double precision constant requires cl_khr_fp64, casting to single precision float c_specular = 0.6; ^ error: front end compiler failed build. at com.nativelibs4java.opencl.CLProgram.build(CLProgram.java:846) at com.nativelibs4java.opencl.CLProgram.createKernel(CLProgram.java:909) at clearvolume.renderer.opencl.OpenCLDevice.compileKernel(OpenCLDevice.java:360) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:164) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:812) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
    No Bugmate found.