Thanks! I used setsdkenv_unix once but I didnt know it generated any script which is to be run. . I removed and reinstalled everything again and then tried it and everything works! Thanks again! . Abhinav On 23-Apr-2015 8:17 PM, "Ariel Constenla-Haile" <arie...@apache.org> wrote:
> Hello, > > On Wed, Apr 22, 2015 at 01:01:30AM -0700, Abhinav Tripathi wrote: > > Hello! > > I downloaded The OpenOffice deb files and Sdk deb file... > > I used dpkg from command line to install all the deb files.. They got > > installed in /opt/openoffice4 and Sdk in /opt/openoffice4/sdk > > . > > I had to use deb files from the website because i could download it from > > the apt-get... > > I am Using Ubuntu 14.10! > > When i tried to compile any example in > > /opt/openoffice4/sdk/examples/DevelopersGuide/ProfUNO/ i got many > errors.. > > . > > To overcome some of these i did : > > 1. copied all files from sdk/bin/ to my root folder /bin/ because the > error > > said /bin/cppumaker : command not found > > [...] > > You need to set up the SDK environment, you don't need to copy anything. > Please read /opt/openoffice4/sdk/docs/install.html > > You need to execute /opt/openoffice4/sdk/setsdkenv_unix as a normal > user, not root; provide all the information it will ask you. This will > generate a script in your home directory that you must source every time > you want to build an SDK example. The script takes care of setting the > required environment variables, there is no need to copy anything from > /opt to your home. > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >