[Golden-Cheetah-Users] How to build from source on Windows

Sean Rhea sean.c.rhea at gmail.com
Sun Sep 20 21:35:59 UTC 2009


All,

Here are some terse notes about how I built GC from source on Windows.
 Ned Harding is using a different technique, but I'll let him comment
on that.  The basic idea is to install MinGW, MSYS and git.  After
that you follow the developer's guide.  Little notes follow.

MinGW:
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW-5.1.4.exe/download
make sure to check g++ and make

MSYS:
gets you bash
http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
point at mingw in c:/mingw

MSYS DTK:
gets you ssh
http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe

Qt for Windows:
https://qt.nokia.com/downloads/sdk-windows-cpp
choose not to install mingw
mine complained about not being able to write ini file, I ignored it
add to /etc/profile:
export PATH=$PATH:/c/Qt/2009.03/qt/bin

Git for Windows:
http://code.google.com/p/msysgit/downloads/list
choose "Run Git from the Windows Command Prompt"
choose "Use OpenSSH"
choose "Use Unix style line endings"
export PATH=$PATH:/c/Program\ Files/Git/bin
be careful that git comes after everything else in your path

Boost:
http://sourceforge.net/projects/boost/files/boost/1.39.0/
don't need to compile it

git clone git://github.com/srhea/GoldenCheetah.git
cd GoldenCheetah/src
qmake -win32
make

Sean
-- 
“We’re borrowing money from China to buy oil from the Persian Gulf to
burn it in ways that destroy the planet.  Every bit of that’s got to
change.”  -- Al Gore


More information about the Golden-Cheetah-Users mailing list