Closed rbeucher closed 7 years ago
Hi,
I faced an issue with the code not finding the shaders when importing glucifer:
Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.frag
The problem comes from the fact that I did compile Underworld in my "Developement" folder but moved the folder into another folder later on.
The shaders could not be found as the path is defined as absolute...
I suggest the path to the shaders should be relative...
Romain
Thanks Romain, just heading away for a couple of weeks but will fix this up when I get back.
Should be resolved with this change 8d754efbda4348436cafd913f11bdf544a8ddbb9
Hi,
I faced an issue with the code not finding the shaders when importing glucifer:
Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.frag
The problem comes from the fact that I did compile Underworld in my "Developement" folder but moved the folder into another folder later on.
The shaders could not be found as the path is defined as absolute...
I suggest the path to the shaders should be relative...
Romain