Menu

Tree [3c76d3] default tip /
 History

Read Only access


File Date Author Commit
 doc 2012-02-14 christian christian [3c76d3] HTML documentation.
 examples 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 exp 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 gl 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 gui 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 haskell 2012-01-18 christian christian [d3f4fc] Merge
 include 2012-02-14 christian christian [6c794a] Some changes to documentation
 matlab 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 plot.bak 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 python 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 pythonembed 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 rpm unknown
 src 2012-02-14 christian christian [6c794a] Some changes to documentation
 swig 2011-09-06 christian christian [984359] Added copyright notices, added GPL
 tools 2007-03-29 christian christian [a6b6c8]
 AUTHORS 2012-01-19 christian christian [63fc74] Changes for GPL
 CMakeLists.txt 2012-01-19 christian christian [abd21b] Merged.
 CMakeLists.txt.multiple-libs 2008-11-11 christian christian [fcf005]
 CMakeLists.txt.skel 2009-06-02 christian christian [fb7129]
 COPYING 2012-01-18 christian christian [d3f4fc] Merge
 COPYING.COMMERCIAL 2012-01-19 christian christian [63fc74] Changes for GPL
 ChangeLog unknown
 Doxyfile 2011-10-18 christian christian [84eff5] only documentation changes
 INSTALL 2012-01-19 christian christian [abd21b] Merged.
 NEWS unknown
 README 2012-02-14 christian christian [6c794a] Some changes to documentation
 RELEASE 2012-01-19 christian christian [abd21b] Merged.
 TODO 2008-03-16 christian christian [e8889a] Removed some files from win32 build;
 golib.pc.cmakeconfig 2010-09-01 Christian Christian [452764] Fixed compile problem with libdevil missing;
 maindocpage.h 2012-02-14 christian christian [6c794a] Some changes to documentation
 mkfunctors.py 2012-01-18 christian christian [1173e9] ADded reference to web site
 mkinstalldirs unknown
 package.sh 2008-03-13 christian christian [0dd6e1]
 rpm-build.spec unknown

Read Me

libGo (golib) README
--------------------

LICENSE ISSUES
--------------
Please read the file COPYING.
Golib is put under the GNU General Public license (GPL).

About
-----
libGo is a C++ class library containing all kinds of 
things that proved useful to me.
For details, see the HTML source documentation in golib/doc.
(See "How to build the HTML documentation" below.)

Directories
-----------
./		- Main libGo distribution directory
./doc		- Documentation
./examples	- Example source code and makefiles
./exp		- Experimental stuff, guaranteed to be unstable ;)
./include	- All include files
./src		- Source code, subdivided in different subdirectories
./tools		- Some scripts, including a Perl script to create makefiles
./rpm		- Work in progress -- this will contain the files necessary
			- to build an rpm package

What you need
-------------
- golib was last compiled on a Ubuntu 11.10 (oneiric) system.
- You will need a C++ compiler (tested with gnu c++ 4.6.1)
- A current version of CMake (http://www.cmake.org). Earlier versions also
  supported GNU autotools, but that is no longer supported.
- The pthreads library must be installed.
- For version 0.2.1, you will also need the SDL library
  (see http://www.libsdl.org).
- For image loading/writing support you need 
  libdevil (http://openil.sourceforge.net/). You will not be able
  to read/write images when you don't have libdevil.
- If you want to use the matlab support library, you obviously
  need Matlab. *NOTE* I do not have access to Matlab anymore,
  so I can not be of much help if something does not work.
- If you want the (somewhat restricted) Python interface and
  want to use the Python embedding helpers, you need Python 2.7
  or a compatible version. Just give it a try. Python 3 will probably
  not work.
  You will also need SWiG for the Python stuff:
  http://www.swig.org

Also see the html documentation as it might be more up to date.
  
Package Dependencies in Ubuntu
------------------------------
This holds possibly also for other Debian based
GNU/Linux distributions.
Necessary:
 libatlas-base-dev (lapack, blas, atlas)
 libf2c2-dev (lapack)
 libv4l-dev (for govideocapture.cpp)
Recommended:
 libdevil-dev
GUI:
 libgtkmm-2.4-dev
 libgtkglext1-dev
GL:
Python:
 python-dev


How to build the HTML documentation
-----------------------------------
Get /doxygen/, in Ubuntu e.g. say "sudo apt-get install doxygen".
Then in the golib base directory, simply call doxygen
from the command line.
The documentation will be in doc/html.


How to build
------------
Set the environment variable GOPATH to the path where golib resides, e.g. in bash
 export GOPATH=/home/christian/golib
In the golib directory, do
 mkdir build
 cd build
 cmake ..
 ccmake . 
   (or cmake-gui), and set the things you want; set LINK_GFORTRAN to OFF, if the linker complains about it.
 make
Also see the html documentation for details.
There is also a matlab support library in the matlab directory
(of course, you need matlab for this) and Python support using SWiG
in the python directory.
 

I have not had the opportunity to try this on many different machines, 
so if there are difficulties, please either report them to golib@goschs.de
or fix them and send the fix to the same address.

Examples
--------
To build the examples, you will have to build the library first,
then go to the golib/examples directory and use one of the provided makefiles, like this:
make -f <YourChosenMakefile>

More recent examples have their own sub-directories in the examples
directory, and mostly have CMakeLists.txt files for use with cmake.
You may have to edit some of these files to fit your machine, in particular
the paths where the libraries and include files are located.

Note there is also a pkg-config file created by cmake. It is called
 golib.pc
and is located in the golib base directory after cmake ran successfully.


Further reading
---------------
I suggest you go through the online documentation in the golib/doc
directory.

Contact
-------
Feel free to contact me at golib@goschs.de!


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.