Re: [Cppcms-users] undefined reference to service
Brought to you by:
artyom-beilis
From: Shiv S. D. <shi...@gm...> - 2017-04-29 12:37:11
|
Have you installed the libraries after compilation? In the build directory you have to run sudo make installl for libcppcms.so installation etc. On Sat, Apr 29, 2017 at 5:01 PM, jupiter <jup...@gm...> wrote: > Hi, > > I can compile and run most examples except json_rpm_chat, I have so many > following compiling error about mssing cppcms::service class: > > examples/json_rpc_chat/chat.cpp:147: undefined reference to > `cppcms::service::service(int, char**)' > > examples/json_rpc_chat/chat.cpp:149: undefined reference to > `cppcms::service::applications_pool()' > > ....... > > > Both -lcppcms and -lbooster are in the Makefile, what was wrong about it > and how can I fix it? > > Thank you. > > Kind regards, > > - j > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |