extracting the curl folder in include path project and include them in code then copy the content of lib folder there is two files 'libcurl.a,libcurl.dll.a' into lib path in mingw and linked it using eclipse ide.
properties>c/c++ build>settings>MinGW c linker>libraries