gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
709 stars 269 forks source link

Windows installation issue #2620

Open avanmalleghem opened 1 month ago

avanmalleghem commented 1 month ago

Environment

``` 14:45:10: Creating resource group General 14:45:10: Creating resource group Internal 14:45:10: Creating resource group Autodetect 14:45:10: SceneManagerFactory for type 'DefaultSceneManager' registered. 14:45:10: Registering ResourceManager for type Material 14:45:10: Registering ResourceManager for type Mesh 14:45:10: Registering ResourceManager for type Mesh2 14:45:10: Registering ResourceManager for type OldSkeleton 14:45:10: MovableObjectFactory for type 'ParticleSystem' registered. 14:45:10: ArchiveFactory for archive type FileSystem registered. 14:45:10: ArchiveFactory for archive type Zip registered. 14:45:10: ArchiveFactory for archive type EmbeddedZip registered. 14:45:10: DDS codec registering 14:45:10: FreeImage version: 3.18.0 14:45:10: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 14:45:10: 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,psb,cut,xbm,xpm,gif,hdr,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 14:45:10: ETC codec registering 14:45:10: OITD codec registering 14:45:10: Registering ResourceManager for type HighLevelGpuProgram 14:45:10: MovableObjectFactory for type 'Decal' registered. 14:45:10: MovableObjectFactory for type 'InternalCubemapProbe' registered. 14:45:10: MovableObjectFactory for type 'Entity' registered. 14:45:10: MovableObjectFactory for type 'Item' registered. 14:45:10: MovableObjectFactory for type 'Light' registered. 14:45:10: MovableObjectFactory for type 'Rectangle2Dv2' registered. 14:45:10: MovableObjectFactory for type 'BillboardSet' registered. 14:45:10: MovableObjectFactory for type 'ManualObject2' registered. 14:45:10: MovableObjectFactory for type 'BillboardChain' registered. 14:45:10: MovableObjectFactory for type 'RibbonTrail' registered. 14:45:10: MovableObjectFactory for type 'WireAabb' registered. 14:45:10: *-*-* OGRE Initialising 14:45:10: *-*-* Version 2.3.3 (Daedalus) 14:45:10: OverlayElementFactory for type Panel registered. 14:45:10: OverlayElementFactory for type BorderPanel registered. 14:45:10: OverlayElementFactory for type TextArea registered. 14:45:10: Registering ResourceManager for type Font 14:45:10: Loading library C:\Users\gazebouser\miniconda3\envs\gz-ws\Library\bin\OGRE-Next\RenderSystem_GL3Plus.dll 14:45:10: Installing plugin: GL 3+ RenderSystem 14:45:10: OpenGL 3+ Rendering Subsystem created. 14:45:10: OGRE EXCEPTION(3:RenderingAPIException): WGL_ARB_create_context extension required for OpenGL 3.3. Update your graphics card driver, or your card doesn't support OpenGL 3.3 in Win32GLSupport::initialiseWGL at D:\bld\ogre-next_1724198948908\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32GLSupport.cpp (line 628) 14:45:10: Loading library C:\Users\gazebouser\miniconda3\envs\gz-ws\Library\bin\OGRE-Next\Plugin_ParticleFX.dll 14:45:10: Installing plugin: ParticleFX 14:45:10: Particle Emitter Type 'Point' registered 14:45:10: Particle Emitter Type 'Box' registered 14:45:10: Particle Emitter Type 'Ellipsoid' registered 14:45:10: Particle Emitter Type 'Cylinder' registered 14:45:10: Particle Emitter Type 'Ring' registered 14:45:10: Particle Emitter Type 'HollowEllipsoid' registered 14:45:10: Particle Affector Type 'LinearForce' registered 14:45:10: Particle Affector Type 'ColourFader' registered 14:45:10: Particle Affector Type 'ColourFader2' registered 14:45:10: Particle Affector Type 'ColourImage' registered 14:45:10: Particle Affector Type 'ColourInterpolator' registered 14:45:10: Particle Affector Type 'Scaler' registered 14:45:10: Particle Affector Type 'Rotator' registered 14:45:10: Particle Affector Type 'DirectionRandomiser' registered 14:45:10: Particle Affector Type 'DeflectorPlane' registered 14:45:10: Plugin successfully installed ```

Description

Steps to reproduce

  1. Installation following https://gazebosim.org/docs/ionic/install_windows_src/
  2. Crash at step "launch gui"

Output

image

@traversaro

avanmalleghem commented 1 month ago

I think the issue is related to OpenGL version. I found "Google's P100 provides OpenGL... but V1.1 only.". Will try with another GPU...

traversaro commented 1 month ago

Indeed the relevant error in the ogre.log is:

14:45:10: OGRE EXCEPTION(3:RenderingAPIException): WGL_ARB_create_context extension required for OpenGL 3.3. Update your graphics card driver, or your card doesn't support OpenGL 3.3 in Win32GLSupport::initialiseWGL at D:\bld\ogre-next_1724198948908\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32GLSupport.cpp (line 628) 14:45:10: Loading library C:\Users\gazebouser\miniconda3\envs\gz-ws\Library\bin\OGRE-Next\Plugin_ParticleFX.dll 14:45:10: Installing plugin: ParticleFx