4 Replies Latest reply on Jan 2, 2010 6:54 AM by jeanluca

    compile/run c code


      Hi All

      On my fedora 12 system I've installed


      I can run the samples from ati-stream-sdk.

      Here is the problem, I want to program in C, but I cannot get it to work. For example, I'm used to program OpenCL stuff on my Mac. All I needed to do  was to include

      #include <OpenCL/opencl.h>

      and compile

      $> gcc -framework OpenCL helloworld.c


      However, this code doesn't compile at all on my Linux system. Also I cannot find much about C, most is C++, right ?

      Anu suggestion how to get my C code to work? Maybe someone has a working hello_world.c