|
BuildingGearsForWindows
Building Gears for Windows
IntroductionThis document describes how to build Gears for Windows. BuildingInstall the following to create the build environment:
Follow the instructions at http://code.google.com/p/gears/source to set up your source tree. Finally open a command prompt, setup your build environment, and build Gears. (These instructions assume you put Gears in c:\svn-gears and installed Visual Studio and the Platform SDK to their default locations.)
InstallingTo install Gears, go to bin-dbg\win32\installers\ from your Gears directory and run the .msi (IE and Firefox) or open the .xpi (Firefox only). TestingAfter installing, you should restart your browser. Go to the Gears API page. At the lower left corner, it should indicate the build of Gears that is active. You should be able to try out the demos or create your own. You can also run the unit tests in the source tree (/gears/test/unit_tests.html). |
Sign in to add a comment
Platform SDK url seems to have changed
I used this one: http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
I compile in windows and: LIBCMTD.lib(stdexcpt.obj) : error LNK2005 : ya se definio "public: virtual this call std:exception::~exception(void)" (??exception@std@VAE@XZ) en exception_handler_win32.obj
Why????
How to build a GoogleGears? which can be silently installed ??
Visual Studio 2005 is no longer available, but this works using the full version of MS Visual Studio 2008, but not with the express version. Start full compilation including installer by simply calling "make" without parameters.
Compiling using Visual Studio 2008 seems to require a small adjustment in the zlib sources. Putting <stdio.h> on top of the includes did the job for me.
I got everything compiled but the make dependency to create the windows installer (.msi or .xpi file) seems to be missing. When we did this a year ago things worked so I suspect something has recently changed. Any clues about how to install the windows version (on Firefox 3.1) once it is compiled? - Rick
To make it work with vs2008(winXP SP3, code page 949): 1) commented out "//line 200# define vsnprintf vsnprintf" "C:\svn-gears\gears\gears\third_party\zlib\zutil.h" 2) save as "C:\svn-gears\gears\gears\gears\base\common\url_utils_test.cc" in code page 949