Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard

Top Page
Attachments:
Message as email
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard
Ok well this is the status so far then - 1. OGRE can only build in 32-bit mode because of Carbon dependencies.2.  The ROS libraries (librosconsole.dylib etc)  build in 64-bit mode.  As such these are incompatible. 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?  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. Until then, looks like we're stuck.   ~Deepak  Nicholas Butko <>Sent by: 10/05/2010 04:28 PMPlease respond toUser discussions  To   User discussions <> cc    bcc   Deepak Ramachandran/HRA/ASC/HONDA Subject   Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard  Deepak, 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. --Nick On Oct 5, 2010, at 4:22 PM, wrote:tip:  download wxWidgets-2.9 and make sure you configure it with --with_macosx_cocoa or whatever the option is exactly.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.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 Carbonwhich we dont really care about I think.~DeepakPatrick Doyle <>Sent by: 10/05/2010 04:09 PMPlease respond toUser discussions To   User discussions <>cc   bcc   Deepak Ramachandran/HRA/ASC/HONDASubject   Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard  On Tue, Oct 5, 2010 at 6:20 PM, Nicholas Butko <> wrote:> Easier is to just go with the flow, and make everything 64-bit. This is why you would want to circumvent> macports, and install wx* 2.9. You can do this through macports for wxWidgetsWell, I just tried it through macports for wxWidgets, and it didn't work:$ sudo port install wxwidget-devel +universal...Error: Target org.macports.build returned: shell command failedLog for wxWidgets-devel is at:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/main.logError: Status 1 encountered during processing.Looking in the logfile, I see::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./.pch/wxprec_monodll/wx/wxprec.h.gch wx/wxprec.h /usr/bin/g++-4.2-mmacosx-version-min=10.6 -I./.pch/wxprec_monodll -D__WXOSX_COCOA__-DWXBUILDING      -I../src/regex  -DwxUSE_BASE=1 -DWXMAKINGDLL-I../src/stc/scintilla/include -I../src/stc/scintilla/src -D__WX__-DSCI_LEXER -DLINK_LEXERS -dynamic -fPIC -DPIC -Wall -Wundef-Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual-Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64-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-I../include -I/opt/local/include -I/opt/local/include -DWX_PRECOMP-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -O2 -archx86_64 -arch i386 -fno-common -fvisibility=hidden-fvisibility-inlines-hidden:info:build g++-4.2: -E, -S, -save-temps and -M options are notallowed with multiple -arch flagsSo I think I'm going to try downloading and installing wxWidgets byhand, as 64-bit now.  Any tips would be welcome.  In lieu of tips,I'll just muddle through.--wpd_______________________________________________ros-users mailing listhttps://code.ros.org/mailman/listinfo/ros-users_______________________________________________ros-users mailing listhttps://code.ros.org/mailman/listinfo/ros-users_______________________________________________ros-users mailing listhttps://code.ros.org/mailman/listinfo/ros-users