Game Engine Forum - Grit Open Source Streaming Game Engine
Site Header
It is currently Mon Jul 24, 2017 2:39 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Running on Ubuntu
PostPosted: Thu Jun 29, 2017 9:26 am 
Offline
Newbie

Joined: Thu Jun 29, 2017 9:23 am
Posts: 1
I successfully compiled GRIT on Ubuntu.

When I first ran it however, it came up with the following errors:

Creating resource group GRIT
Added resource location '.' of type 'FileSystem' to resource group 'GRIT' with recursive option
Parsing scripts for resource group GRIT
Parsing script dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/ShadowCaster.program
High-level program 'DeferredShading/Shadows/CasterVP_pGLSL' is not supported: Cannot locate resource ShadowCaster_vp.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/ShadowCaster.program(37): setting of constant failed
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/ShadowCaster.program(38): setting of constant failed
High-level program 'DeferredShading/Shadows/CasterFP_pGLSL' is not supported: Cannot locate resource ShadowCaster_fp.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/ShadowCaster.program(91): setting of constant failed
Parsing script dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program
High-level program 'DeferredShading/post/Ambient_ps_pGLSL' is not supported: Cannot locate resource Ambient_ps.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(42): setting of constant failed
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(43): setting of constant failed
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(44): setting of constant failed
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(45): Named constants have not been initialised, perhaps a compile error.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(46): Named constants have not been initialised, perhaps a compile error.
High-level program 'DeferredShading/post/ShowNormal_ps_pGLSL' is not supported: Cannot locate resource ShowNormal_ps.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(90): Named constants have not been initialised, perhaps a compile error.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(91): Named constants have not been initialised, perhaps a compile error.
High-level program 'DeferredShading/post/ShowDS_ps_pGLSL' is not supported: Cannot locate resource ShowDS_ps.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(131): Named constants have not been initialised, perhaps a compile error.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(132): Named constants have not been initialised, perhaps a compile error.
High-level program 'DeferredShading/post/ShowColour_ps_pGLSL' is not supported: Cannot locate resource ShowColour_ps.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(172): Named constants have not been initialised, perhaps a compile error.
High-level program 'DeferredShading/post/LightMaterial_vs_pGLSL' is not supported: Cannot locate resource LightMaterial_vs.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(225): setting of constant failed
High-level program 'DeferredShading/post/vs_pGLSL' is not supported: Cannot locate resource vs.glsl in resource group GRIT.
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(276): setting of constant failed
Compiler error: invalid parameters in dependencies/grit-ogre/Samples/Media/DeferredShadingMedia/deferred_post.program(277): Named constants have not been initialised, perhaps a compile error.
Parsing script dependencies/grit-ogre/Samples/Media/materials/scripts/DualQuaternion.program
TOP LEVEL ERROR: Internal error at: (engine/gfx/gfx.cpp:1098): Couldn't initialise graphics subsystem: FileNotFoundException: Cannot locate resource DualQuaternion_Common.glsl in resource group GRIT. in ResourceGroupManager::openResource at dependencies/grit-ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 708)


It's odd because the "DualQuaternion_Common.glsl" file does exist. From similar issues on Ogre forums, the solution seemed to be to add the folder location in the resources.cfg file but there is no such file in the GRIT version of Ogre.


Top
 Profile  
 
 Post subject: Re: Running on Ubuntu
PostPosted: Mon Jul 24, 2017 11:17 am 
Offline
Newbie

Joined: Fri Jul 26, 2013 5:30 am
Posts: 138
Come on to the irc chat we will help u


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Localized by MaĆ«l Soucaze © 2010 phpBB.fr