driplineorg / dripline-cpp

C++ Implementation of the Dripline framework
http://driplineorg.github.io
Apache License 2.0
1 stars 0 forks source link

Could not build 2.8.2 locally #86

Closed raphaelcervantes closed 3 years ago

raphaelcervantes commented 3 years ago

This is the error message I get:

Scanning dependencies of target Dripline
[ 53%] Building CXX object library/CMakeFiles/Dripline.dir/agent.cc.o
/usr/local/src/library/agent.cc: In member function ‘virtual void dripline::agent::sub_agent_request::create_and_send_message(scarab::param_node&, const dripline::core&)’:
/usr/local/src/library/agent.cc:220:71: error: cannot call member function ‘void scarab::signal_handler::add_cancelable(std::shared_ptr<scarab::cancelable>)’ without object
             scarab::signal_handler::add_cancelable( t_rec_cancel_wrap );
                                                                       ^
make[2]: *** [library/CMakeFiles/Dripline.dir/build.make:63: library/CMakeFiles/Dripline.dir/agent.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:505: library/CMakeFiles/Dripline.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 54%] Linking CXX executable scarab-parse
[ 54%] Built target scarab-parse
[ 56%] Linking CXX shared module scarab.cpython-38-x86_64-linux-gnu.so
[ 56%] Built target scarab
make: *** [Makefile:130: all] Error 2
The command '/bin/sh -c mkdir -p /usr/local/build &&     cd /usr/local/build &&     cmake ../src &&     cmake -DCMAKE_BUILD_TYPE=${build_type}         -DCMAKE_INSTALL_PREFIX:PATH=/usr/local         -DDripline_BUILD_EXAMPLES:BOOL=${build_examples}         -DDripline_ENABLE_TESTING:BOOL=${enable_testing}         -DDripline_BUILD_PYTHON:BOOL=TRUE         -DPBUILDER_PY_INSTALL_IN_SITELIB=TRUE         ../src &&     make -j3 install' returned a non-zero code: 2
nsoblath commented 3 years ago

@raphaelcervantes This may be a version shear issue. Please update to v2.8.3, and run git submodule update --recursive to make sure Scarab is up to date.

raphaelcervantes commented 3 years ago

Ok. I think you are right about the recursive update. I am now able to build dl-cpp fine.