Hi Claudio, Your error comes that the ComponentLoader is not an URE example: it uses OOo API that isn't in the URE API. The URE doesn't actually includes the document handling API: for this you have to use OOo.
The odf-toolkit project aims at separating the UNO code for document handling from the UI code. As any long term goal, just wait or help ;) I've already provided some tutorial and a C++ URE example. You'll find this here: http://bosdonnat.fr.eu.org/wordpress/?p=16 And here is a small tutorial I've written on the topic for people wanting to start: http://bosdonnat.fr.eu.org/wordpress/?p=19 Hope that helps, Cedric Claudio Alberto Andreoni a écrit : > Hello! > > I am trying to create an entire set of server side utilities for document > editing and transcoding based on the URE. > For efficiency reasons I dediced to use the C++ binding and to write the > entire set in C++, so I installed both the SDK and the URE (being it server > oriented it made no sense to me providing an entire OpenOffice.org > installation). > > At that point, after reading endless tutorials, I just can't get it working. > There is > really nothing currently working in my installation =( and it is really > frustrating to > me I just can't get what's wrong with that all... after a week of hard work > (an all > the money that comes with it...) > > I am running Fedora Core 6 and SDK 2.2 on URE 2.2, with make 3.81 and g++ > 4.1.1 > I installed both the packages and then run the SDK configurator > (setsdkenv_unix) > and it seemed to work. > Anyway, I can't just compile anything bacause I countinuosly get errors about > the > XComponentLoader. > > Trying to compile (make) the SDK DocumentLoader example, that's my trace: > mkdir -p > /home/cloudguitar/projects/fLizart/ooo/openoffice.org2.2_sdk/LINUXexample.out/misc > rm -f > /home/cloudguitar/projects/fLizart/ooo/openoffice.org2.2_sdk/LINUXexample.out/misc/cpp_DocumentLoader_types.flag > "/opt/openoffice.org2.2_sdk/linux/bin/cppumaker" -Gc -BUCR > -O/home/cloudguitar/projects/fLizart/ooo/openoffice.org2.2_sdk/LINUXexample.out/inc/DocumentLoader > -Tcom.sun.star.lang.XMultiServiceFactory -Tcom.sun.star.lang.XComponent > -Tcom.sun.star.beans.XPropertySet -Tcom.sun.star.bridge.XUnoUrlResolver > -Tcom.sun.star.frame.XComponentLoader > -Tcom.sun.star.lang.XMultiComponentFactory > -Tcom.sun.star.container.XHierarchicalNameAccess > -Tcom.sun.star.registry.XSimpleRegistry > /home/cloudguitar/projects/fLizart/ooo/openoffice.org2.2_sdk/LINUXexample.out/bin/DocumentLoader.rdb > /opt/openoffice.org2.2_sdk/linux/bin/cppumaker ERROR: cannot dump Type > 'com/sun/star/frame/XComponentLoader' > make: *** > [/home/cloudguitar/projects/fLizart/ooo/openoffice.org2.2_sdk/LINUXexample.out/misc/cpp_DocumentLoader_types.flag] > Error 99 > > Just can't sort it out...does anybody have any suggestion on about fixing > that? > Thanks to all and regards, > Claudio A. Andreoni > > Tecnologie.net Srl > P.le Accursio 18 Milano > Tel: +39 02 69 374 > Mob: +39 339 43 41 052 > email: [EMAIL PROTECTED] > website: http://www.tecnologie.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Cédric Bosdonnat OOo Eclipse Integration developer http://bosdonnat.fr.eu.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
