hi
i'm having some problems with the hello exercises and the components' manual.
1. i dont know why, but i cant find/use some of the methods explained in the manual. Like for example collectIfDone(...) and ret(), in class SendHandle.
2. when i try to run the HelloWorld of exercise 6 (scripting) i get the following error: ./HelloWorld-gnulinux: error while loading shared libraries: librtt-scripting-gnulinux.so.2.3.2: cannot open shared object file: No such file or directory
3. is it possible to access all atributes, methods, ports (and its methods), etc of a component from a .ops program? (the component loads the program) like for example:
while (name_of_component.inputport.read(helloData) != 0) yield;4. how can i manage the send (sending operations) when i pass values by reference or pointers? for example, if i have this operation:
void op1 (int &num1, int *num2){...} how can i access these values from a sendhandle?5. i'm am brand new in the cmake, makefiles, etc. environment. when you say "in the Makefile: link with rtt-marshalling-<target> found in lib/orocos/plugins and also add the lib/orocos/plugins directory to the RPATH.", what exactly should i do in the Makefile?
finally, is there any place where i could find all the exercises solved to know if i am doing right?
problem with exercises
On Tuesday 28 June 2011 13:57:39 luca [dot] gherardi [..] ... wrote:
>
>
> 1. I am usin c++ with eclipse. Since I didnt see this methods in the header
> file of the class and the autocompletion didnt show them I thought they
> were not there. I used the ret() method and it compiled, but the
> collectIfDone() doesnt appear.
>
> ...
>
> thanks again
>
> santiago
>
> I have the same problem.
> The components builder's manual also said that the methods are provided in
> two forms, with parameters and without parameters. I can't use also the
> parameters form of collect() and collectIfDone().
>
What do you mean, you get compilation errors ? Can you give a concrete code
example ?
Peter