Cannot locate resource DualQuaternion_Common.glsl

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
papaonn
Kobold
Posts: 30
Joined: Wed Nov 13, 2013 5:59 pm
x 1

Cannot locate resource DualQuaternion_Common.glsl

Post by papaonn »

Hi all,

now i am capable of compiling the ogre tutorial framework,
but then the program jump out an error stating

"Cannot Locate resource DualQuaternion_Common.glsl", w

hat does it mean and how can i fix this problem?
User avatar
tod
Troll
Posts: 1394
Joined: Wed Aug 02, 2006 9:41 am
Location: Bucharest
x 94
Contact:

Re: Cannot locate resource DualQuaternion_Common.glsl

Post by tod »

You have a ".program" file that wants that glsl file. The program file is included in a material file. You can remove the reference if you don't need it.
papaonn
Kobold
Posts: 30
Joined: Wed Nov 13, 2013 5:59 pm
x 1

Re: Cannot locate resource DualQuaternion_Common.glsl

Post by papaonn »

Hi first of all thank you for reply =)

I couldn't find any .program / material file, because the original tutorial framework only consist of 4 files
(BaseApplication.h, BaseApplication.cpp, TutorialApplication.h, TutorialApplication.cpp)

Could you help me with this issue =)

Thanks!
User avatar
tod
Troll
Posts: 1394
Joined: Wed Aug 02, 2006 9:41 am
Location: Bucharest
x 94
Contact:

Re: Cannot locate resource DualQuaternion_Common.glsl

Post by tod »

An usual ogre application also has a "Media" folder for resources (like models, and textures, and materials, etc). You can see the location of these folders in the resources.cfg file, found next to your executable.
papaonn
Kobold
Posts: 30
Joined: Wed Nov 13, 2013 5:59 pm
x 1

Re: Cannot locate resource DualQuaternion_Common.glsl

Post by papaonn »

Hi Tod,

Thanks for your patience,

I am using VS2012, so there's no prebuild stuffs for me,
i am including 4 files mentioned earlier into VS,
and could you please show me how to include the material files into the VS?

I had found the material folders from the media in ogresdk, do i just copy and paste the folder into my project folder?
or do i actually need to do some other stuffs before this?

I am a bit confused and would like a more detail info and step by step guide to get this thing running.

Thank you very much =)
User avatar
tod
Troll
Posts: 1394
Joined: Wed Aug 02, 2006 9:41 am
Location: Bucharest
x 94
Contact:

Re: Cannot locate resource DualQuaternion_Common.glsl

Post by tod »

You don't include anything into VS.
The simple way is to edit the resources.cfg file, that you copied next to the executable, and make it point to the Media folder in samples. The file should already contain the paths, so you just have to update them.
Post Reply