Re: Building for windows

Rob Caelers <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
>> The README is indeed a little outdated: I no longer build Workrave on Windows
>> using MinGW (and never did really...); The Windows version of Workrave is
>> cross-compiled on Linux.
>
> That's what I was trying to do.

Cross-compilation is not documented at the moment.. Mainly because it's not an 
easy exercise...

I have a directory called 'tinderbox' that contains

- the Makefile from build/win32/tinderbox
- a 'bin' directory containing all files from build/win32/tinderbox
- a prebuild/Release and prebuild/Release64 directory containing prebuilt (on 
windows) 32 and 64 bit versions of workrave-applet.dll. In 
frontend/win32/applet/src will will find a buildall.cmd script that build 
these from the command line (you need to install the Microsoft SDK for this I 
think).
- an empty snapshots directory. The directory will contain the results.

Furthermore, you have to install wine and (using wine) some windows programs:
- Microsoft Visual C++ Toolkit 2003 (Not sure if you can still download this 
one. alternatively, harpoon can also be compiled on windows)
- Microsoft SDK
- InnoSetup 5

Also, you need to install a mingw cross compiler (debian/ubuntu have standard 
packages for this) and cross compiled gtk/gtkmm libraries. I use the 
build/win32/build-packages.sh script to build and install these dependencies.

Then run 'make all' in the tinderbox directory.

> Here's a quick patch to update the READMEs. I'm pretty new at git so
> something may be wrong.

Thanks! Patch applied and pushed.

Groetjes,
   Rob


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.