5 Replies Latest reply on Nov 28, 2009 4:29 PM by Nasenbaer

    alloca: identifier not found

    roddomi

      Hi,

      I am trying to compile the code from the tutorial "Introductory Tutorial to OpenCL" and I am getting a "alloca: identifier not found" error message from cl.hpp. Don't you have to include malloc.h if you want to use alloca? Adding the include fixes the error.

      Thank you,

      Rodrigo