Difference between revisions of "MacOSX Debug OpenOffice.org using XCode"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Start Xcode)
Line 30: Line 30:
 
Create a new project
 
Create a new project
  
e.g. aquavcl_debug in home dir
+
select empty project
 +
 
 +
choose e.g. aquavcl_debug in home dir
 +
 
 +
then right click on aquavcl_debug icon (on top left) and select "add existing files"
 +
 
 +
choose <AquaBuild_dir/vcl> folder  click on add
 +
 
 +
the next step be sure to check "Create Folder References for any added folders"
 +
 
 +
vcl directory should appear as subfolder of aquavcl_debug
 +
 
 +
now right click on Executables (on left ) and choose Add ->New custom executable
 +
 
 +
 
 +
Fill the fields as follow :
 +
 
 +
Executable name : OpenOffice.org
 +
 
 +
Executable Path :
 +
 
 +
Click on finish when done
 +
 
 +
Just after, a window should appear : "Executable OpenOffice.org Info"
 +
 
 +
Executable path should be the one previously entered
 +
 
 +
Check Custom Custom Directory and put :
 +
 
 +
<install_dir>/OpenOffice.org 2.1.app/Contents/program
  
  

Revision as of 18:30, 2 December 2006

Pre conditions : a complete Aqua build see AquaBuild

Prepare libvcl

[FIXME]

commit http://eric.bachard.free.fr/patches/aqua/fix_libsalsystools/i69373.diff.txt 
until this patched to be commited, rebuild sal using it/

rebuild vcl using debug="not_empty_string"

then do :

cd vcl
touch aqua/source/gdi/salbpm.cxx  
build

Use Pavel's. script be sure you can use aqua double clicking on the bundle

Supposing the AquaBuild sources are located in ~/SRC680_m195 ( adapt to your tree ) , do : cd <install_dir>/Openoffice.org\ 2.1.app/Contents/program

rm -f libvcl*

ln -s <AquaBuild_dir>/vcl/unxmacxi.pro/lib/libvcl* .

Start Xcode

Create a new project

select empty project

choose e.g. aquavcl_debug in home dir

then right click on aquavcl_debug icon (on top left) and select "add existing files"

choose <AquaBuild_dir/vcl> folder click on add

the next step be sure to check "Create Folder References for any added folders"

vcl directory should appear as subfolder of aquavcl_debug

now right click on Executables (on left ) and choose Add ->New custom executable


Fill the fields as follow :

Executable name : OpenOffice.org

Executable Path :

Click on finish when done

Just after, a window should appear : "Executable OpenOffice.org Info"

Executable path should be the one previously entered

Check Custom Custom Directory and put :

<install_dir>/OpenOffice.org 2.1.app/Contents/program

Personal tools