Closed mjsduncan closed 2 years ago
The code in this repo will not work without a major overhaul. It has been non-functional for 6-8 years now.
nil's temporal reasoning group has it working, i'll try to get them to push their fixes
apparently it builds fine in ubuntu 20.04 with the caveats at the start of this file. that doesn't help me with the cmake problem tho... https://github.com/edyirdaw/rocca/blob/exp/examples/visualize_atoms/start_atomspace_restapi_server.py
The CMakefile used to find TBB is here: https://github.com/opencog/cogutil/blob/master/cmake/FindTBB.cmake -- you can either try to repair it, or try to find someone-else's version of this, from some other project on the interwebs, and use that. Create a pull req when you get a working version.
I'm pretty sure that this is the only opencog project that uses TBB so there's no risk of breaking anything else if you provide a different version.
thanks, linus!
On Mon, May 16, 2022 at 4:22 PM Linas Vepštas @.***> wrote:
The CMakefile used to find TBB is here: https://github.com/opencog/cogutil/blob/master/cmake/FindTBB.cmake -- you can either try to repair it, or try to find someone-else's version of this, from some other project on the interwebs, and use that. Create a pull req when you get a working version.
I'm pretty sure that this is the only opencog project that uses TBB so there's no risk of breaking anything else if you provide a different version.
— Reply to this email directly, view it on GitHub https://github.com/opencog/atomspace-restful/issues/3#issuecomment-1128098655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGJSQT4ZVPAMQG6H3XMCM3VKKU6XANCNFSM5VZEKDEQ . You are receiving this because you authored the thread.Message ID: @.***>
i just set the location by hand in the CMakeLists.txt file:
# Threaded Building Blocks (Intel TBB) library
#FIND_PACKAGE(TBB)
#IF (TBB_FOUND)
SET(HAVE_TBB 1)
SET(TBB_INCLUDE_DIR "/usr/include/tbb")
#ELSE (TBB_FOUND)
SET(TBB_DIR_MESSAGE "tbb include directory is ${TBB_INCLUDE_DIR}")
# SET(TBB_DIR_MESSAGE "Intel TBB (Threaded Building Blocks) was not found; th>
#ENDIF (TBB_FOUND)
MESSAGE(STATUS "${TBB_DIR_MESSAGE}")
i've installed libtbb-dev
but cmake can't find it:
any ideas about how to fix?