<P>Ok well this is the status so far then -</P><P> </P><P>1. OGRE can only build in 32-bit mode because of Carbon dependencies.</P><P>2.  The ROS libraries (librosconsole.dylib etc)  build in 64-bit mode.  As such these are incompatible.</P><P> </P><P>Does anyone know if it's possible to re-build all of ROS in 32-bit mode? Is there a system-wide way to set CMAKE_OSX_ARCHITECTURES to "i386" and rebuild? </P><P> </P><P>I've asked the OGRE people if building 64-bit OGRE binaries is possible but I'm guessing if it was easy it would already be available.</P><P> </P><P>Until then, looks like we're stuck.  </P><P> </P><P>~Deepak</P><P> </P><P> </P><P><BR><BR><FONT SIZE=2 STYLE=font-size:9pt><B>Nicholas Butko <nbutko@ucsd.edu></B></FONT><BR><FONT SIZE=2 STYLE=font-size:9pt>Sent by: ros-users-bounces@code.ros.org</FONT><BR><FONT SIZE=2 STYLE=font-size:9pt>10/05/2010 04:28 PMPlease respond toUser discussions </FONT><BR><BR> <FONT SIZE=2 STYLE=font-size:9pt>To</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>User discussions <ros-users@code.ros.org></FONT><BR> <FONT SIZE=2 STYLE=font-size:9pt>cc</FONT>   <BR> <FONT SIZE=2 STYLE=font-size:9pt>bcc</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>Deepak Ramachandran/HRA/ASC/HONDA</FONT><BR> <FONT SIZE=2 STYLE=font-size:9pt>Subject</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard</FONT><BR>  <BR><BR></P><P><FONT FACE="Monospace,Courier">Deepak, </FONT><BR><BR><FONT FACE="Monospace,Courier">I only installed wx*, not OGRE. Sorry, I can't say if any of this will actually help for OGRE -- just that it might be able to help with some problems with wx* which you guys seemed to be encountering with the OGRE build. </FONT><BR><BR><FONT FACE="Monospace,Courier">--Nick </FONT><BR><BR><BR><FONT FACE="Monospace,Courier">On Oct 5, 2010, at 4:22 PM, </FONT><FONT COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:DRamachandran@hra.com>DRamachandran@hra.com</A></U></FONT><FONT COLOR=BLACK FACE="Monospace,Courier"> wrote:</FONT><BR><BR><FONT FACE="Monospace,Courier">tip:  download wxWidgets-2.9 and make sure you configure it with --with_macosx_cocoa or whatever the option is exactly.</FONT><BR><BR><FONT FACE="Monospace,Courier">It will install in your /usr/local/bin. You might have to change the order of directories in your $PATH so that this directory is ahead of /opt/local/bin where macports' version is.</FONT><BR><BR><BR><FONT FACE="Monospace,Courier">Question for Nick: Did you build x86_64 binaries for OGRE ? Going by your explanation that would be needed to make  everything work together.  The documentation for OGRE say 386 is needed, but apparently only because OIS uses Carbon</FONT><BR><BR><FONT FACE="Monospace,Courier">which we dont really care about I think.</FONT><BR><BR><BR><FONT FACE="Monospace,Courier">~Deepak</FONT><BR><BR><BR><BR><BR><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier"><B>Patrick Doyle <</B></FONT><FONT SIZE=2 STYLE=font-size:8pt COLOR=BLUE FACE="Monospace,Courier"><B><U><A HREF=mailto:wpdster@gmail.com>wpdster@gmail.com</A></U></B></FONT><FONT SIZE=2 STYLE=font-size:8pt COLOR=BLACK FACE="Monospace,Courier"><B>></B></FONT><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">Sent by: </FONT><FONT SIZE=2 STYLE=font-size:8pt COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:ros-users-bounces@code.ros.org>ros-users-bounces@code.ros.org</A></U></FONT><FONT COLOR=BLACK><BR></FONT><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">10/05/2010 04:09 PMPlease respond toUser discussions </FONT><BR><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">To</FONT><FONT FACE="Monospace,Courier">   </FONT><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">User discussions <</FONT><FONT SIZE=2 STYLE=font-size:8pt COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:ros-users@code.ros.org>ros-users@code.ros.org</A></U></FONT><FONT SIZE=2 STYLE=font-size:8pt COLOR=BLACK FACE="Monospace,Courier">></FONT><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">cc</FONT><FONT FACE="Monospace,Courier">   </FONT><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">bcc</FONT><FONT FACE="Monospace,Courier">   </FONT><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">Deepak Ramachandran/HRA/ASC/HONDA</FONT><BR><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">Subject</FONT><FONT FACE="Monospace,Courier">   </FONT><FONT SIZE=2 STYLE=font-size:8pt FACE="Monospace,Courier">Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard</FONT><BR><FONT FACE="Monospace,Courier">  </FONT><BR><BR><FONT FACE="Monospace,Courier">On Tue, Oct 5, 2010 at 6:20 PM, Nicholas Butko <</FONT><FONT COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:nbutko@ucsd.edu>nbutko@ucsd.edu</A></U></FONT><FONT COLOR=BLACK FACE="Monospace,Courier">> wrote:</FONT><BR><FONT FACE="Monospace,Courier">> Easier is to just go with the flow, and make everything 64-bit. This is why you would want to circumvent</FONT><BR><FONT FACE="Monospace,Courier">> macports, and install wx* 2.9. You can do this through macports for wxWidgets</FONT><BR><BR><FONT FACE="Monospace,Courier">Well, I just tried it through macports for wxWidgets, and it didn't work:</FONT><BR><BR><FONT FACE="Monospace,Courier">$ sudo port install wxwidget-devel +universal</FONT><BR><FONT FACE="Monospace,Courier">...</FONT><BR><FONT FACE="Monospace,Courier">Error: Target org.macports.build returned: shell command failed</FONT><BR><FONT FACE="Monospace,Courier">Log for wxWidgets-devel is at:</FONT><BR><FONT FACE="Monospace,Courier">/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/main.log</FONT><BR><FONT FACE="Monospace,Courier">Error: Status 1 encountered during processing.</FONT><BR><BR><FONT FACE="Monospace,Courier">Looking in the logfile, I see:</FONT><BR><FONT FACE="Monospace,Courier">:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/work/wxWidgets-2.9.1/build/bk-make-pch</FONT><BR><FONT FACE="Monospace,Courier">./.pch/wxprec_monodll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/g++-4.2</FONT><BR><FONT FACE="Monospace,Courier">-mmacosx-version-min=10.6 -I./.pch/wxprec_monodll -D__WXOSX_COCOA__</FONT><BR><FONT FACE="Monospace,Courier">-DWXBUILDING      -I../src/regex  -DwxUSE_BASE=1 -DWXMAKINGDLL</FONT><BR><FONT FACE="Monospace,Courier">-I../src/stc/scintilla/include -I../src/stc/scintilla/src -D__WX__</FONT><BR><FONT FACE="Monospace,Courier">-DSCI_LEXER -DLINK_LEXERS -dynamic -fPIC -DPIC -Wall -Wundef</FONT><BR><FONT FACE="Monospace,Courier">-Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual</FONT><BR><FONT FACE="Monospace,Courier">-Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64</FONT><BR><FONT FACE="Monospace,Courier">-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/work/wxWidgets-2.9.1/build/lib/wx/include/osx_cocoa-unicode-2.9</FONT><BR><FONT FACE="Monospace,Courier">-I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP</FONT><BR><FONT FACE="Monospace,Courier">-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -O2 -arch</FONT><BR><FONT FACE="Monospace,Courier">x86_64 -arch i386 -fno-common -fvisibility=hidden</FONT><BR><FONT FACE="Monospace,Courier">-fvisibility-inlines-hidden</FONT><BR><FONT FACE="Monospace,Courier">:info:build g++-4.2: -E, -S, -save-temps and -M options are not</FONT><BR><FONT FACE="Monospace,Courier">allowed with multiple -arch flags</FONT><BR><BR><FONT FACE="Monospace,Courier">So I think I'm going to try downloading and installing wxWidgets by</FONT><BR><FONT FACE="Monospace,Courier">hand, as 64-bit now.  Any tips would be welcome.  In lieu of tips,</FONT><BR><FONT FACE="Monospace,Courier">I'll just muddle through.</FONT><BR><BR><FONT FACE="Monospace,Courier">--wpd</FONT><BR><FONT FACE="Monospace,Courier">_______________________________________________</FONT><BR><FONT FACE="Monospace,Courier">ros-users mailing list</FONT><BR><FONT COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:ros-users@code.ros.org>ros-users@code.ros.org</A></U></FONT><FONT COLOR=BLACK><BR></FONT><FONT COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=https://code.ros.org/mailman/listinfo/ros-users>https://code.ros.org/mailman/listinfo/ros-users</A></U></FONT><FONT COLOR=BLACK><BR></FONT><FONT FACE="Monospace,Courier">_______________________________________________</FONT><BR><FONT FACE="Monospace,Courier">ros-users mailing list</FONT><BR><FONT COLOR=BLUE FACE="Monospace,Courier"><U><A HREF=mailto:ros-users@code.ros.org>ros-users@code.ros.org</A></U></FONT><FONT COLOR=BLACK><BR></FONT><FONT FACE="Monospace,Courier"><A HREF=https://code.ros.org/mailman/listinfo/ros-users>https://code.ros.org/mailman/listinfo/ros-users</A></FONT><BR><FONT FACE="Monospace,Courier">_______________________________________________<BR>ros-users mailing list<BR>ros-users@code.ros.org<BR><A HREF=https://code.ros.org/mailman/listinfo/ros-users>https://code.ros.org/mailman/listinfo/ros-users</A></FONT><BR></P>