[Cppcms-users] chat.cpp examples and boost/bind.hpp problem
Brought to you by:
artyom-beilis
From: Hurst, M. <Mar...@sl...> - 2019-03-29 20:09:52
|
Hello! Newbie here; loving the framework so far! Running on ubuntu 16.04. Downloaded cppcms-1.2.1.tar.bz2 and followed instructions to build and install. No errors. Simpler examples like, hello_world, url_mapping and others build and run correctly. However, ~/cppcms-1.2.1/examples/json_rpc_chat/ fails to build: markhurst@ubuntu:~/cppcms-1.2.1/examples/json_rpc_chat$ make g++ -O2 -Wall -g chat.cpp -o chat -lcppcms -lbooster chat.cpp:23:26: fatal error: boost/bind.hpp: No such file or directory compilation terminated. Makefile:7: recipe for target 'chat' failed make: *** [chat] Error 1 I've searched best I can in online documentation, mailing list, and can't find solution. Because instructions say boost is NOT needed, and should not be used anyway: 1. Why does <boost/bind.hpp> and actual use of boost::bind() appear in chat.cpp and other example sources? 2. How do I fix the problem? Are there corrected examples? THANK YOU, anyone who has an answer. I'm trying to demo the framework to our development team and show the more complex capabilities. Mark Hurst Principal Software Engineer SlingTV / Dish Networks |