rviz crash on macOS Sierra
Hi,
After lots of tweaks, I've finally made it to setup ROS Kinetic on my MacBook Air, with mac OS Sierra.
Everything works fine except rviz
. It crashes on startup. I tried with this command:
rosrun rviz rviz -l
And the output is:
[ INFO] [1482424510.671672000]: rviz version 1.12.4
[ INFO] [1482424510.671803000]: compiled against Qt version 5.7.0
[ INFO] [1482424510.671830000]: compiled against OGRE version 1.7.4 (Cthugha)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ INFO] [1482424511.705687000]: Creating resource group General
[ INFO] [1482424511.705788000]: Creating resource group Internal
[ INFO] [1482424511.705827000]: Creating resource group Autodetect
[ INFO] [1482424511.705940000]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[ INFO] [1482424511.706240000]: Registering ResourceManager for type Material
[ INFO] [1482424511.706289000]: Registering ResourceManager for type Mesh
[ INFO] [1482424511.706321000]: Registering ResourceManager for type Skeleton
[ INFO] [1482424511.706382000]: MovableObjectFactory for type 'ParticleSystem' registered.
[ INFO] [1482424511.706445000]: OverlayElementFactory for type Panel registered.
[ INFO] [1482424511.706476000]: OverlayElementFactory for type BorderPanel registered.
[ INFO] [1482424511.706510000]: OverlayElementFactory for type TextArea registered.
[ INFO] [1482424511.706549000]: Registering ResourceManager for type Font
[ INFO] [1482424511.706587000]: ArchiveFactory for archive type FileSystem registered.
[ INFO] [1482424511.706612000]: ArchiveFactory for archive type Zip registered.
[ INFO] [1482424511.706637000]: DDS codec registering
[ INFO] [1482424511.706691000]: FreeImage version: 3.17.0
[ INFO] [1482424511.706724000]: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[ INFO] [1482424511.706908000]: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
[ INFO] [1482424511.706943000]: Registering ResourceManager for type HighLevelGpuProgram
[ INFO] [1482424511.707169000]: Registering ResourceManager for type Compositor
[ INFO] [1482424511.707464000]: MovableObjectFactory for type 'Entity' registered.
[ INFO] [1482424511.707513000]: MovableObjectFactory for type 'Light' registered.
[ INFO] [1482424511.707546000]: MovableObjectFactory for type 'BillboardSet' registered.
[ INFO] [1482424511.707575000]: MovableObjectFactory for type 'ManualObject' registered.
[ INFO] [1482424511.707607000]: MovableObjectFactory for type 'BillboardChain' registered.
[ INFO] [1482424511.707636000]: MovableObjectFactory for type 'RibbonTrail' registered.
[ INFO] [1482424511.707859000]: *-*-* OGRE Initialising
[ INFO] [1482424511.707901000]: *-*-* Version 1.7.4 (Cthugha)
[ INFO] [1482424511.707944000]: Loading library /usr/local/Cellar/ogre/1.7.4/lib/libRenderSystem_GL
[ INFO] [1482424511.715310000]: Installing plugin: GL RenderSystem
[ INFO] [1482424511.715470000]: OpenGL Rendering Subsystem created.
[ INFO] [1482424511.715731000]: Plugin successfully installed
[ INFO] [1482424511.715784000]: Loading library /usr/local/Cellar/ogre/1.7.4/lib/libPlugin_OctreeSceneManager
[ INFO] [1482424511.722139000]: Installing plugin: Octree & Terrain Scene Manager
[ INFO] [1482424511.722224000]: Plugin successfully installed
[ INFO] [1482424511.722266000]: Loading library /usr/local/Cellar/ogre/1.7.4/lib/libPlugin_ParticleFX
[ INFO] [1482424511.728896000]: Installing plugin: ParticleFX
[ INFO] [1482424511.728966000]: Particle ...
Still waiting for helps~~~
It may very well be that you are running into an issue that not many / no one else is running into to. That could explain the lack of response.
@ZOU Lu: I've moved your answer to your OP, as it was not really an answer, but an update.
It would be great if you posted your tweaks, I'm still struggling to get kinetic installed under Sierra.
@Gorbag I actually fixed almost every issues, including rviz. But I found it's still inconvenient to run ROS on macOS, such as manually compile all packages from src. I recommend you to try install Ubuntu as a virtual machine on your Mac. Using a light weight WM like i3wm, it should run fast.
I don't remember how to tweak them all, some tweaks were ugly, so the best way would be run a virtual machine. Developing under Ubuntu is like a breeze. I don't like Ubuntu actually, but it do improved my productivity. By the way, QtCreator is another Swiss Knife you should give a try.