Comment #7 on issue 34 by [email protected]: Need docs for how to compile, especially on Windows
http://code.google.com/p/gears/issues/detail?id=34

Just as a hint: We've compiled gears for Firefox on Windows 7 with Windows SDK 7.0 and Visual Studio 2008 (command line) using cygwin (make, M4, python, zip, candle).

Due to some new definitions in VS08, third_party/zlib/zutil.h cannot be compiled. As
fix, surrounding line 200-202 by #if _MSC_VER < 1500 / #endif helped.

As we found no version of dc for cygwin, we used

MSI_BUILD=`expr $(BUILD) \* 100 \+ $(PATCH)`

instead (rules.mk, line 937). It might be an idea to remove the dependency to dc at all.

During some experiments we found that we were not able to compile
gears/base/common/message_queue_win32.cc and fixed the issue for us with

  #include <atlbase.h>        // Base ATL classes
  extern CComModule _Module;  // Global _Module
  #include <atlwin.h>         // ATL windowing classes

at the end of the includes.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

To unsubscribe from this group, send email to gears-eng+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to