Re: Building for windows

Daniel Benamy <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
On Tue, Feb 23, 2010 at 3:44 PM, Rob Caelers <[email protected]> wrote:
>> I just cloned the git repo and I'm trying to build for windows but I'm
>> a bit stuck. I found the directions in build/win32/README which say:
>>     cd frontend/gtkmm/win32/setup
>>     make-runtime.sh ../../../..
>> but I don't have a make-runtime.sh in that dir or in my path. There's
>> one in build/win32/tinderbox/ but it seems these directions may be
>> outdated so other things may have changed as well. Can anyone tell me
>> how to do this?
>
> 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.

> Furthermore, Workrave can also be compiled (and debugged!) using Visual Studio
> (also Express Edition). See README in build/cmake. (Only networking is
> currently not easy to build on Windows; mail me if you need this)

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

Dan

------------------------------------------------------------------------------
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

_______________________________________________
Workrave-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/workrave-user
0001-Updated-docs-for-building-for-windows.patch (application/octet-stream, 1.7 KB)
From 4572e8f32dd31889c1059c6ec64e6ba2540347ba Mon Sep 17 00:00:00 2001
From: Daniel Benamy <[email protected]>
Date: Wed, 24 Feb 2010 12:57:14 -0500
Subject: [PATCH] Updated docs for building for windows.

---
 build/cmake/README |    4 +++-
 build/win32/README |    9 ++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/build/cmake/README b/build/cmake/README
index 3655141..f150bc4 100755
--- a/build/cmake/README
+++ b/build/cmake/README
@@ -3,6 +3,8 @@ using Microsoft Visual Studio (2008 Express Edition).
 
 The minimal requirement is gtkmm, Directx SDK and cmake.
 
+Only networking is currently not easy to build on Windows.
+
 
 Install Gtkmm (required)
 ========================
@@ -140,4 +142,4 @@ Compiling Workrave
   - Open Workrave solution in visual studio (location in workrave-build directory)
   - Build
 
-  
\ No newline at end of file
+  
diff --git a/build/win32/README b/build/win32/README
index 1fa9211..9c18d5d 100644
--- a/build/win32/README
+++ b/build/win32/README
@@ -1,9 +1,12 @@
 Compiling Workrave for Windows
 ******************************
 
-The Windows version of Workrave is cross compiled on Linux. This
-document describes how to setup a cross compile environment and how to
-compile Workrave in four easy steps:
+The Windows version of Workrave can be compiled (and debugged!) using Visual 
+Studio (including Express Edition) on windows, or cross compiled on Linux. 
+
+To build on windows, see README in build/cmake. This document (which is a
+little outdated) describes how to setup a cross compile environment and how
+to compile Workrave in four easy steps:
 
 1. Installing MinGW cross compiler
 2. Installing 3rd party packages
-- 
1.6.3.3
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.