Communication with OO in MacOSX
Posted: Fri Feb 01, 2013 12:19 pm
Hi,
I used OpenOffice3.4.1 sdk to build an external dylib in MACOS (it does not add any new types, and is based on the documentLoader example) , which interacts with OpenOffice. Now I'm creating a C++ Console application using Xcode 4.3.3. to communicate with OO from the application. I have included the following directories for Header Search Path in the project settings,
/Applications/OOSDK/OpenOffice.org_SDK/includecpp
/Applications/OOSDK/OpenOffice.org_SDK/idl
/Applications/OOSDK/OpenOffice.org_SDK/include
and Linked with the dylib using Xcode Project Setting's Link Binary with Libraries. While compiling the application code am getting series of following errors from types.h and subsequently from other headers too as i include rtl/process.h in my code.
***ERROR: Could not find 16-bit type, add support for your architecture
***ERROR: Could not find 32-bit type, add support for your architecture
***ERROR: sal_Int32 does not name a type.. etc.. etc...
Am i missing something can anyone help me out to solve this issue. My machine and compiler configuration are,
Mac OS: 10.7.4
Darwin pnmac028.net.plm.eds.com 11.4.0
Arch: x86_64
Available XCode Compiler Information: (tried with both)
Apple LLVM Compiler 3.1
LLVM GCC 4.2
Let me know if you need any other information.
Thanks in advance,
Anandh
I used OpenOffice3.4.1 sdk to build an external dylib in MACOS (it does not add any new types, and is based on the documentLoader example) , which interacts with OpenOffice. Now I'm creating a C++ Console application using Xcode 4.3.3. to communicate with OO from the application. I have included the following directories for Header Search Path in the project settings,
/Applications/OOSDK/OpenOffice.org_SDK/includecpp
/Applications/OOSDK/OpenOffice.org_SDK/idl
/Applications/OOSDK/OpenOffice.org_SDK/include
and Linked with the dylib using Xcode Project Setting's Link Binary with Libraries. While compiling the application code am getting series of following errors from types.h and subsequently from other headers too as i include rtl/process.h in my code.
***ERROR: Could not find 16-bit type, add support for your architecture
***ERROR: Could not find 32-bit type, add support for your architecture
***ERROR: sal_Int32 does not name a type.. etc.. etc...
Am i missing something can anyone help me out to solve this issue. My machine and compiler configuration are,
Mac OS: 10.7.4
Darwin pnmac028.net.plm.eds.com 11.4.0
Arch: x86_64
Available XCode Compiler Information: (tried with both)
Apple LLVM Compiler 3.1
LLVM GCC 4.2
Let me know if you need any other information.
Thanks in advance,
Anandh