Error: setup and build on Linux

Feb 19, 2014 at 6:29 AM
Edited Feb 19, 2014 at 6:32 AM
I follow the steps to setup and build on linux, but when I try to compile (make all) some errors occur:

Compiling streams/linux/fileio_linux.cpp -> streams/linux/fileio_linux.Debug32.o
In file included from streams/linux/fileio_linux.cpp:32:0:
./pch/stdafx.h:72:28: fatal error: boost/locale.hpp: No such file or directory
#include "boost/locale.hpp"

Please give me some help, thank you!
Feb 19, 2014 at 11:17 PM
Hi DexterChou!

We're working on reproducing and diagnosing this issue. In order to do that, we need to know a bit more information about your environment. Specifically, could you answer these questions:

What is the output of the command 'uname -a'?
What packages did you install to get boost and openssl?

Mar 18, 2014 at 11:40 AM
Hi roschuma!
  1. The output of the command 'uname -a' is following:
Linux ubuntu 3.2.0-49-generic-pae #75-Ubuntu SMP Tue Jun 18 18:00:21 UTC 2013 i686 i686 i386 GNU/Linux
  1. The command I used to install boost and openssl is:
sudo apt-get install g++-4.8 git make libboost1.48-all-dev libssl-dev cmake

which is following the steps of 'How to setup, build, and run tests on Linux (2.0+)'

Thank you for your reply and appreciate for your further help.
Mar 18, 2014 at 7:19 PM
Hi again DexterChou,

Please follow the steps of "How to setup, build, and run tests on Linux (1.4 and below)" until 2.0 is released.

If your attempts to build are still failing, could you provide the error messages after installing the libboost1.48-all-dev package?
Mar 19, 2014 at 3:20 AM
Thank you very much, roschuma!

I have run the tests successfully.

What could I do next to use it? Are there any samples or guides?
Mar 19, 2014 at 8:27 PM
There are some sample applications distributed with the source code.

See for more.
Mar 26, 2014 at 7:46 AM
Hi roschuma!

I'm back. I'm still puzzled about the usage of casablanca.

I aim at creating a server with sources which will be accessed.
What I most want to know is how to abstract out something into a source(URI) and create a server, and then to access it.

The samples have given us the exisiting executable files. There is no words about how to conpile them, and I can't find thier source code.
Are there any detail files to explain the classes?

In adding, how to use 'blackjackclient'?

Thank you for giving me more help.