OpenCog

Building OpenCog

From OpenCog

The README file on launchpad contains build instructions.

Warning: currently in order to compile OpenCog you need a version of Boost of 1.45 or above. OpenCog will not compile due to a bug in prior versions of Boost.

For alternate instructions see:

  • Cogbuntu Developer Preview live DVD
    (recommended in conjunction with the free VirtualBox for users of Microsoft Windows, Mac OS X, or Linux distributions other than the current latest version of Ubuntu Linux)
  • ocpkg & ocbootstrap: tools to download, build, test, install and package OpenCog.

General Instructions

For platform-specific instructions, please see the links above. There are, however, some common aspects of installing OpenCog on all platforms. The general procedure for obtaining the development version of OpenCog is as follows.

  • Install dependancies (there are many)
  • Get the source:
bzr branch lp:opencog
  • Build the project:
mkdir bin ; cd bin
cmake ..
make
  • Possibly install it (required for Distributed MOSES for instance)
sudo make install
sudo ldconfig
  • Edit configuration files (see also the launchpad documentation)
  • Run the cogserver:
bin/opencog/server/cogserver