Home > Cannot Locate > Cannot Locate Resource Shadows.glsl

Cannot Locate Resource Shadows.glsl

See the next section for more information on this. New Project Create a new Win32 project (File -> New -> Project): Make sure that Windows Application is selected andEmpty Project is checked: Tutorial Framework: Download the Ogre Wiki Tutorial Framework thebaldwin . in GLSLProgram::compile at /home/dermont/Development/OGRE/src/v1-9/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp (line 257)02:21:05: GLSL compile log: FFPLib_Transform_VS(0) : error C0000: syntax error, unexpected $end at token ""02:21:05: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program FFPLib_Transform_VS failed to compile. have a peek here

Logged Lastmerlin on February 01, 2011, 06:41:30 PM Reply #3 Lastmerlin Administrator Sr. in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in DualQuaternion.program(139): setting of constant failed02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in ResourceGroupManager::openResource at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756)02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. kabbotta . dig this

If you have trouble getting the CEGUi application running, asking in their IRC channel is also a very good idea - they are very friendly and supportive there. One reason this may be happening is that Ogre expects certain files to be in the same directory as the executable. Member Posts: 64 Karma: +0/-0 RE: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png You need to compile with debug symbols (-g) then run in gdb to see the cause of the segmentation

The missing icon file should not cause it.--trapdoor Logged PaddyMac on February 01, 2011, 06:17:48 PM Reply #2 PaddyMac Gamer, computer nerd, and religious nut Newbie Posts: 26 Karma: +0/-0 RE: It seems that game crashes on the first frame ogre tries to render.Although it may not be the most thorough of tests, I think I've been able to validate that my Edit: If you are running Ogre 1.9 and are getting a runtime error saying: "Cannot locate resource shadows.glsl in resource group Popular or any...", you have to edit "resources_d.cfg" and "resources.cfg" See compile log above for details.

Username: Password: 1 Hour 1 Day 1 Week 1 Month Forever Home Wiki Bugs Help Search Calendar Login Register Summoning Wars Forum » Users » Bug Reports » OGRE EXCEPTION(6:FileNotFoundException): First, make sure you have ‘plugins.cfg' and ‘resources.cfg' in the same directory as your exectuable. Linked ApplicationsLoading…JIRA DashboardsProjectsIssuesCaptureGetting started Give feedback to Atlassian Help JIRA core help Keyboard shortcuts About JIRA JIRA credits Tempo Help Log in OGREOGRE-181On Linux you can't run SampleBrowser from install dir. If you have trouble getting the CEGUi application running, asking in their IRC channel is also a very good idea - they are very friendly and supportive there.LOL.

in GLSLProgram::compile at /home/dermont/Development/OGRE/src/v1-9/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp (line 257)02:21:05: GLSL compile log: FFPLib_Transform_VS(0) : error C0000: syntax error, unexpected $end at token ""02:21:05: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program FFPLib_Transform_VS failed to compile. in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in DualQuaternion.program(141): setting of constant failed02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. The exact solution will vary based on which version of Visual Studio you are using, but the basic steps should be similar. Express and higher.

I bet the real issue can be found somewhere therein. Be sure to check what the Command field is before doing this. in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in StdQuad_vp.program(66): setting of constant failed02:21:05: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource StdQuad_Tex2_vp.glsl in resource group Popular or any other group. in ResourceGroupManager::openResource at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756)02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error.

The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License. navigate here Style (WIP) by jedd and Necrod, based on Raevol's Wordpress theme and we_universal by Weeb. Logged Lastmerlin on February 08, 2011, 11:44:15 AM Reply #9 Lastmerlin Administrator Sr. in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in DualQuaternion.program(143): setting of constant failed02:21:05: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion_TwoPhaseShadowCaster.glsl in resource group Popular or any other group.

The shader programs etc are never found. Inferior 1 [process 24109] will be killed.Quit anyway? (y or n) [email protected] ~/sumwars_0-5-4_src $ Logged Lastmerlin on February 07, 2011, 10:03:40 AM Reply #5 Lastmerlin Administrator Sr. Internal format is PF_A8R8G8B8,2x32x1.02:21:05: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource FFPLib_Transform.glsl in resource group General or any other group. Check This Out in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in DualQuaternion.program(110): setting of constant failed02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error.

in ResourceGroupManager::openResource at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756)02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in ResourceGroupManager::openResource at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756)02:21:05: High-level program Ogre/DualQuaternionHardwareSkinningTwoWeightsTwoPhaseShadowCasterGLSL encountered an error during loading and is thus not supported.OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion_TwoPhaseShadowCaster.glsl in resource group Popular or any other in ResourceGroupManager::openResource at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756)02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error.

That's it!

Both are simple text files. in GLSLProgram::compile at /home/dermont/Development/OGRE/src/v1-9/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp (line 257)02:21:05: GLSL compile log: FFPLib_Transform_VS(0) : error C0000: syntax error, unexpected $end at token ""02:21:05: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program FFPLib_Transform_VS failed to compile. If you are using Ogre >1.9, also add " OgreOverlay.lib". in GpuProgramParameters::_findNamedConstantDefinition at /home/dermont/Development/OGRE/src/v1-9/OgreMain/src/OgreGpuProgramParams.cpp (line 1625)02:21:05: Compiler error: invalid parameters in DualQuaternion.program(111): setting of constant failed02:21:05: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error.

in GLSLProgram::compile at /home/dermont/Development/OGRE/src/v1-9/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp (line 257)02:21:05: Parsing script StdQuad_vp.program02:21:05: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource StdQuad_vp.glsl in resource group Popular or any other group. in ResourceGroupManager::openResource at /media/sda1/>> Libraries/OGRE/src/v1-9/OgreMain/src/OgreResourceGroupManager.cpp (line 756) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Linux the media is installed under /share/OGRE/media, see InstallResources.cmake: elseif (UNIX) set(OGRE_MEDIA_PATH "share/OGRE/media") SampleContext.h adds the additional resource locations to ".../Media/.....". You can also search the forums . this contact form I also compiled the meshtest program, and it ran just fine at first but then segfaulted with "Mesh [MeshSerializer_v1.40] not found.".

I think I might be on the right track. in GLSLProgram::compile at /home/dermont/Development/OGRE/src/v1-9/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp (line 257)02:21:05: GLSL compile log: FFPLib_Transform_VS(0) : error C0000: syntax error, unexpected $end at token ""02:21:05: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program FFPLib_Transform_VS failed to compile. See compile log above for details. In best case, try to catch me on IRC with gdb still running, then I can tell you more commands to try depending on the output of bt.In general, this 100

See compile log above for details.