rosmake cannot work without rospack functional. You need to make sure that `rospack depends omnibot` works.  <br><br>Also when you build a package it's just `rosmake PACKAGE_NAME`  you don't tell it what file to build that needs to be in your CMakeLists.txt file.  <br>

<br>Tully<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 9:57 AM, Blaise Gassend <span dir="ltr"><<a href="mailto:blaise@willowgarage.com">blaise@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I would focus on the error message you are getting. Why can't rospack<br>
create the file /home/omnibot-user/.ros/.rospack_cache.6LDHUP.<br>
<br>
Is it possible that you were running as root as some point, and that<br>
/home/omnibot-user/.ros is owned by root? Try to create files in that<br>
directory by hand. That should allow you to track down your problem.<br>
<br>
I doubt that adding PowerCube to your rosmake invocation caused the<br>
problem (it seems to be ignored when I try something similar).<br>
<div><div></div><div class="h5"><br>
On Tue, Oct 19, 2010 at 8:58 AM, Michael Wrock <<a href="mailto:mike.wrock@gmail.com">mike.wrock@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I'm fairly new to ros, but I haven't seen any documentation on this issue.<br>
><br>
> I'm using an existing package that I know already works. It's called<br>
> omnibot, so I used rosmake omnibot and everything compiled fine. I<br>
> started writing a new .cpp file and added it to the package and<br>
> compiled it fine. Since there are 15 files that need to compile, I<br>
> tried to guess how to compile just the new .cpp I made, called<br>
> PowerCube. I ran the command rosmake omnibot PowerCube, I'm not sure<br>
> what happened there, but now I cant run rosmake omnibot! When I try, I<br>
> get the following response:<br>
><br>
> omnibot<br>
> working on omnibot<br>
> Unable to create temporary cache file:<br>
> /home/omnibot-user/.ros/.rospack_cache.6LDHUP<br>
> [rospack] failed to create tmp cache file<br>
> [rosmake] Couldn't determine dependencies for package omnibot. Maybe<br>
> it was a stack?<br>
> omnibot was neither a stack or a package.<br>
><br>
> Any idea what changed when I ran rosmake omnibot PowerCube? How can I<br>
> reverse it?<br>
><br>
> Thanks,<br>
> Mike<br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>