Hello i want to set up SDL2 and OpenCL 1.2 in a single Project and use them. If i seperate the 2 Librarys in extra projects there is no problem.
OpenCL should calculate single Ant units and SDL2 should draw them, thats the plan.

But as i try to compile i get this error:

Code :
1>------ Build started: Project: SDL1, Configuration: Debug Win32 ------
1>  Source.cpp
1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\cl\cl.hpp(5434): error C2719: 'fillColor': formal parameter with __declspec(align('16')) won't be aligned
1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\cl\cl.hpp(5468): error C2719: 'fillColor': formal parameter with __declspec(align('16')) won't be aligned
1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\cl\cl.hpp(5502): error C2719: 'fillColor': formal parameter with __declspec(align('16')) won't be aligned
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========[/PHP]

Code :
 
#include <SDL.h>
#include <CL\cl.hpp>
 
int main(int argc, char** argv){
    SDL_Init(SDL_INIT_EVERYTHING);
    SDL_Quit();
 
    return 0;
}

Thanks for your help!
Furtano