rosspawn compilation in fuerte fails [closed]
Hi
I am having a problem compiling package rosspawn in fuerte.
http://www.ros.org/wiki/rosspawn
There seems to be some incompatibility with rospack in fuerte
I download using
git http://github.com/timn/rosspawn.git
And then try to compile, which results in the following error
/home/mike/workingcopy/rosspawn/src/rosspawn.cpp: In constructor ‘RosSpawnMain::RosSpawnMain(ros::NodeHandle&)’: /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:78:16: error: ‘rospack::VecPkg’ has not been declared /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:78:33: error: expected ‘;’ before ‘i’ /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:79:7: error: ‘i’ was not declared in this scope /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:79:21: error: ‘rospack::Package’ has not been declared /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:92:21: error: ‘rospack::VecPkg’ has not been declared /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:92:38: error: expected ‘;’ before ‘i’ /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:93:5: error: ‘i’ was not declared in this scope /home/mike/workingcopy/rosspawn/src/rosspawn.cpp:93:19: error: ‘rospack::Package’ has not been declared
Seems that its looking for Package and VecPkg in rospack and they do not exist.
Can anybody give me some help?
regards
Miguel
It seems to me that the API for rospack has been substantially changed, so that this wouldn't be a quick fix.
Hi Dornhege. Thanks for the repply. So what you are saying is that rosspawn would probably not exist in fuerte/groovy?
Can you think of any other package that does the same? What I want is to be able to launch a ros node (with certain parameters) from the code of another node. Apart from rosspawn, I can only think of a system call, but that normally is not a very good idea. regards
system call is what we are doing right now and what I looked at rosspawn for, too. If someone ports that to fuerte, I'm sure Tim will welcome a pull request.
Hi. Thanks for the answer. What is a pull request? How do I do it?
It's a way to provide a patch on github, once someone has fixed the code.