- Download twitcurl source from https://github.com/swatkat/twitcurl using Git client.
git clone https://github.com/swatkat/twitcurl.git
- In Unix shell, cd into libtwitcurl directory.
- Compile all of the twitcurlsource files into object files.
g++ -Wall -fPIC -c -I. twitcurl.cpp oauthlib.cpp urlencode.cpp base64.cpp HMAC_SHA1.cpp SHA1.cpp
- Building twitcurl asstatic library: Use the archive commandto build twitcurl library from object files.
ar rvs libtwitcurl.a *.o