-
Notifications
You must be signed in to change notification settings - Fork 1
Config::Installation
git clone --recursive https://github.com/TeamCobra/ouroboros.git
cd ouroboros
- (optional, only to get the newest code)
git checkout development
gem install nokogiri
gem install rgen
- Doxygen is required if one wants to generate the C++ documentation
Some of the sample plugins require the embedded python libraries, bundled in some distributions as python-dev.
cd src/
-
./ouroboros_generator serverconfig.xml
XML file example is named 'serverconfig.xml' cd ../
autoreconf -fi
cd build
../configure #details of cross-compiler can be specified here
make
cd src/ouroboros
./ouroboros_server
-
autoreconf -fi
from project top directory if it hasn't been done before (or if there are errors) -
../configure
CFLAGS and other variables can be configured here make check
Output will be found in `src/test/*.log files.
Most of the C++ code for the project uses Doxygen-style comments that can be parsed by Doxygen. In order to generate the documentation do the following (after generating the device_tree.cpp
file by running the generator):
cd docs
doxygen Doxyfile
At this point, the generated documentation will be found inside docs/html
. Open docs/html/index.html
in a web browser to browse through the documentation.
As a reminder, some of the sample plugins require the embedded python libraries, bundled in some distributions as python-dev. These are included in the src/ouroboros/plugin
directory and the binaries need to be copied to a plugin
folder in the same directory as the binary (or at least in the same directory from which the binary is run).
cd src/ouroboros/plugin
make clean
make
cd ../../../build/src/ouroboros
mkdir -p plugin
cp ../../../src/ouroboros/plugin/*.plugin ./
./ouroboros_server
Most of the C++ code for the project uses Doxygen-style comments that can be parsed by Doxygen. In order to generate the documentation do the following (after generating the device_tree.cpp
file by running the generator):
cd docs
doxygen Doxyfile
At this point, the generated documentation will be found inside docs/html
. Open docs/html/index.html
in a web browser to browse through the documentation.
- If you are using Linux(known to be a problem on Ubuntu), there may be a problem installing the nokogiri gem on your system. A good fix can be found here.
- For now, you'll want to make sure you have autoreconf installed for setting up the make file. On OS X you should be set to go, for Ubuntu/Linux you can go here. Once installed, run
autoreconf
beforemake
in the first section. This is a bug and we are working to resolve it soon.