Problem: Under VS 2003 the typedef in a method is not safty :-( have a look at my changes.
2008/8/19 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]> > it builds, but the shadow doesn't work. sorry > > C:\Dokumente und Einstellungen\adegli>"C:\Dokumente und > Einstellungen\adegli\Desktop\osgShadowViewDependent\osgShadowViewDependent\Release\VSP.exe" > --SingleThreaded chess.ive --lispsm > VERTEX glCompileShader "" FAILED > VERTEX Shader "" infolog: > ERROR: 0:28: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:37: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:38: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:39: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:42: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:44: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:47: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:62: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:63: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:64: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:84: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:93: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:94: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:95: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:107: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:108: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:109: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:123: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:125: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:132: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:133: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:134: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:166: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 0:168: '[' : array must be redeclared with a size before being > indexed with a variable > ERROR: 24 compilation errors. No code generated. > > > glLinkProgram "" FAILED > Program "" infolog: > Link failed. All shader objects have not been successfully compiled. > > 2008/8/19 Jean-Sébastien Guay <[EMAIL PROTECTED]> > > Hi Adrian, Wojtek, >> >> FYI, to open the solution file Wojtek provided (which is a VS2008 >> solution) in VS2005, I just opened the .sln and .prj files in a text editor >> and modified their headers to match VS2005 project files (which is generally >> just changing the version to a lower one...). Perhaps this could be done to >> open the solution/project in VS2003 as well, thus removing the need to >> create a new solution/project and lose the settings that Wojtek had in the >> original files? >> >> I'm not sure if this would work, but for me since between 2005 and 2008 >> there didn't seem to be any major change in the solution/project file >> format, it worked fine. >> >> Also, I agree with Wojtek that there isn't much incentive to make CMake >> project files for this, since it's likely going to be integrated into the >> existing osgShadow nodekit soon. For simple testing it's not necessary. >> >> J-S >> -- >> ______________________________________________________ >> Jean-Sebastien Guay [EMAIL PROTECTED] >> http://www.cm-labs.com/ >> http://whitestar02.webhop.org/ >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> > > > > -- > ******************************************** > Adrian Egli > -- ******************************************** Adrian Egli
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
