Issue 124556 - Broken SDK environment
Summary: Broken SDK environment
Alias: None
Product: App Dev
Classification: Unclassified
Component: sdk (show other issues)
Version: 4.1.0-beta
Hardware: All OS X 10.8
: P3 Normal
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: regression
Depends on:
Reported: 2014-03-30 11:03 UTC by Ariel Constenla-Haile
Modified: 2014-04-02 15:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.1.0_release_blocker-


Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2014-03-30 11:03:26 UTC
- Install AOO 4.1.0 Beta and the respective SDK
- Download the same boost used in AOO build and apply the same patches
- Install XCode, but do not install the command line tools
- set the SDK environment pointing to the patched boost
- try to build the complex toolbar controls C++ example:

In file included from MyProtocolHandler.cxx:24:
In file included from ./ListenerHelper.h:22:
In file included from /Users/black/OpenOffice_SDK_Beta/include/stl/vector:31:
In file included from /Users/black/boost_1_55_0/boost/tr1/tr1/vector:16:
/Users/black/boost_1_55_0/boost/tr1/detail/config_all.hpp:43:10: fatal error: 'cstddef' file not
#include <cstddef>
1 error generated.
make: *** [/Users/black/OpenOffice_SDK_Beta/MACOSXexample.out/slo/complextoolbarcontrols/MyProtocolHandler.o] Error 1

This is solved by adding the -isysroot switch to the CC_FLAGS (the -isysroot $(gb_SDKDIR) in gbuild's

Looking at the generated command, there seem to be some leftovers after the switch to clang:


at least:

* empty GXX_INCLUDE_PATH, but is it needed for clang? It seems to be set in gbuild's
* -DGCC seems wrong, it should be the expansion of -D$(COM) and COM is not gcc any more
Comment 1 jsc 2014-04-02 15:12:32 UTC
no showstopper, easy work around available, will be fixed on trunk asap