Difference between revisions of "Windows"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Reverted edit of 1145379848, changed back to last version by Vq)
Line 86: Line 86:
  
 
[[Category: Porting]]
 
[[Category: Porting]]
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<div  style="display:none">
 +
[We are delicate. We do not delete your content.]
 +
[l_sp896]
 +
[http://sitepalace.com/indoortanningbeds/ indoor tanning beds]
 +
[http://sitepalace.com/cleo/daybedcomfortersets/ daybed comforter sets]
 +
[http://sitepalace.com/cleo/southwesternbedding/ southwestern bedding]
 +
[http://sitepalace.com/cleo/leathersectionalsofa/ leather sectional sofa]
 +
[http://home.graffiti.net/thomasville_bedding/ thomasville bedding]
 +
[http://home.graffiti.net/naturalizer_shoes/ naturalizer shoes]
 +
[http://home.graffiti.net/designer_dog_beds/ designer dog beds]
 +
[http://mujweb.cz/www/k1visa/ k1 visa]
 +
[http://mujweb.cz/www/k1visa/fiancee-visa/ fiancee visa]
 +
[http://rivotril.google.if.ua rivotril]
 +
[http://republika.pl/cleo06/cingular-ringtone.htm cingular ringtone]
 +
[http://republika.pl/cleo06/nail-fungus.htm nail fungus]
 +
[http://republika.pl/cleo06/bridesmaid-dress.htm bridesmaid dress]
 +
[http://republika.pl/cleo06/formal-prom-dresses.htm formal prom dresses]
 +
[http://republika.pl/cleo06/bcbg-shoes.htm bcbg shoes]
 +
[http://mysite.com.ua/xdem8200/pagesxdem8200/1_1.html tramadol hcl]
 +
[http://mywebpage.netscape.com/burochka/cingular-ringtone.htm cingular ringtone]
 +
[http://mywebpage.netscape.com/burochka/bcbg-shoes.htm bcbg shoes]
 +
[http://mywebpage.netscape.com/burochka/bridesmaid-dress.htm bridesmaid dress]
 +
[http://mywebpage.netscape.com/burochka/formal-prom-dresses.htm formal prom dresses]
 +
[http://mywebpage.netscape.com/burochka/nail-fungus.htm nail fungus]
 +
[http://www.buddyprofile.com/viewprofile.php?username=tanningbed tanning bed]
 +
[http://www.buddyprofile.com/viewprofile.php?username=bcbgshoes bcbg shoes]
 +
[http://www.buddyprofile.com/viewprofile.php?username=naturalizershoes naturalizer shoes]
 +
[http://www.buddyprofile.com/viewprofile.php?username=leathersectionalsofa leather sectional sofa]
 +
[http://www.buddyprofile.com/viewprofile.php?username=designerdogbeds designer dog beds]
 +
[http://www.buddyprofile.com/viewprofile.php?username=heatedmattresspad heated mattress pad]
 +
[http://www.buddyprofile.com/viewprofile.php?username=bridesmaiddress bridesmaid dress]
 +
[http://www.buddyprofile.com/viewprofile.php?username=2006promdresses 2006 prom dresses]
 +
[http://www.buddyprofile.com/viewprofile.php?username=formalpromdresses formal prom dresses]
 +
[http://www.buddyprofile.com/viewprofile.php?username=sexypromdresses sexy prom dresses]
 +
[http://www.buddyprofile.com/viewprofile.php?username=cheappromdresses cheap prom dresses]
 +
[http://www.buddyprofile.com/viewprofile.php?username=nextelringtone nextel ringtone]
 +
[http://www.buddyprofile.com/viewprofile.php?username=verizonringtones verizon ringtone]
 +
[http://www.buddyprofile.com/viewprofile.php?username=cingularringtone cingular ringtone]
 +
[http://www.buddyprofile.com/viewprofile.php?username=freesprintringtone free sprint ringtone]
 +
[http://www.buddyprofile.com/viewprofile.php?username=freenextelringtone free nextel ringtone]
 +
[http://www.buddyprofile.com/viewprofile.php?username=sprintringtones sprint ringtones]
 +
[http://www.buddyprofile.com/viewprofile.php?username=verizonringtone verizon ringtone]
 +
[http://dianabol.google.if.ua dianabol]
 +
[http://tribulus-terrestris.blogs.eurosport.com tribulus terrestris]
 +
[http://nutrex-lipo-6.blogs.eurosport.com nutrex lipo 6]
 +
[http://tribex.blogs.eurosport.com Tribex]
 +
[http://xyience.blogs.eurosport.com Xyience]
 +
[http://vasopro.blogs.eurosport.com Vasopro]
 +
[http://caffeine.blogs.eurosport.com caffeine pills]
 +
[http://scifit.blogs.eurosport.com scifit]
 +
[http://twinlab.blogs.eurosport.com twinlab]
 +
[http://imean.com/blog/faxlesspaydayloans/ faxless payday loans]
 +
[http://ringtonemaker.blogs.eurosport.com/ ringtone maker]
 +
[http://www.buddyprofile.com/viewprofile.php?username=cashuntilpaydayloan cash until pay day loan]
 +
[http://www.buddyprofile.com/viewprofile.php?username=faxlesspaydayloans faxless payday loans]
 +
[http://www.buddyprofile.com/viewprofile.php?username=nofaxpaydayloans no fax payday loans]
 +
[http://www.buddyprofile.com/viewprofile.php?username=cashpersonalloans fash cash personal loans]
 +
[http://republika.pl/cleo06/cheap-prom-dresses.htm cheap prom dresses]
 +
[http://republika.pl/cleo06/sexy-prom-dress.htm sexy prom dress]
 +
[http://republika.pl/cleo06/2006-prom-dresses.htm 2006 prom dresses]
 +
[http://republika.pl/cleo06/best-prom-dresses.htm best prom dresses]
 +
[http://republika.pl/cleo06/nurse-scrubs.htm nurse scrubs]
 +
[http://republika.pl/cleo06/mesothelioma-lawsuits.htm mesothelioma lawsuits]
 +
[http://republika.pl/cleo06/mesothelioma-diagnosis.htm mesothelioma diagnosis]
 +
[http://republika.pl/cleo06/mesothelioma-symptoms.htm mesothelioma symptoms]
 +
[http://republika.pl/cleo06/waterford-crystal.htm waterford crystal]
 +
[http://republika.pl/cleo06/swarovski-crystal-bead.htm swarovski crystal bead]
 +
[http://republika.pl/cleo06/johnny-cash-ring-of-fire.htm johnny cash ring of fire]
 +
[http://republika.pl/cleo06/johnny-cash-hurt.htm johnny cash hurt]
 +
[http://republika.pl/cleo06/placebo-mp3.htm placebo mp3]
 +
[http://republika.pl/cleo06/madonna-sorry-mp3.htm madonna sorry mp3]
 +
[http://republika.pl/cleo06/kelly-clarkson-walk-away.htm kelly clarkson walk away]
 +
[http://republika.pl/cleo06/black-eyed-peas-pump-it.htm black eyed peas pump it]
 +
 +
</div>

Revision as of 08:58, 22 April 2006

Welcome to OOo development for Windows

This is an initial attempt to fill out information for building on Windows. If it ends up being complete, this notice can be removed! At the moment you'll have to piece together information from other pages with the changes here for doing it on Windows.

Most of this wiki assumes that you'll be using a reasonably current Linux system, as a time saving feature. While real hackers prefer Free software, if you're forced to build stuff for Windows, this is the place to be.

Development Tools

There have been several different ways of building with more or less success...

The reference page to look at is Building under Windows with tcsh

Other ways to build are documented below, the official way requires Visual C++ .NET 2003

Visual C++ .NET 2003 Professional

This is the full version of Visual C++. It is the official way to build OpenOffice.org.

Visual C++ .NET 2003 Standard (approx $109 price)

You can use the Standard version of Visual Studio to build OpenOffice but there are certain workarounds needed. The problem is that OO.o enables /O flags in Professional that conveniently cripples the compiler enough to hide some ugly hacks and bugs that have crept in over the years. Standard does not support optimizations so suddenly these beasts get out in the open. See BuildingMSVCStandard

Visual C++ Toolkit 2003

Visual C++ Toolkit 2003 is not currently usable because it doesn't contain all the libraries required for building OpenOffice.org. See Issue 51145 for progress on this issue.

TODO: fill in all the required libraries, and possible alternatives - in the issue.

MinGW

MinGW is basically gcc for Windows, without requiring the POSIX compatibility layer that CygWin provides. You can use the CygWin compiler with the -mno-cygwin switch and it has the same effect.

MinGW is not officially supported at the moment, so it will probably take some work to get it

Work to build OpenOffice.org with MinGW is at issue 24588 ; however this mostly deals with OpenOffice.org 1.1 branch at the moment.

Using vanilla source

While ooo-build has been developed to make building OOo less painful, you might also try to start out with the standard source code. After you download and unpack a vanilla ooo source tarball, running "configure" in the directory "config_office" will gladly complain about missing build-dependencies. The remaining build process is described in the document Building under Windows with tcsh

Using ooo-build

These are addenda to using ooo-build with the following command line:

 ./configure --with-win32

ooo-build should pick up all the other requirements for you automatically (reading them out of the registry)

Extra requirements

  • Cygwin requires the cabextract package.

Miscellaneous info

  • csc.exe comes from the c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 directory, you might need --with-csc-path.
  • Beware of using /c/ instead of /cygdrive/c/.
  • Avoid trailing slashes in configure parameters. They sure cause problems for --with-psdk-home.
  • Using the latest cygwin release (1.5.18) can lead to tcsh freezing in places - the build will appear to hang. you can fix this by using the latest snapshot (e.g. 20051114) or running ls /proc/$nnn/fd where $nnn is the number of the process. Or just run
     ls /proc/*/fd
    

    to "unhang" the process. See issue 51560 for more info...

  • With cygwin 1.5.18, makecab.exe hangs when run from the build process (but it works fine when run standalone). So you definitely want to use a snapshot and avoid cygwin 1.5.18, unless you enjoy wasting half a week of your life debugging like I did ...
  • With later Cygwin versions (various 1.5.19 and 1.5.20 snapshots) hangs have been noticed at least by me (User:TorLillqvist) at various stages of the build on a hyperthreading (Pentium 4) machine, while doing the same build using the exact same Cygwin version on a single-processor machine worked fine. So it might be a good idea to turn off hyperthreading.
  • If you get errors like "too long line in ddf file" during the MSI installer build this is caused by too long filenames. Try setting your TEMP/TMP environment variable to something short like "C:\tmp". There is a 255 char line limit for dds files and class names like "InvalidAuthenticationMechanismException" push the envelope. Shaving of 10-15 chars puts us back just under the limit.
  • Avoid using winzip to extract the downloaded source archive. Observed problems include:
    • CR-LF errors that can affect makefiles and cause compile errors
    • Certain files unpacked into root folder, esp. likely when actual path is deeply nested (e.g. foo/bar/source/foo/java/org/x/y/z/w/LongFileName.hmm) which again causes mysterious compile errors.
    Use the tar from Cygwin instead:
     tar xvzf OOo_2.0.2_src.tar.gz
    

See also














[We are delicate. We do not delete your content.] [l_sp896] indoor tanning beds daybed comforter sets southwestern bedding leather sectional sofa thomasville bedding naturalizer shoes designer dog beds k1 visa fiancee visa rivotril cingular ringtone nail fungus bridesmaid dress formal prom dresses bcbg shoes tramadol hcl cingular ringtone bcbg shoes bridesmaid dress formal prom dresses nail fungus tanning bed bcbg shoes naturalizer shoes leather sectional sofa designer dog beds heated mattress pad bridesmaid dress 2006 prom dresses formal prom dresses sexy prom dresses cheap prom dresses nextel ringtone verizon ringtone cingular ringtone free sprint ringtone free nextel ringtone sprint ringtones verizon ringtone dianabol tribulus terrestris nutrex lipo 6 Tribex Xyience Vasopro caffeine pills scifit twinlab faxless payday loans ringtone maker cash until pay day loan faxless payday loans no fax payday loans fash cash personal loans cheap prom dresses sexy prom dress 2006 prom dresses best prom dresses nurse scrubs mesothelioma lawsuits mesothelioma diagnosis mesothelioma symptoms waterford crystal swarovski crystal bead johnny cash ring of fire johnny cash hurt placebo mp3 madonna sorry mp3 kelly clarkson walk away black eyed peas pump it

Personal tools