I Figured out the issue... Most of the trouble is with outdated makefile, however i did run into issues depending on how the environment was setup with the two sdk scripts where it did not set the environmental variables correctly...
The following two scripts appear to change depending on shell ( I personally have my user set to use BASH ). /usr/lib/libreoffice/sdk/setsdkenv_unix /usr/lib/libreoffice/sdk/setsdkenv_unix.sh The following script will not run unless csh installed... /usr/lib/libreoffice/sdk/setsdkenv_unix.csh -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1071542 Title: Libreoffice SDK - Unable to compile c++ SDK examples ( Missing idl files and headers) Status in “libreoffice” package in Ubuntu: Incomplete Bug description: While trying to start a simple C++ addin for libreoffice using the built in packages, I found out that there is multiple problems with the addin. There is massive portions of the development files ( IDL Files mainly ) that are included with the sdk that are not included with this dev package. In the root source tree, these are located under: offapi/com/sun/star/ As for testing: step 1: download an example. ( Two good examples arelisted below ) 1) Simple Calc addin: http://wiki.openoffice.org/wiki/SimpleCalcAddIn 2) Comple AddIn ( for calc): http://wiki.openoffice.org/wiki/CompleteAddIn Note: These are compatible with libreoffice, it just takes some preparation. step 2: Open up a console, and run the following commands: export PATH=$PATH:/usr/lib/libreoffice/sdk/bin/ /usr/lib/libreoffice/sdk/setsdkenv_unix step 3: change the path in this console to the path where you have the examples extracted, and go to the main source files. step 4: run make on the source files... This will generate headers from the idl files by default.... however, since this is missing files, it will give an error similar to the following console output: ~/Downloads/myRNG$ make idlc -C -I/idl RNG.idl Compiling: RNG.idl cpp: /tmp/idli_Tw7Alz:14 Could not find include file <com/sun/star/uno/XInterface.idl> /usr/lib/libreoffice/sdk/bin/idlc.bin: preprocessing file /home/ken/Downloads/myRNG/RNG.idl failed make: *** [RNG.urd] Error 1 step 5: download and install the libreoffice files from their website ( debian packages regular install and sdk). step 6: open up a new console, and go to the folder that was used before for development. step 7: run the followin gcommands ( This assumes libre office 3.6 is installed) export PATH=$PATH:/opt/libreoffice3.6/sdk/bin/ /opt/libreoffice3.6/sdk/setsdkenv_unix step 8: run the make command again, and this example should compile without any issues. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1071542/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

