-DCURL_STATICLIB
-I ..\..\include
-L ..\..\lib\
-lcurl
-lws2_32
-lwinmm
This suggestion is wrong/incorrect, because:
1. You set both compiler and linker options only in the compiler part of the build options
2. There is GUI for setting
Below I've where/how you should set the compiler/linker options in C::B's GUI (first open the dialog Project -> Build options):
Compiler options:
"-DCURL_STATICLIB" -> add "CURL_STATICLIB" to Compiler settings -> Defines
"-I ..\..\include " -> add "..\..\include " in Search Directories -> Compiler
Linker options:
"-L ..\..\lib\" -> add "..\..\lib" in Search Directories -> Linker
"-lcurl", "-lws2_32", "-lwinmm" -> add "curl", "ws2_32", "winmm" in Linker settings -> Link libraries