FYI for everything but rospack/rosstack you should've just been able to do "rosmake --pre-clean <your_package>", this will do the "make clean; make" for you in each dependency.<div><br></div><div>

As far as rospack/rosstack go, they're a bit special since they have to get built before rosbuild works (since rosbuild uses rospack).  I think you'll probably need to set the compiler flags manually in the rospack CMakeLists.txt as you would normally for cmake (not rosbuild+cmake).</div>

<div><br></div><div>Josh<br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 12:55 PM, Clayton Morrison <span dir="ltr"><<a href="mailto:clayton@cs.arizona.edu">clayton@cs.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word">Hi Josh,<div><br></div><div>More progress: following your suggestion of make clean/VERBOSE=1 make inside roscpp has definitely helped.  I found and reinstalled universal variants in port for boost and log4cxx, and I was able to manually rebuild xmlrpc as 32bit within it's 3rd party package.</div>

<div><br></div><div>The four remaining libs to rebuild are rospack, rosstack, roslib and rosconsole.  I have the following rosconfig.make file in <ROSROOT>:</div><div><br></div><div><div class="im"><div><span style="white-space:pre-wrap">        </span>cmake_minimum_required(VERSION 2.4.6)</div>

</div><div class="im"><div><span style="white-space:pre-wrap">      </span>set(ROS_COMPILE_FLAGS "${ROS_COMPILE_FLAGS} -arch i386")</div></div><div class="im"><div><span style="white-space:pre-wrap">   </span>set(ROS_LINK_FLAGS "${ROS_LINK_FLAGS} -arch i386")</div>

</div></div><div><br></div><div>roslib and rosconsole seem to get the specified flags, but rospack and rosstack don't (I am doing make clean/VERBOSE=1 make in each individual package).  I even put rosconfig.make inside the rospack package root.</div>

<div><br></div><div>What do I need to do to get rospack and rosstack to see the -arch 1386 flags?</div><div><br></div><div>Thanks!</div><div><br></div><div>-Clay</div><div><br><div><div><div></div><div class="h5"><div>On Aug 1, 2010, at 11:38 PM, Josh Faust wrote:</div>

<br></div></div><blockquote type="cite"><div><div></div><div class="h5"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">

Hi Josh,<div><br></div><div>Thank you for the help!  (I'm Clay, btw -- forgot to sign my previous email; I cc'd Tom and Ian, who are helping me.)</div>

</div></blockquote><div><br></div><div>Whoops, sorry!  Must have seen the cc and didn't scroll up all the way to see if I got the right name.</div><div> </div><div>It sounds like your problems definitely stem from the rest of ROS being built 64-bit, since the error message implies that it couldn't load the library, and libros.dylib is an x86_64 dylib.  If you've followed the rest of the instructions for rosconfig.cmake (you'll probably want to create/edit <span style="font-family:Helvetica, Verdana, Arial, 'Lucida Grande', sans-serif;font-size:15px">$(ROS_ROOT)/rosconfig.cmake)</span>, you may just need to "rosmake --pre-clean <your package>"</div>



<div><br></div><div>If that doesn't work you can check if the compile flags are getting through by going to the roscpp directory (roscd roscpp) and doing a make clean/VERBOSE=1 make in there.</div><div><br></div><div>



If you start using any of the 3rdparty packages that don't use our build system (like bullet) you may run into more problems, as I'm not sure they follow the rosconfig.cmake's definitions.</div><div><br></div>



<div>Josh</div></div></div></div><div class="im">
_______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org" target="_blank">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></blockquote></div><div class="im"><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>

Clayton T. Morrison</div><div>Assistant Research Professor</div><div>University of Arizona</div><div>web: <a href="http://cs.arizona.edu/~clayton/" target="_blank">http://cs.arizona.edu/~clayton/</a></div><div>email: <a href="mailto:clayton@cs.arizona.edu" target="_blank">clayton@cs.arizona.edu</a></div>

<div>office: 520-621-6609</div><div><br></div></span><br>
</div>
<br></div></div></div><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></blockquote></div><br></div>