/spring12-cs118-project1

CS118 (Spring 2012) reference code

Primary LanguageC++

General

To learn more about ./waf, refer to http://code.google.com/p/waf/ and http://waf.googlecode.com/svn/docs/wafbook/single.html

Ideally, you will need only to add your source files in wscript, which is basically a Python program.

How to use skeleton

Due to restrictions on lnxsrv, several steps necessary to compile and run (if you're using this skeleton):

  1. The following lines should be added to your ~/.profile

    export PATH=/usr/local/cs/bin:$PATH export LD_LIBRARY_PATH=/u/cs/grad/afanasye/boost/lib:/usr/local_cs/linux/lib64/:$LD_LIBRARY_PATH

  2. To configure environment

    ./waf configure

If there are any errors, please email me.

  1. To build/rebuild the code

    ./waf

  2. All compiled executables are located in build/, so you can run them as this:

    build/http-get

or

build/http-proxy