Project

General

Profile

Actions

Howtos - Hack on Windows » History » Revision 49

« Previous | Revision 49/102 (diff) | Next »
Greg Burri, 01/26/2011 02:56 PM


Howtos - Hack on Windows Seven

You need to :

  1. Install Tortoise Git : http://code.google.com/p/tortoisegit/.
    1. Kind of SSH Client : TortoisePLink
  2. Install msysgit (needed by Tortoise Git) : http://code.google.com/p/msysgit/.
    1. Use Unix style end line.
    2. Do not install in "Program files" or in a path which contains spaces. We recommend to install in C:\git.
  3. 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.
  4. Install Qt SDK (Qt creator is included) : http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2010.02.1.exe .
  5. Add C:\Qt\2010.02.1\mingw\bin;C:\Qt\2010.02.1\qt\bin to your path environment variable.
  6. Install proto buff library source
    1. Download the source zip here (2.4) : http://code.google.com/p/protobuf/downloads/list and unzip in C:\protobuf
    2. Edit <Qt dir>\mingw\lib\gcc\mingw32\4.4.0\libstdc++.la and replace library_names='libstdc++.dll.a' by library_names='libstdc++.a'
    3. Launch "Git Bash" and go to /c/protobuf then type :
      1. export MAKE=mingw32-make
      2. ./configure CXXFLAGS=-O2 --enable-shared=no
      3. mingw32-make
    4. Add to your path this directory : C:\protobuf\src\.libs to reach executable protoc and dll libprotobuf-7.dll.
  7. Git clone the repository :
    1. git://dev.aybabtu.org/aybabtu.git if you just want clone the repository.
    2. ssh:/aybabtu.git if you have a full access (read+write).
  8. Generate the sources for the .proto files
    1. Launch "Git bash" and go to aybabtu/application
    2. Type ./1.generate_proto_cpp.sh (each time you modify the .proto files you have to run this script)
  9. Set up Qt Creator
    1. TODO

Updated by Greg Burri about 13 years ago · 49 revisions