Apache OpenOffice (AOO) Bugzilla – Issue 4934
Aqua VCL svtools doesn't build due to missing includes path
Last modified: 2007-02-05 03:28:59 UTC
An Aqua VCL build of the OO638C_MacOSX branch will fail with svtools/unx/source/filter/impflt.cxx because the included file impflt.hxx is not found. settings.mk automatically includes the $(PRJ)$/$(GUIBASE)$/inc path, but of the Aqua VCL build GUIBASE is "aqua". Therefore, all files are compiled with -I../../../aqua/inc. The impflt.hxx file however is in ../../../unx/inc and so is not found. settings.mk does not reliably deal with the presence of two different GUIBASEs on the same GUI platform. The solution in the short run is to add $(PRJ)$/$(GUI)$/inc to the compile-time CC include path options. This is best done in solenv/inc/unxmacxp.mk. Patch attached.
Created attachment 1671 [details] Adds the $(PRJ)$/$(GUI)/inc path to the CC include path
Sorry... Solution is to insert INCGUI+= -I$(PRJ)$/unx/inc into unxmacxp.mk, which adds this path to the INCGUI path from settings.mk and allows the files in unx/inc directories to be picked up.
Committed this makefile patch to the OO638C_MacOSX branch. This may eventually be replaed by a more clever solution if we can figure out how to get the build system and directory structure to happily support multiple GUIBASEs for a single platform without manually copying and synchronizing two directories. Ah, sometimes how I wish CVS would properly handle symlinks :)
Closing issue. Branch closed a long time ago. James McKenzie