Compile C++ BOOST Example

Playing around with Boost 1.58 library, i need to experience the compile and run the examples.
I go into libs/serialization/examples/ run b2 hummm seems to build everything. So give it a try
to compile it "by-hands"

$ pwd


$ export LD_LIBRARY_PATH=/opt/c++/boost_1_58_0/stage/lib:$LD_LIBRARY_PATH

$ c++ demo.cpp -o demo -L /opt/c++/boost_1_58_0/stage/lib -lboost_serialization-mt

$ ./demo

** Throws some log meaning the application compiled and run successfully



Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

Compile PHP with unixODBC options

Error: cannot find symbol import