-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ogre exception duplicated resource name #1049
Comments
Can you open a pull request to this effect. It sounds like a worthwhile change. |
I'm still seeing this error despite recompiling after applying #1063. My OGRE version is 1.10.11 (Xalafu), and I'm using an older rviz (version 1.11.8 on indigo). The exact error I get is:
I have built my OGRE and rviz from source with the stereo flags on. I use this command to compile rviz: |
Fixed via #1063. |
…s-visualization#1055) Signed-off-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit 0f6b3ad9c78c97d702f8f52b31e7cb46a64b8d35) Co-authored-by: Alejandro Hernández Cordero <[email protected]>
This applies to a non-standard configuration (Ogre 1.10 on OSX and rviz branch osx_ogre_1_9), but it seems like it might apply more broadly so I am reporting.
After successful compilation, running rviz gives the error:
OGRE EXCEPTION(4:ItemIdentityException): Resource with the name rviz/glsl120/include/pass_depth.vert already exists. in ResourceManager::add at /tmp/ogre/OgreMain/src/OgreResourceManager.cpp (line 168)
Looking at the GLSL .program files, there do appear to be 2 instances of the same name,
rviz/glsl120/include/pass_depth.vert
, inglsl120 and gsl120/nogp.
My naive workaround was to rename the resource in
glsl120/nogp
to berviz/glsl120/nogp/pass_depth.vert
, which resolved the exception and rviz seems to be working fine.The text was updated successfully, but these errors were encountered: