[Cppcms-users] Compiling Help
Brought to you by:
artyom-beilis
From: Peter N. <cou...@gm...> - 2012-02-20 05:22:02
|
I'm running Ubuntu and I'm trying to setup KDevelop so onc I click build everything runs. I'm having just basic setup issues... main.cpp:(.text+0x23): undefined reference to `cppcms::service::service(int, char**)' main.cpp:(.text+0x59): undefined reference to `cppcms::service::applications_pool()' main.cpp:(.text+0x68): undefined reference to `cppcms::applications_pool::mount(std::auto_ptr<cppcms::applications_pool::factory>)' main.cpp:(.text+0x8c): undefined reference to `cppcms::service::run()' main.cpp:(.text+0x98): undefined reference to `cppcms::service::~service()' main.cpp:(.text+0xe0): undefined reference to `cppcms::service::~service()' /tmp/ccE58iHq.o: In function `post::post(cppcms::service&)': main.cpp:(.text._ZN4postC2ERN6cppcms7serviceE[_ZN4postC5ERN6cppcms7serviceE]+0x1f): undefined reference to `cppcms::application::application(cppcms::service&)' main.cpp:(.text._ZN4postC2ERN6cppcms7serviceE[_ZN4postC5ERN6cppcms7serviceE]+0x2a): undefined reference to `vtable for post' collect2: ld returned 1 exit status It looks like it's not linking right to the library... -l /home/user... is where I initially built them all from the latest source (0.999.1 at this time). I did a make install as well, it did copy them to /usr/local/lib/ I added /usr/local/lib/ to my PATH env as well and did relog. Any other suggestions? It looks like it just isn't able to refeernce the libraries |