Hi Anandh, On Thu, Feb 21, 2013 at 09:49:01PM +0530, Anandha Kannan wrote: > Hi Ariel, > > This is really worth a lot of information for me.. Thanks to you for > the valuable information. I ran the processtest sample also as a root user. > > My C++ client application using Xcode, and I was running the client > application directly, I didn't use unoapploader before. > But if i use unoapploader (as the way u suggested ), and while Running > VerificationOO from terminal (where setsdkenv_unix had run already), OO > launches. :) This is good news for me. But I couldn't run/debug the > application from Xcode - I may need to check how to setting URE libs from > my client application. > > So, running the client application in using unoapploader solves the > issue now. But actually, i guess i need to use with ustrEnviroments and > nEnvironmentVars otherwise. Am i right?
yes, if you want to get rid of unoapploader, and use hard-coded values instead, try setting the environment: prepend to the value of DYLD_LIBRARY_PATH the output of <office-program-path>/unoinfo c++ See the code in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/odk/source/unoapploader/unx/unoapploader.c It should be a single env. var.: "DYLD_LIBRARY_PATH=<output of office-inst/program/unoinfo c++>[:value of getenv("DYLD_LIBRARY_PATH")]" Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpezJsbuz12R.pgp
Description: PGP signature