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

Nicholas Butko nbutko at ucsd.edu
Tue Oct 5 23:28:52 UTC 2010


Patrick, 

Follow the instructions in the .tar file located at  wxWidgets-2.9.1/docs/osx/install.txt, particularly the part about 

../configure --with-osx_cocoa

There is another config flag that is something like 

--disable-compat28

that may be helpful, but I didn't discover it until after I had to remove the 2.8 installs. See the "configure" file for the full list of configuration. You *may* want to try "--enable-universal_binary", which might build both i386 and x86_64 versions, but I didn't do this, and don't know how much it will help you. In my case, I was actually trying to keep it from building in 32 bit mode. 

Finally, like I said, I never got things working perfectly, so I can't guarantee that this won't be a dead end for you. 

--Nick 



On Oct 5, 2010, at 4:11 PM, Patrick Doyle wrote:

> On Tue, Oct 5, 2010 at 6:20 PM, Nicholas Butko <nbutko at ucsd.edu> 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 wxWidgets
> 
> Well, 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 failed
> Log for wxWidgets-devel is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-devel/main.log
> Error: 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 -arch
> x86_64 -arch i386 -fno-common -fvisibility=hidden
> -fvisibility-inlines-hidden
> :info:build g++-4.2: -E, -S, -save-temps and -M options are not
> allowed with multiple -arch flags
> 
> So I think I'm going to try downloading and installing wxWidgets by
> hand, as 64-bit now.  Any tips would be welcome.  In lieu of tips,
> I'll just muddle through.
> 
> --wpd
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users




More information about the ros-users mailing list