Because --pre-clean is much, much slower if you've already built things.  If things aren't rebuilding properly when switching between distros that's likely a bug in rosbuild, and you should file a ticket.<div><br>

</div><div>Josh<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 11:57 AM, Dan Lazewatsky <span dir="ltr"><<a href="mailto:dlaz@cse.wustl.edu">dlaz@cse.wustl.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I've noticed similar confusion from less experienced folks about when<br>
to clean. Is there a reason that rosmake doesn't run make clean by<br>
default? We're going to be setting up one of our computer labs with<br>
ROS for the fall semester, and I'm wondering if I should alias rosmake<br>
to rosmake --pre-clean to avoid the inevitable slew of emails from<br>
frantic students.<br>
<font color="#888888"><br>
-Dan<br>
</font><div><div></div><div class="h5">On Jul 14, 2010, at 12:54 PM, Jack O'Quin wrote:<br>
<br>
> On Mon, Jul 12, 2010 at 7:40 PM, Ken Conley <<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>><br>
> wrote:<br>
>> More information here:<br>
>><br>
>> <a href="http://www.ros.org/news/2010/07/ros-c-turtle-alpha-5-released.html" target="_blank">http://www.ros.org/news/2010/07/ros-c-turtle-alpha-5-released.html</a><br>
>><br>
>>  -- your friendly neighborhood ROS C Turtle team<br>
><br>
> We have been upgrading many of our students from boxturtle to cturtle.<br>
> The binary installs seem to work fine. But several students stumbled<br>
> over problems of binary incompatibility for external packages built<br>
> with the two releases.<br>
><br>
> After installing the cturtle packages, they update $ROS_PACKAGE_PATH<br>
> and try to run their code. It generally segfaults, and they don't know<br>
> what to do (these are smart, but relatively inexperienced<br>
> undergraduates).<br>
><br>
> Even running rosmake again does not work. Apparently, the build<br>
> subtree is full of incompatible files. So, they need to at least use<br>
> the rosmake --pre-clean option. I've been recommending that they check<br>
> out a whole new tree and build that.<br>
><br>
> So, this is not a big deal, but I was surprised how much confusion it<br>
> created. It should probably be documented somehow in the release<br>
> notes.<br>
><br>
> If it were possible for rosmake and rosrun to detect packages built<br>
> with the old ABI and issue a clear warning, that would help a lot.<br>
> Even better if rosmake could automatically do the right thing (e.g.<br>
> "make clean && make").<br>
><br>
> I consider this more of a documentation issue than a defect, but<br>
> probably many more users will stumble over it soon.<br>
> --<br>
>  joq<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></div>