[Pkg-games-ubuntu] [Bug 993773] Re: Error in RTShaderSystem

Manuel A. Fernandez Montecelo 993773 at bugs.launchpad.net
Sat May 5 11:20:08 UTC 2012


Hi,

CG is disabled in the OGRE package of Debian (and consequently in
Ubuntu, since they take my package directly) to avoid the complications
and packaging burdens of nvidia CG libraries being non-free.

I also seems that the Debian package nvidia-cg-toolkit is badly outdated
and nobody takes care of it, so even if desired, activating it would
take some effort and would need to resurrect the nvidia-cg-toolkit
package to be useful.

So, in summary, I have no intention to enable support for it in the
Debian package.  Maybe somebody will be interested in modifying the
package to include CG support it in Ubuntu, I don't know.

It's easy to take the deb-src package and recompile it in your system,
if you're interested in CG support.  If you have the CG libraries
installed and recompile, probably they're even auto-detected and OGRE
builds support for it automatically.

Cheers.

-- 
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to ogre in Ubuntu.
https://bugs.launchpad.net/bugs/993773

Title:
  Error in RTShaderSystem

Status in “ogre” package in Ubuntu:
  New

Bug description:
  INFORMATION:
  $ lsb_release -rd
  Description:	Ubuntu 12.04 LTS
  Release:	12.04

  $ apt-cache policy libogre-dev
  libogre-dev:
    Instalados: 1.7.4-3
    Candidato:  1.7.4-3
    Tabla de versión:
   *** 1.7.4-3 0
          500 http://ch.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
          100 /var/lib/dpkg/status

  
  PROBLEM:
  I tried to tun the BasicTutorial 3 from the OGRE website: http://www.ogre3d.org/tikiwiki/BasicTutorial3Source

  I can compile without problems, but when I run the program I get the
  errors described at the bottom and I can see a landscape but wihtout
  textures . The sky is ok, but the landscape is all grey and I know
  that this shouldn't be like that. The same happens if I try to run the
  Terrain demo from the SampleBrowser (see attached screenshot).

  ...
  Parsing script RTShaderSystem.material
  Compiler error: unknown error in RTShaderSystem.material(23): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(52): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(146): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(162): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
  Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
  ...

  *** Initializing OIS ***
  High-level program OgreTerrain/205920841/sm2/vp/hlod/hlod encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/vp/hlod/hlod in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  High-level program OgreTerrain/205920841/sm2/fp/hlod encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/fp/hlod in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  High-level program OgreTerrain/205920841/sm2/vp/llod/llod encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/vp/llod/llod in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  High-level program OgreTerrain/205920841/sm2/fp/llod encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/fp/llod in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  WARNING: material OgreTerrain/205920841 has no supportable Techniques and will be blank. Explanation: 
  Pass 0: Vertex program OgreTerrain/205920841/sm2/vp/hlod/hlod cannot be used - compile error.
  Pass 0: Vertex program OgreTerrain/205920841/sm2/vp/llod/llod cannot be used - compile error.

  High-level program OgreTerrain/205920841/sm2/vp/comp/comp encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/vp/comp/comp in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  High-level program OgreTerrain/205920841/sm2/fp/comp encountered an error during loading and is thus not supported.
  OGRE EXCEPTION(3:RenderingAPIException): Failed to preprocess shader OgreTerrain/205920841/sm2/fp/comp in loadFromSource at /build/buildd/ogre-1.7.4/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp (line 155)
  WARNING: material OgreTerrain/205920841/comp has no supportable Techniques and will be blank. Explanation: 
  Pass 0: Vertex program OgreTerrain/205920841/sm2/vp/comp/comp cannot be used - compile error.

  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ogre/+bug/993773/+subscriptions



More information about the Pkg-games-ubuntu mailing list