Skip to content

Platform: Raspbian Jessie

Craig Minihan edited this page Jun 3, 2016 · 8 revisions

Raspbian comes with lots of nice development tools already installed. However we need a few extra bits:

apt-get install lcov

apt-get install libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev \
    libboost-regex-dev libboost-system-dev

Clone the libhttpserver repository, change to the directory and type make to build the library.

To run the tests type make test.

You can run the test web server after you have built the library. It is located in src/httpserver. The runnable files will be in the dist/Debug/GNU-Linux-x86 directory. Type ./httpserver and point your browser at port 10024 on the system running the web server, e.g. http://192.168.0.7:10024.

Clone this wiki locally