Howtos - Hack on Windows » History » Revision 35
« Previous |
Revision 35/102
(diff)
| Next »
Adrien Crivelli, 10/05/2010 02:52 PM
update instruction for Qt 4.7 (ubuntu has 4.6)
Howtos¶
Hack on Windows Seven¶
You need to :
- Install Tortoise Git : http://code.google.com/p/tortoisegit/.
- Kind of SSH Client : TortoisePLink
- 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\2010.02.1\mingw\bin\mingw32-make
tomake
(needed by protocol buffer).
- Copy and rename
- Add
C:\Qt\2010.02.1\mingw\bin;C:\Qt\2010.02.1\qt\bin
to your path environment variable. - 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
to reach executable protoc. - For each component which uses protobuf, you have to define a Build Environment Variable
PROTOBUF
set toC:\protobuf
- Download the source zip here : http://code.google.com/p/protobuf/downloads/list and unzip in
- Git clone the repository :
- git://dev.aybabtu.org/aybabtu.git if you just want clone the repository.
- ssh://git@dev.aybabtu.org/aybabtu.git if you have a full access (read+write).
- Generate the sources for the .proto files
- Launch "Git bash" and go to
aybabtu/application
- Type
./1.generate_proto_cpp.sh
(each time you modify the .proto files you have to run this script)
- Launch "Git bash" and go to
- Set up Qt Creator
- TODO
Hack on Linux¶
ArchLinux¶
You need to :
- Install required programs
- Git : pacman -S git
- protobuf : pacman -S protobuf
- Qt creator : pacman -S qtcreator
- Git clone the repository
- git://dev.aybabtu.org/aybabtu.git if you just want clone the repository.
- ssh://git@dev.aybabtu.org/aybabtu.git if you have a full access (read+write).
Ubuntu¶
- Get required tools
sudo apt-get install g++ git cd /tmp wget http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.05.bin chmod u+x qt-sdk-linux-x86_64-opensource-2010.05.bin ./qt-sdk-linux-x86_64-opensource-2010.05.bin cd /tmp wget http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2 tar -jxvf ./protobuf-2.3.0.tar.bz2 cd protobuf-2.3.0 ./configure --prefix=/usr make make check sudo make install
- Get source code
git clone git://dev.euphorik.ch/aybabtu.git aybabtu cd aybabtu/application ./1.generate_protos_cpp.sh
Generate the documentation¶
The code documentation is generated with Doxygen. You must also install Graphviz to enable the diagram generation.
A daily generated documentation can be found here : http://doc.aybabtu.org (errors).
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
.
Updated by Adrien Crivelli about 14 years ago · 35 revisions