Results 1 to 2 of 2

Thread: error -30 buildprogram

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    18

    error -30 buildprogram

    Hi I use clBuildprogram to build my code,
    and I get an error that I print like this
    Code :
    shrLog(" Error %i build program !!!\n\n", ciErrNum);
    But I get error -30, how can I get the real error name,
    CL_INVALID_PROGRAM or CL_INVALID_VALUE for exemple.

    Thanks

  2. #2
    Junior Member
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    21

    Re: error -30 buildprogram

    I made up a std::map with the id and the string, and use this whenever I have an error. Easy to make with some copy/paste from the cl.h

Similar Threads

  1. fatal error C1189: #error : ERROR: Use of C runtime library
    By gjermani in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 09-24-2007, 03:02 AM
  2. about X Error: GLXBadDrawable 158 Error
    By Ulimit77 in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 06-05-2005, 04:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •