Talk:Building OpenCog

From OpenCog


Using MS Visual C++ Express 9 (2008)

Instructions and dependencies found in README.win32

Source Code Download

Using Bazaar version control (instructions at

bzr branch lp:~opencog

Mac OS X

Using MacPorts

 sudo installer -pkg /Volumes/MacPorts-1.8.1/MacPorts-1.8.1.pkg -target /
 echo "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" >> ~/.profile

 source ~/.profile

 sudo port -v selfupdate
  • Install dependencies from MacPorts
sudo port install bzr  #lots of dependencies!
# sudo port install rpm  #even more dependencies! unnecessary?
sudo port install gmake
sudo port install cmake
#cmake couldn't find this gsl - but perhaps could make it work?
#sudo port install gsl-devel 
sudo port install guile # for scm shell
sudo port install libsdl libsdl_gfx # for embodiment spatial tools
sudo port install xercesc3 lua # needed for embodiment

# required for persistence, but not tested on OSX 
# sudo port install unixODBCyet.
tar zxvf boost_1_38_0.tar.gz
cd boost_1_38_0
make install
  • Install libgsl:
cd ~
curl -O
tar zvf gsl-1.9.tar.gz
cd gsl-1.9
make install
  • Get Opencog and build...
bzr branch lp:~opencog-dev/opencog/osxport
mkdir bin
cd bin
cmake ..
make && make test

Email the mailing list with how it went!

Not working

Embodiment needs luabind:

Download luabind from

Then configure/make/make install

Doesn't currently work on OSX?