Shape drawing using renderer

How can i draw polygons using SDL2? I tried using SDL2_gfx but compiling the sourcecodes for it is a headache and i couldnt get it working. Im using VS2013.