roddomi

alloca: identifier not found

Discussion created by roddomi on Sep 21, 2009
Latest reply on Nov 28, 2009 by Nasenbaer

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

Outcomes