Howtos - Hack on Windows » History » Revision 21
Revision 20 (Greg Burri, 03/29/2010 10:57 PM) → Revision 21/102 (Greg Burri, 03/29/2010 11:54 PM)
h1. Howtos h2. Hack on Windows Seven You need to : # Install _Tortoise Git_ : http://code.google.com/p/tortoisegit/. # Install _msysgit_ (needed by _Tortoise Git_) : http://code.google.com/p/msysgit/. ## Use Unix style end line. ## Do not install in "Program files" or in a path which contains spaces. We recommend to install in @C:\git@. # If you want an access to the master repository : generate a RSA 2048 bit with _Puttygen_ (come with tortoisegit) and send it to a project manager. # Install _Qt SDK_ (Qt creator is included) : http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2010.02.1.exe . ## Copy and rename @C:\Qt\2009.04\mingw\bin\mingw32-make@ to @make@ (needed by protocol buffer). # Add @C:\Qt\2010.02.1\mingw\bin;C:\Qt\2010.02.1\bin@ to your _path_ environment variable. # Install Cygwin (needed to compile protocol buffer) : http://www.cygwin.com/ # Install proto buff library source ## Download the source zip here : http://code.google.com/p/protobuf/downloads/list and unzip in @C:\protobuf@ ## Correct the file @subprocess.h@ as described here : http://code.google.com/p/protobuf/issues/detail?id=155 ## Launch "Git bash" and go to @C:\protobuf@ then type : ### @configure@ ### @make@ ## Add to your path this directory : @C:\protobuf\src\.libs@ to reach executable _protoc_. ## For each component which uses protobuf, you have to define a Build Environment Variable @PROTOBUF@ set to @C:\protobuf@ # Git clone the repository : ## _git://dev.euphorik.ch/aybabtu.git_ if you just want clone the repository. ## _ssh://git@dev.euphorik.ch/aybabtu.git_ if you have a full access (read+write). h2. Hack on Linux You need to : # Install required programs with tools of your distribution (here ArchLinux) ## Git : pacman -S git ## protobuf : pacman -S protobuf ## Qt creator : pacman -S qtcreator # Git clone the repository ## _git://dev.euphorik.ch/aybabtu.git_ if you just want clone the repository. ## _ssh://git@dev.euphorik.ch/aybabtu.git_ if you have a full access (read+write). h2. Generate the documentation The code documentation is generated with "Doxygen":http://www.doxygen.org. You must also install "Graphviz":http://graphviz.org/ to enable the diagram generation. A daily generated documentation can be found here : http://doc.euphorik.ch ("errors":http://doc.euphorik.ch/errors.txt). To locally build the documentation you just have to install Doxygen and Graphviz. The configuration file is located here : source:/doc/doxygen/Doxyfile it can be opened by the graphic utility _Doxywizard_ or by the command line @doygen Doxyfile@. The documentation will be generated in @/doc/doxygen/html@.