Re: scalc UNO api compilation question about header files

2013-03-12 Thread Neeraj Rai
understood. Thanks for clarifying this and other issues earlier. I can build my example on centos 6 with your help. Neeraj On Tue, Mar 12, 2013 at 4:08 AM, Stephan Bergmann wrote: > On 03/12/2013 03:19 AM, Neeraj Rai wrote: > >> Since I misunderstood a few things before, I wanted to confirm that

Re: scalc UNO api compilation question about header files

2013-03-12 Thread Stephan Bergmann
On 03/12/2013 03:19 AM, Neeraj Rai wrote: Since I misunderstood a few things before, I wanted to confirm that this cppumaker run for system UNO objects is needed only once per box per LO version ? If yes, it doesn't belong as a dependency in my makefiles which is triggered or each compilation.

Re: scalc UNO api compilation question about header files

2013-03-11 Thread Neeraj Rai
Hi Stephan, Since I misunderstood a few things before, I wanted to confirm that this cppumaker run for system UNO objects is needed only once per box per LO version ? If yes, it doesn't belong as a dependency in my makefiles which is triggered or each compilation. when I am upgrading the version

Re: scalc UNO api compilation question about header files

2013-03-11 Thread Stephan Bergmann
On 03/09/2013 04:17 AM, Neeraj Rai wrote: One last question - can I generate the system UNO types once per box, may be after SDK installation? Not sure what exactly you mean with that question. Sure it is possible to generate them once (per given LO version, at least) and re-use them. But t

Re: scalc UNO api compilation question about header files

2013-03-08 Thread Neeraj Rai
I think I get it now. I didn't realize earlier and I had to generate headers for system UNO types. The sample Makefile - it seems - was assuming they were generated, so -T was specified to generate the new ones. Once I removed the -T to generate all, both the headers XEnumerationAccess/XDesktop wer

Re: scalc UNO api compilation question about header files

2013-03-08 Thread Stephan Bergmann
On 03/08/2013 01:16 AM, Neeraj Rai wrote: I have a makefile from Simple Calc example. It uses cppumaker to generate some header files from my idl files. I think you are saying Xdesktop/XEnumerationAccess are genrated in that step. That works and I understand it now. No. An invocation of cppuma

Re: scalc UNO api compilation question about header files

2013-03-07 Thread Neeraj Rai
Hi Caolanm/Stephan, Ugly works for me - no issues. Please bear with while I try to understand this. I have a makefile from Simple Calc example. It uses cppumaker to generate some header files from my idl files. I think you are saying Xdesktop/XEnumerationAccess are genrated in that step. That wo

Re: scalc UNO api compilation question about header files

2013-03-07 Thread Stephan Bergmann
On 03/06/2013 09:44 PM, Neeraj Rai wrote: 1. how is the header XDesktop.hpp generated and should it be in the path pointed by any of the standard vars (OO_SDK_HOME, (OO_SDK_URE_HOME, OO_SDK_OUT) Those .hpp (and internal .hdl) files corresponding to UNOIDL entities (declared in .idl files) ar

Re: scalc UNO api compilation question about header files

2013-03-07 Thread Caolán McNamara
On Wed, 2013-03-06 at 15:44 -0500, Neeraj Rai wrote: > I am trying to build a scalc extension using UNO api on centos 6 . > This previous built successfully on RHEL 6. I imagine you built it originally against an older version of the sdk, so the easiest thing is to rebuild it against the current s

scalc UNO api compilation question about header files

2013-03-06 Thread Neeraj Rai
Hi Guys, I am trying to build a scalc extension using UNO api on centos 6 . This previous built successfully on RHEL 6. It seems the header files are all over the place and I trying to figure out how to modify the Makefile to accommodate it. In the first pass, I was too busy making it work, but th