-
Notifications
You must be signed in to change notification settings - Fork 0
Building SocketDwarf on Linux
semidark edited this page Oct 23, 2013
·
21 revisions
You need the following packages from the Ubuntu Repository: git, cmake, libboost-all-dev, libcppunit-dev
apt-get install git, cmake, libboost-all-dev, libcppunit-dev
apt-get install scon
wget "http://sourceforge.net/projects/jsoncpp/files/jsoncpp/0.6.0-rc2/jsoncpp-src-0.6.0-rc2.tar.gz/download"
tar -xvzf jsoncpp-src-0.6.0-rc2.tar.gz
cd jsoncpp-src-0.6.0-rc2
scons platform=linux-gcc
Jsoncpp doesn't seem to install itself, so you'll have to manually copy the library and header files wherever you want them when you're building applications that use the library.
sudo cp -r include/json /usr/local/include/
sudo cp libs/linux-gcc-*/libjson_linux-gcc-*_libmt.so /usr/local/lib/libjson.so
FIXME
-
Create Eclipse Workspace with cmake cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ./
-
Import the resulting Project as "Existing Code as Makefile Project"