Open cortexiphan opened 10 years ago
You could try to add the pathes where boost and pluma are located in to your LD_LIBRARY_PATH
. I must admit that the Linux-builds are not tested as good as the Windows-side.
What Thirdparty package are you using?
Hey, I'm having trouble building CxxProf. When building cxxprof_server the following error ocurs:
| We're building the following components in this iteration: | -- cxxprof_server | -- cxxprof_interface_test | ...cxxprof_server - cmake - SUCCESS | ...cxxprof_interface_test - cmake - SUCCESS | ...cxxprof_interface_test - release - SUCCESS | ...cxxprof_interface_test - debug - SUCCESS | ...cxxprof_server - release - ~~ ERROR: 2 ~~ Errors occured, stopping the build...
So I look into the logs and found these errors:
Linking CXX executable cxxprof_server /usr/bin/ld: warning: libboost_thread.so.1.55.0, needed by /home/fatbean/SourceCode/CxxProf/thirdparty/sqlite3cc/lib/libsqlite3cc.so.0, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libPluma.so, needed by /home/fatbean/SourceCode/CxxProf/cmake/../install/cxxprof_dyn_network/lib/libcxxprof_dyn_network.so, not found (try using -rpath or -rpath-link) /home/fatbean/SourceCode/CxxProf/cmake/../install/cxxprof_dyn_network/lib/libcxxprof_dyn_network.so: undefined reference to
pluma::Provider::~Provider()' /home/fatbean/SourceCode/CxxProf/cmake/../install/cxxprof_dyn_network/lib/libcxxprof_dyn_network.so: undefined reference to
vtable for pluma::Provider' /home/fatbean/SourceCode/CxxProf/cmake/../install/cxxprof_dyn_network/lib/libcxxprof_dyn_network.so: undefined reference topluma::Host::add(pluma::Provider*)' /home/fatbean/SourceCode/CxxProf/cmake/../install/cxxprof_dyn_network/lib/libcxxprof_dyn_network.so: undefined reference to
typeinfo for pluma::Provider' collect2: error: ld returned 1 exit status make[2]: * [cxxprof_server] Error 1 make[1]: * [CMakeFiles/cxxprof_server.dir/all] Error 2 make: *\ [all] Error 2Well, the libboost_thread.so.1.55.0 and libPluma.so are actually there, But the compile cannot find them. Is there anything wrong when specifying the library path? I don't know much about cmake or make, would you offer some tips of solving these problems?