opencog / cogutil

Very low-level C++ programming utilities used by several components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake Error at embodiment/CMakeLists.txt:4 (OPENCOG_ADD_ATOM_TYPES): Unknown CMake command "OPENCOG_ADD_ATOM_TYPES".

rollybob opened this issue · comments

I get this error when using "cmake .." CMake Error at embodiment/CMakeLists.txt:4 (OPENCOG_ADD_ATOM_TYPES):
Unknown CMake command "OPENCOG_ADD_ATOM_TYPES".
This is preventing me from using the make command, when I try I get "make: *** No targets specified and no makefile found. Stop." What am I doing wrong?
CMakeLists.txt

Maybe you need to install cogutils and atomspace?

Hmm, this macro is defined in opencog/lib as well, maybe it's a problem with cmake. Could you tell us your system specification (OS, gcc, cmake versions) and explain what you've done so far?

I am using ubuntu on a virtual machine, I am using the version 3.7.2 of cmake. So far I've only installed the prerequisites for cogutils, I tried to install atomspace but could not, as it requires cogutils to run.

The error message seems to come from the opencog repo given that embodiment is mentioned. What error message do you get from cogutils?

That is the message i get when compiling cogutils... CMake Error at embodiment/CMakeLists.txt:4 (OPENCOG_ADD_ATOM_TYPES):
Unknown CMake command "OPENCOG_ADD_ATOM_TYPES".

That's very strange, I really don't understand. Have you tried to use https://github.com/opencog/ocpkg ?

What is it?

there is no directory called embodiment in cogutils. I'm guessing you've got a bunch of code all checked into the same directory, you';ve got scrambled eggs. Try again, this time, each repo in its own dir.

Thats what I did... I dont see how this happened... Maybe I clicked and dragged a folder in by mistake? I'll try again. Sometimes the simplest explanation is the best one right?

ok so final update, yes there was some mystery folder mixed in. Where did embodiment come from? Anyway after attempting to use cmake a second time it said "Some but not all boost libraries were found." After using ./bootstrap.sh --help and then include libraries=all and installing it agian it worked. So hooray for that. Thanks to linas and everyone else for helping.