Skip to content

CBU Setting up your environment

Marcus Ottosson edited this page Jan 25, 2015 · 4 revisions

1. Installing libcurl

A summary steps required to get an installation going

2. Compiling a simple program with libcurl

Here is what compiling with libcurl from a terminal may look like.

$ gcc <inputfile> -o <outputfile> -l curl

And here is how it works via CodeBlocks.

  1. link library:
  • Project > Build Options > Linker Settings > Add > "Path to libcurl.a"
  1. link "include" folder:
  • Project > Build Options > Search Directory > Compiler > Add > "Path to include folder"
Clone this wiki locally