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.

GitHub | chalkie666 | 4 months ago
  1. 0

    on the fly compilation failiure

    GitHub | 4 months ago | chalkie666
    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.
  2. 0

    GitHub comment 25#139091979

    GitHub | 1 year ago | msymeonides
    com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [GeForce GT 730 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Lab\.javacl\includes\includes1321921870366129471"!
  3. 0

    GitHub comment 25#139161098

    GitHub | 1 year ago | royerloic
    com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [GeForce GT 730 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Lab\.javacl\includes\includes2435525135483185881"!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 25#112972747

    GitHub | 1 year ago | msymeonides
    com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [GeForce GT 730 (NVIDIA CUDA)]) Error in processing command line: Don't understand command line argument "Lab\.javacl\includes\includes6028947933632405878"!
  6. 0

    GitHub comment 9#175378049

    GitHub | 10 months ago | 1lann
    com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [Iris Pro (Apple)]) Compile Server Error.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. JavaCL Core
      CLProgram.createKernel
      1. com.nativelibs4java.opencl.CLProgram.build(CLProgram.java:846)
      2. com.nativelibs4java.opencl.CLProgram.createKernel(CLProgram.java:909)
      2 frames
    3. clearvolume.renderer.opencl
      OpenCLVolumeRenderer.initVolumeRenderer
      1. clearvolume.renderer.opencl.OpenCLDevice.compileKernel(OpenCLDevice.java:360)
      2. clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:164)
      2 frames
    4. clearvolume.renderer.cleargl
      ClearGLVolumeRenderer.init
      1. clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:812)
      1 frame
    5. JOGL
      FPSAnimator$MainTask.run
      1. jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644)
      2. jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667)
      3. jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431)
      4. jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291)
      5. jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
      6. com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
      7. com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
      8. com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
      9. com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
      9 frames
    6. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:555)
      2. java.util.TimerThread.run(Timer.java:505)
      2 frames