CogUtil is missing.

136 views
Skip to first unread message

Arthur Heuer

unread,
Aug 29, 2018, 12:54:54 PM8/29/18
to opencog
I'm following the build process instructions for OpenCog. Since I'm on Ubuntu 18.04.1, I'm following the Ubuntu instructions, I got to cmake .., but got the following error:

CMake Deprecation Warning at CMakeLists.txt:16 (CMAKE_POLICY):
  The OLD behavior for policy CMP0005 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Build type: Release
CMake Error at CMakeLists.txt:58 (FIND_PACKAGE):
  Could not find a package configuration file provided by "CogUtil"
  (requested version 2.0.1) with any of the following names:

    CogUtilConfig.cmake
    cogutil-config.cmake

  Add the installation prefix of "CogUtil" to CMAKE_PREFIX_PATH or set
  "CogUtil_DIR" to a directory containing one of the above files.  If
  "CogUtil" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/arthur/opencog/build/CMakeFiles/CMakeOutput.log".


I installed the locate command and then tested it and it works, but the following commands return nothing.

locate CogUtilConfig.cmake
locate CogUtilConfig.cmake
locate cogutil-config.cmake
locate CogUtil

Why is CogUtil missing and how can I fix this? Thank you. :)

Nil Geisweiller

unread,
Aug 30, 2018, 2:06:59 AM8/30/18
to ope...@googlegroups.com, Arthur Heuer
Hi Arthur,

I'm not used to octool but I tried on a fresh ubuntu vm. After typing

./octool -rsdpcav -l default

I'm getting the following error (towards the beginning):

curl: command not found

and towards the end:

no acceptable C compiler found.

I suppose octool hasn't been updated for ubuntu 18.04...

Hopefully someone can come at your rescue soon.

Nil

On 08/29/2018 07:54 PM, Arthur Heuer wrote:
> I'm following the build process instructions for OpenCog
> <http://wiki.opencog.org/w/Building_OpenCog_%28Hands_On%29>. Since I'm
> --
> You received this message because you are subscribed to the Google
> Groups "opencog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to opencog+u...@googlegroups.com
> <mailto:opencog+u...@googlegroups.com>.
> To post to this group, send email to ope...@googlegroups.com
> <mailto:ope...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/opencog.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/opencog/846d19b5-db08-440f-afaf-07be6c010980%40googlegroups.com
> <https://groups.google.com/d/msgid/opencog/846d19b5-db08-440f-afaf-07be6c010980%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Vitaly Bogdanov

unread,
Aug 30, 2018, 5:31:04 AM8/30/18
to opencog, arthu...@gmail.com
Hi Arthur,

CogUtil is an utility library of the OpenCog project. It should be built from the sources by octool during the dependencies installation step (http://wiki.opencog.org/w/Building_OpenCog_(Hands_On)#Installing_dependencies_on_Ubuntu).

Could you please send the output of the "./octool -rsdpcav -l default" command to see why CogUtil could not be built on your system?

Best regards,
  Vitaly

чт, 30 авг. 2018 г. в 9:06, 'Nil Geisweiller' via opencog <ope...@googlegroups.com>:
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages