Re: [PyOpenGL-Users] Shader linking problems...
Brought to you by:
mcfletch
From: Gijs <in...@bs...> - 2009-03-20 08:33:09
|
On 3/18/09 3:32 PM, Nick Klepinger wrote: > > > On Wed, Mar 18, 2009 at 7:15 AM, Mike C. Fletcher > <mcf...@vr... <mailto:mcf...@vr...>> wrote: > > Gijs wrote: > > On 3/18/09 2:36 PM, Nick Klepinger wrote: > > ... > > This is the what shows in the info log: > > Fragment shader(s) failed to link, vertex shader(s) > failed to link. > ERROR: 0:1: 'v' : syntax error parse error > ERROR: compilation errors. No code generated. > > Definitely sounds like you're passing a string instead of a > list-of-strings. > > Enjoy, > > Mike > > -- > ________________________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://www.vrplumber.com > http://blog.vrplumber.com > > > > Sure enough, that did the trick. Interesting it runs perfectly fine > on Linux. Thanks for all the help everyone! > > -bodiddlie Would be nice if PyOpenGL could warn us about it. The last time I had this problem, it took me almost 2 days to find the cause. Since it was running without any errors on Mac OS X and only begin to throw errors at me in WinXP when I upgraded my videocard/updated videocard driver. Linux didn't like it either. Since the error itself doesn't quite explain what is going on, I only found the problem after having checked every status of the compile/link/validate-step. Regards, Gijs |