Thank you!!! It is solved! Now I get it. Only I had to change the cxx name file in the new Makefile and now it is working perfectly.
Regards! 2013/4/12 Ariel Constenla-Haile <arie...@apache.org> > On Fri, Apr 12, 2013 at 05:20:48PM -0500, Henry Tiquet Leyva wrote: > > http://ooo.pastebin.ca/2357487 > > > > I am sorry, here is it, I think it is better like this. > > at first sight, there is nothing wrong (though the code is old). > > How are you building this code? It tries to connect to a running office > listening on port 2083, is the office running and listening? > > > >> > I have done all you told me but I have the error yet. > > >> > I searched in Internet and it said that generally such errors are > > >> caused by > > >> > addressing non-existent/allocated memory. > > when working with css::uno::Reference, you may get a segmentation fault > with the dereference operator, if you don't check first with > BaseReference::is(), but your code does the check, and according to your > previous mail, it prints "XComponentloader successfully instanciated\n". > > Wild guessing, I assume your program is not bootstrapping the remote > counterpart, thus the reference to the desktop is invalid. In order to > know where your program is crashing, build with debug symbols, run it > inside the debugger, and after crash look at the backtrace. > > Alternatively try with the attached code, it has an SDK Makefile, you > need to set the SDK environment in order to build it; and it uses the > simple bootstrap mechanism, so you get rid of bootstrapping an office > listening on a port. To build it and run: > > source <path to>/setsdkenv_unix.sh > make DEBUG=yes PRJ=$OO_SDK_HOME HelloDraw.run > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >