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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by chalkie666
, 1 year ago
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
via GitHub by msymeonides
, 2 years ago
Compilation failure : (devices: [GeForce GT 730 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Lab\.javacl\includes\includes2451251202754881340"!
via GitHub by msymeonides
, 2 years ago
Compilation failure : (devices: [GeForce GT 730 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Lab\.javacl\includes\includes1321921870366129471"!
via GitHub by 1lann
, 1 year ago
Compilation failure : (devices: [Iris Pro (Apple)]) Compile Server Error.
via GitHub by 1lann
, 1 year ago
Compilation failure : (devices: [Iris Pro (Apple)]) Compile Server Error.
via GitHub by lolmaker2002
, 5 months ago
Compilation failure : (devices: [GeForce GTX 750 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Vanneste\.javacl\includes\includes3388868381113571086"!
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 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 java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.