You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by bu...@apache.org on 2014/03/30 13:03:26 UTC

4.1.0_release_blocker requested: [Issue 124556] Broken SDK environment

Ariel Constenla-Haile <ar...@apache.org> has asked  for
4.1.0_release_blocker:
Issue 124556: Broken SDK environment
https://issues.apache.org/ooo/show_bug.cgi?id=124556


------- Additional Comments from Ariel Constenla-Haile <ar...@apache.org>
- 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
      found
#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 macosx.mk).

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

-DUNX 
-DGCC 
-DMACOSX 
-DCPPU_ENV=s5abi 
-DGXX_INCLUDE_PATH= 
-DHAVE_GCC_VISIBILITY_FEATURE

at least:

* empty GXX_INCLUDE_PATH, but is it needed for clang? It seems to be set in
gbuild's macosx.mk
* -DGCC seems wrong, it should be the expansion of -D$(COM) and COM is not gcc
any more
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: 4.1.0_release_blocker requested: [Issue 124556] Broken SDK environment

Posted by Jürgen Schmidt <jo...@gmail.com>.
On 3/30/14 1:03 PM, bugzilla@apache.org wrote:
> Ariel Constenla-Haile <ar...@apache.org> has asked  for
> 4.1.0_release_blocker:
> Issue 124556: Broken SDK environment
> https://issues.apache.org/ooo/show_bug.cgi?id=124556
> 
> 
> ------- Additional Comments from Ariel Constenla-Haile <ar...@apache.org>
> - 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
>       found
> #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 macosx.mk).
> 
> Looking at the generated command, there seem to be some leftovers after the
> switch to clang:
> 
> -DUNX 
> -DGCC 
> -DMACOSX 
> -DCPPU_ENV=s5abi 
> -DGXX_INCLUDE_PATH= 
> -DHAVE_GCC_VISIBILITY_FEATURE
> 
> at least:
> 
> * empty GXX_INCLUDE_PATH, but is it needed for clang? It seems to be set in
> gbuild's macosx.mk
> * -DGCC seems wrong, it should be the expansion of -D$(COM) and COM is not gcc
> any more

I agree that this should be fixed asap but I don't see it really as
showstopper because there is an easy work-around. I believe that not
many people build SDK C++ samples or rely on this.

Juergen





> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org