http://www.tu-chemnitz.de/~helmberg/ConicBundle/
After having downloaded the file, do the following:
tar xzvf CB_v?.?.tgz cd ConicBundle more README
It is assumed that
In the same directory as the README file you will find a
Makefile
In this Makefile the compilers are currently set to
CXX = g++ CC = gcc
If you want to use other compilers, you have to replace g++ and gcc by the appropriate names.
Choose one of the two compliation modes corresponding to a mode for debugging and an optimized mode without range and dimension checks.
MODE = DEBU #MODE = OPTI
The Makefile is set up to allow the use of distinct compiler flags for each (operating_system.cpu.compiler)-configuration. You will find a few examples in the Makefile; we illustrate the concept for a Linux system with an "i686"-cpu and compiler g++,
#--- linux.i686.g++ settings --------------------------------------------------- DEBU.linux.i686.g++ = -g -DDEBUG OPTI.linux.i686.g++ = -DNDEBUG -pipe -O6 -fomit-frame-pointer -fschedule-insns2 -fu nroll-loops -felide-constructors -mcpu=i686 WARN.linux.i686.g++ = $(GCCWARN) DEPD.linux.i686.g++ = -MM LINK.linux.i686.g++ = -lm AR.linux.i686.g++ = ar ARFLAGS.linux.i686.g++ = cr RANLIB.linux.i686.g++ = ranlib DEBU.linux.i686.gcc = -g -DDEBUG OPTI.linux.i686.gcc = -DNDEBUG -pipe -O6 -fomit-frame-pointer -fschedule-insns2 -fu nroll-loops -mcpu=i686 WARN.linux.i686.gcc = $(GCCWARN) DEPD.linux.i686.gcc = -MM LINK.linux.i686.gcc = -lm
You may have to generate your own set if your configuration is not present. To find out your configuration simply plug in your compiler at CXX and run (gnu) make. Besides printing a lot of nonsense, make will create a subdirectory "<mode>.<os>.<cpu>.<CXX>". The last three terms of the subdirectory give you the names you have to use in order to add your options in the Makefile as in the example above.
After having adapted the Makefile to your needs run make by typing
make
After this you should find the library at
ConicBundle/lib/libcb.a
ConicBundle/t_c ConicBundle/t_cxx ConicBundle/t_mat
ConicBundle/c_main.c ConicBundle/cxx_main.cxx ConicBundle/mat_main.cxx
If you only plan to use the standard C or C++ interfaces, then all headers that you need can be found in the subdirectory include
ConicBundle/include/cb_cinterface.h ConicBundle/include/CBSolver.hxx
The starting point for the html Manual is
ConicBundle/html/index.html